Textile industry default rate prediction method, device, storage medium and processor
By using structured data and multi-level default rate prediction models in the textile industry, the problem of inaccurate loan risk assessment in the textile industry is solved, accurate prediction of the default rate of fabric buyers is achieved, and the mean square error is reduced.
Patent Information
- Application Number
- CN202110550772.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-18
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-05-18
AI Technical Summary
The existing loan risk assessment methods in the textile industry lack relevant business data, resulting in inaccurate risk assessments and inability to effectively predict the default rate of fabric buyers.
A default rate prediction method is used to obtain structured data from the textile industry and input it into a default rate prediction model that includes an input layer, a normalization layer, multiple fully connected layers, and an output layer to standardize and multi-level structured data. processing, reducing overfitting and improving prediction accuracy.
Effective use of structured data in the textile industry improves the accuracy of default rate prediction, reduces the mean square error, can directly predict the default rate of orders, and solves the problem of inaccurate risk assessment in existing technologies.
Smart Images

Figure CN113283583B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, storage medium and processor for predicting default rates in the textile industry. Background Art
[0002] Due to the nature of the textile industry, fabric buyers occasionally face the situation of insufficient funds to purchase fabric, while fabric suppliers are unwilling to assume the risk of providing fabric to the buyers upfront and then paying them after the fabric buyers sell the fabric. Consequently, an aggregator creditor takes on this risk. This creditor, acting as the upstream supplier, pays for the fabric upfront; while the downstream buyer, acting as the downstream buyer, provides the fabric and then collects payment after a certain period of time. However, this type of financial loan product faces the problem of fabric buyers failing to pay on time or owing money.
[0003] Existing lending risk assessment methods for the textile industry typically seek the assistance of banks to conduct risk assessments. However, due to banks' lack of experience in lending to the textile industry to enable fabric buyers to purchase fabric, or a lack of relevant business data, risk assessments are inaccurate. Summary of the Invention
[0004] The purpose of the embodiments of the present invention is to provide a method, device, storage medium and processor for predicting default rate in the textile industry.
[0005] In order to achieve the above-mentioned object, the first aspect of the present invention provides a default rate prediction method, comprising:
[0006] Obtaining structured data of orders to be predicted in the textile industry;
[0007] inputting the structured data into a default rate prediction model;
[0008] The default rate of the order to be predicted is determined by the default rate prediction model.
[0009] Optionally, the default rate prediction model includes: an input layer, a normalization layer, multiple fully connected layers, a rejection layer, and an output layer.
[0010] Optionally, the fully connected layer includes at least 7, and determining the default rate of the order to be predicted through the default rate prediction model includes: after the input layer obtains the structured data, the input layer imports the structured data into the standardization layer; standardizes the structured data through the standardization layer, and then outputs the standardized structured data to the first fully connected layer; extends the standardized structured data through the first fully connected layer, and outputs the extended structured data to the discard layer; reduces the degree of overfitting of the default rate prediction model through the discard layer; extends the structured data again through the second fully connected layer; condenses the extended structured data through the third connection layer; extends the condensed structured data again through the fourth connection layer; extends the extended structured data again through the fifth connection layer; amplifies the extended structured data through the sixth connection layer; condenses the amplified structured data again through the seventh connection layer; transmits the concentrated structured data to the output layer; and inputs the default rate predicted by the structured data into the output layer.
[0011] Optionally, the activation function included in the fully connected layer is as follows:
[0012] Formula (1);
[0013] Wherein, x is the input value of the activation function, and the value of α is 1.
[0014] Optionally, the method also includes: obtaining historical structured data of the textile industry; cleaning the historical structured data and eliminating data that does not meet preset conditions; standardizing the eliminated historical structured data; stringing and merging the standardized historical structured data; statistically summarizing the stringed and merged historical structured data, and dividing the data into a training data set and a test data set.
[0015] Optionally, the method further includes: training the default rate prediction model using the training data set; testing the trained default rate prediction model using the test data set; and determining that the training of the default rate prediction model is completed after the test passes.
[0016] A second aspect of the present invention provides a device for predicting default rates in the textile industry, comprising:
[0017] A data acquisition module, used to acquire structured data of the textile industry orders to be predicted;
[0018] The prediction module is used to input the structured data into a default rate prediction model; and determine the default rate of the order to be predicted through the default rate prediction model.
[0019] A third aspect of the present invention provides a machine-readable storage medium having instructions stored thereon. When the instructions are executed by a processor, the processor is configured to execute the above-mentioned textile industry default rate prediction method.
[0020] A fourth aspect of the present invention provides a processor configured to execute the above-mentioned textile industry default rate prediction method.
[0021] The above-mentioned textile industry default rate prediction method obtains structured data of the textile industry's orders to be predicted, inputs the structured data into the default rate prediction model, and determines the default rate of the orders to be predicted through the default rate prediction model. This prediction method effectively utilizes the structured data of the textile industry, and also effectively uses the sparse feature data that is easily filtered out by feature engineering in the traditional data analysis process, thereby improving the model prediction score, reducing the mean square error, and being able to effectively and directly predict the default rate of orders.
[0022] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following detailed description, they are used to explain the embodiments of the present invention, but do not constitute a limitation of the embodiments of the present invention. In the accompanying drawings:
[0024] Figure 1 A schematic diagram of a process of predicting a default rate in the textile industry according to an embodiment of the present invention is shown;
[0025] Figure 2 The following schematically shows the structure of a default rate prediction model according to an embodiment of the present invention;
[0026] Figure 3 A schematic diagram schematically illustrates the output of an activation function according to an embodiment of the present invention;
[0027] Figure 4 The following schematically shows a structural block diagram of a device for predicting default rate in the textile industry according to an embodiment of the present invention;
[0028] Figure 5 The figure schematically shows the internal structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] The following describes the specific implementation of the embodiment of the present invention in detail with reference to the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the embodiment of the present invention and is not used to limit the embodiment of the present invention.
[0030] Figure 1 The following schematically shows a flow chart of a method for predicting the default rate of the textile industry according to an embodiment of the present invention. Figure 1 As shown, in one embodiment of the present invention, a method for predicting default rate in the textile industry is provided, comprising the following steps:
[0031] Step 101: Obtain structured data of orders to be predicted in the textile industry.
[0032] Step 102: Input the structured data into the default rate prediction model.
[0033] Step 103: Determine the default rate of the order to be predicted using a default rate prediction model.
[0034] Data in the textile industry is unique, typically structured. For each order to be predicted, the structured data can be obtained and fed into the default rate prediction model.
[0035] In one embodiment, the structured data includes at least one of basic information of the fabric buyer, credit information of the fabric buyer, historical order information of the fabric buyer, and market financial information; the basic information of the fabric buyer includes at least one of the registered capital, establishment date, and number of employees of the fabric buyer; the credit information of the fabric buyer includes at least one of legal information, corporate credit information, and operating information; the historical order information of the fabric buyer includes at least one of order amount, order category, fabric data, and repayment information; and the market financial information includes at least one of fabric market information, financial market information, and competitor information.
[0036] The default rate prediction model can be used to determine the default rate of the predicted order. The default rate refers to the probability of default when the fabric buyer uses financial products and overdue payments.
[0037] In one embodiment, the default rate prediction model includes: an input layer, a normalization layer, multiple fully connected layers, a rejection layer, and an output layer.
[0038] Among them, the default rate prediction model uses structured wide table data as input and outputs one-dimensional data according to different prediction targets. Figure 2 As shown in Figure 1, a schematic diagram of the structure of a default rate prediction model is provided. Figure 2 It can be seen that there are multiple connection layers (fully connected layers) included in the default rate prediction model.
[0039] In one embodiment, the fully connected layers include at least seven layers. Determining the default rate of the order to be predicted using the default rate prediction model includes: after the input layer obtains structured data, the input layer imports the structured data into the normalization layer; the normalization layer normalizes the structured data and then outputs the normalized structured data to the first fully connected layer; the first fully connected layer extends the normalized structured data and outputs the extended structured data as a discard layer; the discard layer reduces the degree of overfitting of the default rate prediction model; the second fully connected layer extends the structured data again; the third connected layer condenses the extended structured data; the fourth connected layer extends the condensed structured data again; the fifth connected layer extends the extended structured data again; the sixth connected layer amplifies the extended structured data; the seventh connected layer condenses the amplified structured data again; the output layer inputs the condensed structured data to the output layer; and the output layer inputs the default rate predicted by the structured data. In this embodiment, the default rate prediction model includes at least seven fully connected layers.
[0040] Specifically, the first layer is the input layer: data is imported into the model. Taking a wide table with 120 fields of structured input data as an example, the data dimension here is (120,).
[0041] The second normalization layer normalizes the input data to make it more suitable for model training and actual prediction. The input data is converted to data with a mean of zero and a standard deviation of approximately 1. For example, a wide table with 120 fields of structured input data has a data dimension of (120,).
[0042] The third layer is a fully connected layer: it connects data nodes from the previous layer to the next layer, computing and transmitting information. For example, a wide table with 120 fields of structured input data has a data dimension of approximately one-quarter (32,) of the input data. The purpose of the third layer is to extend the data combinations. Specifically, the Elu algorithm is used as the activation function.
[0043] The fourth layer is the dropout layer: it connects the data nodes of the previous and next layers and randomly sets the input data to zero with a frequency of 10%. For example, consider a wide table with 120 fields of structured input data. The data dimension here is approximately (32,). The purpose of this fourth layer is to reduce the degree of model overfitting.
[0044] The fifth layer is a fully connected layer: it connects data nodes from the previous layer to the next layer, computing and transmitting information. For example, a wide table with 120 fields of structured input data has a data dimension approximately equal to (32,) in the previous layer. The purpose of the fifth layer is to further extend the data combination. Specifically, the Elu algorithm is used as the activation function.
[0045] The sixth layer is a fully connected layer: it connects data nodes from the previous layer to the next layer, computing and transmitting information. For example, a wide table with 120 fields of structured input data has a data dimension of approximately one-quarter (6,) of the previous layer. The purpose of the sixth layer is to condense the information from the first stage. Specifically, the Linear algorithm can be used as the activation function.
[0046] The seventh layer is a fully connected layer: it connects data nodes from the previous layer to the next layer, computing and transmitting information. For example, a wide table with 120 structured input fields has a data dimension of approximately twice that of the input data (16,). The purpose of the seventh layer is to perform data combination and extension in the second stage. Specifically, the Softplus algorithm can be used as the activation function.
[0047] The eighth layer is a fully connected layer: it connects data nodes from the previous layer to the next layer, computing and transmitting information. For example, a wide table with 120 structured input fields has a data dimension approximately equal to the input data (16,). The purpose of the eighth layer is to perform data combination and extension in the second stage. Specifically, the ReLU algorithm is used as the activation function.
[0048] The ninth layer is a fully connected layer: it connects data nodes from the previous layer to the next layer, computing and transmitting information. For example, a wide table with 120 fields of structured input data has a data dimension approximately 16 times that of the input data (256,). The purpose of the eighth layer is to amplify data combinations. Specifically, the ReLU algorithm is used as the activation function.
[0049] The tenth layer is a fully connected layer: it connects the data nodes of the previous and next layers, calculates and transmits information. For example, a wide table with 120 fields of structured input data has a data dimension approximately equal to the input data (16,). The purpose of the eighth layer is to combine and condense the data before output. Specifically, the Softplus algorithm is used as the activation function. The eleventh layer is the output layer: it outputs the model calculation results. For example, the structured data output predicts the number of days overdue for a buyer's repayment. Here, the data dimension is (1,), and the Elu algorithm is used as the activation function.
[0050] In one embodiment, before the default rate prediction model is put into practical use, it must first be trained. The training steps include: obtaining historical structured data from the textile industry; cleaning the historical structured data and removing data that does not meet preset conditions; standardizing the removed historical structured data; concatenating and merging the standardized historical structured data; statistically summarizing the concatenated and merged historical structured data and dividing it into a training data set and a test data set; training the default rate prediction model using the training data set; testing the trained default rate prediction model using the test data set; and determining that the default rate prediction model training is complete after the test passes.
[0051] In one embodiment, the training steps for the default rate prediction model are as follows:
[0052] 1. Data acquisition: including automatic acquisition of database data, network data, etc.
[0053] Data types are primarily categorized into basic fabric buyer information, credit information, historical fabric buyer order data, market and financial information, and various indicators. Basic fabric buyer information includes registered capital, establishment date, and number of employees; credit information includes legal information, corporate credit information, and operational information; historical fabric buyer order data includes order amounts, order categories, fabric-related data, and repayment information; market and financial information includes fabric market information, financial market information, and competitive product information; and other indicators include exchange rates and price indices. Data sources include, but are not limited to, publicly available online data, third-party purchase data, and historical data held by the aggregator's creditors. When inputting data into the model, the integrated wide table format can be used as input. After acquiring the data, it can also be cleaned and preprocessed.
[0054] 2. Data cleaning and preprocessing: Organize and clean the acquired information, process data encoding, handle missing values, and handle data types such as strings and time.
[0055] Specifically, order data where overdue cannot be determined, order data where economic losses cannot be confirmed, and data missing order time and purchaser ID can be removed. Regarding data processing, structured order data can be used as the primary dimension for analysis. The predictive model will use each order data item to predict the probability of delayed repayment by the purchaser and the resulting economic losses. Regarding model output, its primary output goal is to predict the probability of overdue repayment. Time-based data can be converted to numerical data using time subtraction; categorical data can be converted to a sparse numerical matrix using a multi-dimensional one-hot conversion method. Unlike existing risk control data analysis, this model utilizes a richer data set for modeling, avoiding excessive feature filtering. This approach aims to retain subtle risk features that are easily filtered out. Therefore, categorical data with a deduplication ratio of no more than 10% of the original data volume or no more than 100 types of data will be retained in the sparse matrix.
[0056] 3. Data consolidation: Perform necessary data concatenation, data dimension conversion, and calculation of derived fields to convert the original data into input data suitable for the algorithm model.
[0057] Data from all different tables is concatenated to the order information table via key values, creating an initial wide table. Order time and buyer code are retained as primary dimensions for subsequent data statistics. Data statistics are then compiled on this initial wide table. For each order, statistical information for the buyer over the past month, three months, six months, and one year is collected. This includes: order quantity, average purchase amount, median purchase amount, minimum purchase amount, maximum purchase amount, average loan utilization rate, average daily order amount, average daily order amount using loans, and more than 80 fields in total. This is then combined with conversion data from categorical dimensions, including fabric type, weave type, stretch type, and fabric quality (e.g., whether it is solid color, patterned, non-woven, woven, or knitted), totaling over 40 fields. This results in a total of over 120 fields serving as data input.
[0058] 4. Feature processing: Filter according to the features selected during modeling and calculate derived fields.
[0059] 5. Model prediction output: Call the trained algorithm model, input the input data that meets the model requirements, and the model will output the prediction results.
[0060] The data will be divided into training set and test set in two main ways: one is to use time as the main body for division, and the overall data is divided into training set data and test set data based on the deduplicated time dimension, with a ratio of 80:20; the other is to use customers as the main body for division, and the overall data is divided into training set data and test set data based on the deduplicated customer dimension, with a ratio of 80:20.
[0061] Specifically, the default rate prediction model includes: normalization layer, fully connected layer, input layer, output layer, rejection layer, etc. The activation function specifically includes: Relu function, Elu function, Softplus function, Linear function, etc. The corresponding graph of the activation function output is as follows Figure 3 shown.
[0062] This default rate prediction model uses structured wide-table data as input and outputs one-dimensional data based on different prediction targets. For example, without batch training, the input data is a wide-table data of one order dimension. If the number of fields is 120, the input data dimension is (120,). After calculations at each model layer, the output is a prediction data of dimension (1,). Here, the default rate for overdue payments on financial products used by buyers is predicted. Model training and prediction can be performed in batches.
[0063] Specifically, the first input layer imports data into the model. Taking a wide table with 120 fields of structured input data as an example, the data dimension here is (120,).
[0064] The second normalization layer normalizes the input data to make it more suitable for model training. The input data is converted to data with a mean of zero and a standard deviation of approximately 1. For example, a wide table with 120 fields of structured input data has a data dimension of (120,).
[0065] The third fully connected layer connects data nodes from the previous layer to the next layer, computing and transmitting information. For example, a wide table with 120 fields of structured input data has a data dimension of approximately one-quarter (32,) of the input data. The purpose of this third layer is to extend the data's combinations. Specifically, the Elu algorithm is used as the activation function.
[0066] The fourth layer, the dropout layer, connects the data nodes of the previous and next layers and randomly sets the input data to zero with a frequency of 10%. For example, a wide table with 120 fields of structured input data has a data dimension of approximately (32,). The purpose of this fourth layer is to reduce the degree of model overfitting.
[0067] The fifth fully connected layer connects data nodes from the previous layer to the next layer, computing and transmitting information. For example, a wide table with 120 fields of structured input data has a data dimension approximately equal to (32,) in the previous layer. The purpose of the fifth layer is to further extend the data combination. Specifically, the Elu algorithm is used as the activation function.
[0068] The sixth fully connected layer connects data nodes from the previous layer to the next layer, computing and transmitting information. For example, a wide table with 120 fields of structured input data has a data dimension of approximately one-quarter (6,) of the previous layer. The purpose of the sixth layer is to condense the information from the first stage. The Linear algorithm is used as the activation function.
[0069] The seventh fully connected layer connects data nodes from the previous layer to the next layer, computing and transmitting information. For example, a wide table with 120 structured input fields has a data dimension of approximately twice that of the input data (16,). The purpose of the seventh layer is to perform data combination and extension in the second stage. Specifically, the Softplus algorithm is used as the activation function.
[0070] The eighth fully connected layer connects data nodes from the previous layer to the next layer, computing and transmitting information. For example, a wide table with 120 structured input fields has a data dimension approximately equal to the input data (16,). The eighth layer performs data combination and extension in the second stage. Specifically, the ReLU algorithm is used as the activation function.
[0071] The ninth fully connected layer connects the data nodes of the previous and next layers, calculating and transmitting information. For example, a wide table with 120 fields of structured input data has a data dimension approximately 16 times that of the input data (256,). The purpose of the ninth layer is to amplify data combinations. The ReLU algorithm is used as the activation function.
[0072] The tenth fully connected layer connects the data nodes of the previous and next layers, calculating and transmitting information. For example, a wide table with 120 structured input fields has a data dimension approximately equal to the input data (16,). The purpose of the tenth layer is to combine and condense the data before output. Specifically, the Softplus algorithm is used as the activation function.
[0073] The eleventh output layer outputs the model's calculation results. For example, the output predicts the number of days overdue for a buyer's loan repayment using structured data. The data dimension here is (1,) and the Elu algorithm is used as the activation function. Unlike other deep learning model architectures, this model architecture is well-suited to analyzing such structured data inputs. Compared to other algorithms, it achieves a lower mean squared error in predicting the default rate of textile industry buyers using structured data.
[0074] Regarding input data, let's compare it to a deep learning model for image classification. For a four-layer deep learning model with 10,000 input data entries and a 256×256 width, the input dimensions are (10,000, 256, 256, 4). For this model predicting buyer default rates, for example, the input dimensions are (10,000, 120) for a wide table with 120 dimensions and 10,000 input data entries. Since the input data structure is single-dimensional and the fields don't have a displacement relationship like in graph data, a convolutional neural network (CNN) is not suitable. Furthermore, since the input data is not a time series or ordered sequence, an RNN is also not suitable. Therefore, a multi-layer connection layer is used to construct the model architecture.
[0075] Specifically, in one embodiment, the Relu function is ; Elu function is: ;Softplus function is: ; Linear function is: .in, Specifically represents the input number of the activation function, that is, the data after the operation of each layer of deep learning node. Specifically, the preset constant is 1.
[0076] The calculation formula of each fully connected layer is as follows:
[0077] ; Among them, the input matrix is the input data of each layer of deep learning, and the coefficients and deviation rates will be fitted and calculated using gradient descent when training the model.
[0078] Furthermore, the default rate prediction model uses a mean squared error (MSE) loss function. This approach allows for continuous model training to achieve better scoring results. Specifically, after approximately 120 training batches, the default rate prediction model surpassed the top-performing XGBoost algorithm model. After 200 training batches, its MSE continued to decline, and the downward trend slowed after approximately 280 training batches.
[0079] The above-mentioned textile industry default rate prediction method obtains structured data of the textile industry's orders to be predicted, inputs the structured data into the default rate prediction model, and determines the default rate of the orders to be predicted through the default rate prediction model. This prediction method effectively utilizes the structured data of the textile industry, and also effectively uses the sparse feature data that is easily filtered out by feature engineering in the traditional data analysis process, thereby improving the model prediction score, reducing the mean square error, and being able to effectively and directly predict the default rate of orders.
[0080] In one embodiment, Figure 4 As shown, a default rate prediction device for the textile industry is provided, comprising:
[0081] The data acquisition module 401 is used to acquire structured data of orders to be predicted in the textile industry;
[0082] The prediction module 402 is used to input the structured data into the default rate prediction model; and determine the default rate of the order to be predicted through the default rate prediction model.
[0083] In one embodiment, the default rate prediction model includes: an input layer, a normalization layer, multiple fully connected layers, a rejection layer, and an output layer.
[0084] In one embodiment, the prediction module 402 is also used to, after the input layer obtains the structured data, import the structured data into the standardization layer; standardize the structured data through the standardization layer, and then output the standardized structured data to the first fully connected layer; extend the standardized structured data through the first fully connected layer, and output the extended structured data to the discard layer; reduce the degree of overfitting of the default rate prediction model through the discard layer; extend the structured data again through the second fully connected layer; condense the concentrated structured data through the third connection layer; extend the concentrated structured data again through the fourth connection layer; extend the amplified structured data again through the fifth connection layer; amplify the amplified structured data again through the sixth connection layer; condense the amplified structured data again through the seventh connection layer; transmit the amplified structured data to the output layer; and input the default rate predicted by the structured data into the output layer.
[0085] In one embodiment, the textile industry default rate prediction device also includes a training module (not shown in the figure) for obtaining historical structured data of the textile industry; cleaning the historical structured data and eliminating data that does not meet preset conditions; standardizing the eliminated historical structured data; serializing and merging the standardized historical structured data; statistically summarizing the serialized and merged historical structured data and dividing it into a training data set and a test data set.
[0086] In one embodiment, the training module is further configured to train the default rate prediction model using a training data set; test the trained default rate prediction model using a test data set; and determine that the training of the default rate prediction model is complete after the test passes.
[0087] In one embodiment, the structured data includes at least one of basic information of the fabric buyer, credit information of the fabric buyer, historical order information of the fabric buyer, and market financial information; the basic information of the fabric buyer includes at least one of the registered capital, establishment date, and number of employees of the fabric buyer; the credit information of the fabric buyer includes at least one of legal information, corporate credit information, and operating information; the historical order information of the fabric buyer includes at least one of order amount, order category, fabric data, and repayment information; and the market financial information includes at least one of fabric market information, financial market information, and competitor information.
[0088] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be provided, and the above-mentioned textile industry default rate prediction method can be implemented by adjusting kernel parameters.
[0089] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0090] An embodiment of the present invention provides a storage medium having a program stored thereon, which, when executed by a processor, implements the above-mentioned textile industry default rate prediction method.
[0091] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes the above-mentioned textile industry default rate prediction method when running.
[0092] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor A01, a network interface A02, a memory (not shown in the figure) and a database (not shown in the figure) connected via a system bus. The processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A04. The non-volatile storage medium A04 stores an operating system B01, a computer program B02 and a database (not shown in the figure). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A04. The database of the computer device is used to store structured data of the textile industry, etc. The network interface A02 of the computer device is used to communicate with an external terminal via a network connection. When the computer program B02 is executed by the processor A01, it implements a method for predicting default rates in the textile industry.
[0093] Those skilled in the art will understand that Figure 5The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0094] An embodiment of the present invention provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps of the above-mentioned method for predicting the default rate in the textile industry are implemented.
[0095] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program initialized with the steps of the above-mentioned textile industry default rate prediction method.
[0096] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0097] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0098] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0099] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0100] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0101] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0102] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can be implemented using any method or technology to store information. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change RAM (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media such as modulated data signals and carrier waves.
[0103] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0104] The above are merely embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.
Claims
1. A method for predicting default rate in the textile industry, characterized in that: The method comprises: Acquire structured data of orders to be predicted in the textile industry; the structured data includes at least one of basic information of fabric buyers, credit information of fabric buyers, historical order information of fabric buyers, and market financial information; the basic information of fabric buyers includes at least one of registered capital, establishment date, and number of employees of fabric buyers; the credit information of fabric buyers includes at least one of legal information, corporate credit information, and business information; the historical order information of fabric buyers includes at least one of order amount, order category, fabric data, and repayment information; the market financial information includes at least one of fabric market information, financial market information, and competitive product information; Inputting the structured data into a default rate prediction model; the default rate prediction model uses structured wide table data for input; Determining the default rate of the order to be predicted by using the default rate prediction model; the default rate refers to the probability of default of the fabric buyer when overdue repayment when using financial products; The default rate prediction model includes: an input layer, a normalization layer, seven fully connected layers, a selection layer and an output layer; Determining the default rate of the order to be predicted by using the default rate prediction model includes: After the input layer obtains the structured data, the input layer imports the structured data into the standardization layer; wherein the input layer is used to import data into the model; The structured data is standardized by the standardization layer, and then the standardized structured data is output to the first fully connected layer; wherein the standardization layer is used to standardize the input data; The standardized structured data is extended through the first fully connected layer, and the extended structured data is output to the rejection layer; wherein the first fully connected layer is used to connect the data nodes of the previous layer and the next layer, calculate and transmit the information; the purpose of the first fully connected layer is to extend the combination of data, and specifically use the Elu algorithm as the activation function; The input data is randomly set to zero through the discard layer to reduce the degree of overfitting of the default rate prediction model; wherein the discard layer is used to connect the data nodes of the previous layer and the next layer, and the input data is randomly set to zero, and the random frequency is 10%; The structured data is further extended through the second fully connected layer; wherein the second fully connected layer is used to connect the data nodes of the previous layer and the next layer, calculate and transmit the information; the purpose of the second fully connected layer is to continue to extend the combination of data, specifically using the Elu algorithm as the activation function; The structured data after further extension is condensed through the third fully connected layer; wherein the third fully connected layer is used to connect the data nodes of the previous layer and the next layer, calculate and transmit the information; the purpose of the third fully connected layer is to condense the information of the first stage, and specifically use the Linear algorithm as the activation function; The concentrated structured data is extended again through the fourth fully connected layer; wherein the fourth fully connected layer is used to connect the data nodes of the previous layer and the next layer, calculate and transmit the information; the purpose of the fourth fully connected layer is to perform the data combination extension of the second stage, and specifically use the Softplus algorithm as the activation function; The structured data after the second extension is extended again through the fifth fully connected layer; wherein the fifth fully connected layer is used to connect the data nodes of the previous layer and the next layer, calculate and transmit the information; the purpose of the fifth fully connected layer is to perform the data combination extension of the second stage, and specifically use the Relu algorithm as the activation function; The structured data after further extension is amplified through the sixth fully connected layer; wherein the sixth fully connected layer is used to connect the data nodes of the previous layer and the next layer, calculate and transmit the information; the purpose of the sixth fully connected layer is to amplify the data combination, and specifically use the Relu algorithm as the activation function; The amplified structured data is further condensed through the seventh fully connected layer; wherein the seventh fully connected layer is used to connect the data nodes of the previous layer and the next layer, calculate and transmit the information; the purpose of the seventh fully connected layer is to combine and condense the data before output, and specifically uses the Softplus algorithm as the activation function; The structured data after re-concentration is transmitted to the output layer; the default rate obtained by predicting the structured data is output through the output layer; wherein the output layer is used to output the model calculation results, and specifically uses the Elu algorithm as the activation function; The activation function included in the fully connected layer is as follows: The Relu function is: ; The Elu function is: ; The Softplus function is: ; The linear function is: ; Wherein, x is the input value of the activation function, and the value of α is 1.
2. The method according to claim 1, characterized in that The method further comprises: Obtaining historical structured data of the textile industry; Clean the historical structured data and remove data that does not meet preset conditions; Standardize the historical structured data after elimination; Serialize and merge the standardized historical structured data; The historical structured data after serial connection and merging are statistically summarized and divided into training data set and test data set.
3. The method according to claim 2, characterized in that The method further comprises: Using the training data set to train a default rate prediction model; Using the test data set to test the trained default rate prediction model; After the test passes, it is determined that the default rate prediction model training is completed.
4. A textile industry default rate prediction device, used to implement the textile industry default rate prediction method as claimed in claim 1, characterized in that: The device comprises: A data acquisition module, used to acquire structured data of the textile industry orders to be predicted; The prediction module is used to input the structured data into a default rate prediction model; and determine the default rate of the order to be predicted through the default rate prediction model.
5. A machine-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by a processor, the processor is configured to execute the textile industry default rate prediction method according to any one of claims 1 to 3.
6. A processor, characterized in that: The method is configured to execute the method for predicting default rate in the textile industry according to any one of claims 1 to 3.
Citation Information
Patent Citations
Enterprise development trend prediction method and system based on neural network
CN107464068A
Method and device for evaluating financial default risk
CN108416663A
Enterprise credit evaluation method based on fusion of deep learning and logistic regression
CN112017025A
Enterprise risk control method and device based on big data credit investigation, equipment and medium
CN112668944A
Credit default prediction method and device and electronic equipment
CN112734570A
