# US 2021/0081847 A1 · Method of training random forest model, electronic device and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0081847 A1
- Document ID: US20210081847A1
- Status: Published application
- Kind: A1
- Application number: 16/084,232
- Filed: 2017-06-30
- Published: 2021-03-18
- Earliest claimed: 2017-03-13
- Assignees: Ping An Technology (Shenzhen) Co., Ltd.
- Applicants: Ping An Technology (Shenzhen) Co., Ltd.
- Inventors: Ge JIN; Liang XU; Jing XIAO
- Web page: https://patentgrep.com/patent/US20210081847A1

## CPC

- G06Q 30/0269: {based on user profile or attribute}
- G06F 18/24323: {Tree-organised classifiers}
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/20: Ensemble learning
- G06Q 10/103: {Workflow collaboration or project management}
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method of training a random forest model, an electronic device and a storage medium. The method of training the random forest model includes analyzing, by a system of controlling model training, whether model training conditions are met or not; if the model training conditions are met, determining whether reconstructive training needs to be carried out on the random forest model or not; if the reconstructive training needs to be carried out on the random forest model, carrying out the reconstructive training on the random forest model by using sample data; if the reconstructive training does not need to be carried out on the random forest model, carrying out corrective training on the random forest model by using the sample data.

## Claims

### Claim 1

A method of training a random forest model, comprising:
S1, analyzing, by a system of controlling model training, whether model training conditions are met or not;
S2, if the model training conditions are met, determining whether a reconstructive training needs to be carried out on the random forest model or not;
S3, if the reconstructive training needs to be carried out on the random forest model, carrying out the reconstructive training on the random forest model by using a sample data;
S4, if the reconstructive training does not need to be carried out on the random forest model, carrying out a corrective training on the random forest model by using the sample data.

### Claim 2 (depends on 1)

The method of training the random forest model of claim 1, wherein the step S1 comprises:
obtaining a first number of a newly added user business data within a time period from a moment when a former model training ended to a current moment in a business system, and if the first number is greater than a first preset threshold value, determining that the model training conditions are met; or
detecting whether a model training instruction is received or not in real time or regularly, and if the model training instruction is received, determining that the model training conditions are met.

### Claim 3 (depends on 1)

The method of training the random forest model of claim 1, wherein the step S2 comprises:
obtaining a second number of a newly added user business data within a time period from a moment when a former reconstructive training ended to a current moment in a business system, and if the second number is greater than a second preset threshold value, determining that the reconstructive training needs to be carried out on the random forest model; or
sending an inquiry request whether the reconstructive training needs to be carried out on the random forest model or not to a preset terminal, and if a YES instruction fed back by the terminal based on the inquiry request is received, determining that the reconstructive training needs to be carried out on the random forest model.

### Claim 4 (depends on 1)

The method of training the random forest model of claim 1, wherein the reconstructive training comprises a deterministic training for variables of the random forest model and a deterministic training for variable coefficients of the random forest model, and the corrective training comprises the deterministic training for the variable coefficients of the random forest model.

### Claim 5 (depends on 4)

The method of training the random forest model of claim 4, wherein the step S1 comprises:
obtaining a first number of a newly added user business data within a time period from a moment when a former model training ended to a current moment in a business system, and if the first number is greater than a first preset threshold value, determining that the model training conditions are met; or
detecting whether a model training instruction is received or not in real time or regularly, and if the model training instruction is received, determining that the model training conditions are met.

### Claim 6 (depends on 4)

The method of training the random forest model of claim 4, wherein the step S2 comprises:
obtaining a second number of a newly added user business data within a time period from a moment when a former reconstructive training ended to a current moment in a business system, and if the second number is greater than a second preset threshold value, determining that the reconstructive training needs to be carried out on the random forest model; or
sending an inquiry request whether the reconstructive training needs to be carried out on the random forest model or not to a preset terminal, and if a YES instruction fed back by the terminal based on the inquiry request is received, determining that the reconstructive training needs to be carried out on the random forest model.

### Claim 7 (depends on 4)

The method of training the random forest model of claim 4, wherein the step S4 comprises:
S41, determining variable coefficient valuing ranges corresponding to all variables according to a preset mapping relation between the variables of the random forest model and the variable coefficient valuing ranges;
S42, carrying out a variable coefficient valuing on all the variables within the corresponding variable coefficient valuing ranges, and carrying out the corrective training on the random forest model according to the valued variable coefficients.

### Claim 8

An electronic device, comprising processing equipment, storage equipment and a system of controlling model training, wherein the system of controlling model training is stored in the storage equipment, and comprises at least one computer readable instruction which may be executed by the processing equipment to implement the following operations:
S1, analyzing, by the system of controlling model training, whether model training conditions are met or not;
S2, if the model training conditions are met, determining whether a reconstructive training needs to be carried out on a random forest model or not;
S3, if the reconstructive training needs to be carried out on the random forest model, carrying out the reconstructive training on the random forest model by using a sample data;
S4, if the reconstructive training does not need to be carried out on the random forest model, carrying out a corrective training on the random forest model by using the sample data.

### Claim 9 (depends on 8)

The electronic device of claim 8, wherein the step S1 comprises:
obtaining a first number of a newly added user business data within a time period from a moment when a former model training ended to a current moment in a business system, and if the first number is greater than a first preset threshold value, determining that the model training conditions are met; or
detecting whether a model training instruction is received or not in real time or regularly, and if the model training instruction is received, determining that the model training conditions are met.

### Claim 10 (depends on 8)

The electronic device of claim 8, wherein the step S2 comprises:
obtaining a second number of a newly added user business data within a time period from a moment when a former reconstructive training ended to a current moment in a business system, and if the second number is greater than a second preset threshold value, determining that the reconstructive training needs to be carried out on the random forest model; or
sending an inquiry request whether the reconstructive training needs to be carried out on the random forest model or not to a preset terminal, and if a YES instruction fed back by the terminal based on the inquiry request is received, determining that the reconstructive training needs to be carried out on the random forest model.

### Claim 11 (depends on 8)

The electronic device of claim 8, wherein the reconstructive training comprises a deterministic training for variables of the random forest model and a deterministic training for variable coefficients of the random forest model, and the corrective training comprises the deterministic training for the variable coefficients of the random forest model.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein the step S1 comprises:
obtaining a first number of a newly added user business data within a time period from a moment when a former model training ended to a current moment in a business system, and if the first number is greater than a first preset threshold value, determining that the model training conditions are met; or
detecting whether a model training instruction is received or not in real time or regularly, and if the model training instruction is received, determining that the model training conditions are met.

### Claim 13 (depends on 11)

The electronic device of claim 11, wherein the step S2 comprises:
obtaining a second number of a newly added user business data within a time period from a moment when a former reconstructive training ended to a current moment in a business system, and if the second number is greater than a second preset threshold value, determining that the reconstructive training needs to be carried out on the random forest model; or
sending an inquiry request whether the reconstructive training needs to be carried out on the random forest model or not to a preset terminal, and if a YES instruction fed back by the terminal based on the inquiry request is received, determining that the reconstructive training needs to be carried out on the random forest model.

### Claim 14 (depends on 11)

The electronic device of claim 11, wherein the step S4 comprises:
S41, determining variable coefficient valuing ranges corresponding to all variables according to a preset mapping relation between the variables of the random forest model and the variable coefficient valuing ranges;
S42, carrying out a variable coefficient valuing on all the variables within the corresponding variable coefficient valuing ranges, and carrying out the corrective training on the random forest model according to the valued variable coefficients.

### Claim 15

A computer readable storage medium, which is stored with at least one computer readable instruction executed by a processing equipment to implement the following operations:
S1, analyzing, by a system of a controlling model training, whether model training conditions are met or not;
S2, if the model training conditions are met, determining whether a reconstructive training needs to be carried out on the random forest model or not;
S3, if the reconstructive training needs to be carried out on the random forest model, carrying out the reconstructive training on the random forest model by using a sample data;
S4, if the reconstructive training does not need to be carried out on the random forest model, carrying out corrective training on the random forest model by using the sample data.

### Claim 16 (depends on 15)

The storage medium of claim 15, wherein the step S1 comprises:
obtaining a first number of a newly added user business data within a time period from a moment when a former model training ended to a current moment in a business system, and if the first number is greater than a first preset threshold value, determining that the model training conditions are met; or
detecting whether a model training instruction is received or not in real time or regularly, and if the model training instruction is received, determining that the model training conditions are met.

### Claim 17 (depends on 15)

The storage medium of claim 15, wherein the step S2 comprises:
obtaining a second number of a newly added user business data within a time period from a moment when a former reconstructive training ended to a current moment in a business system, and if the second number is greater than a second preset threshold value, determining that the reconstructive training needs to be carried out on the random forest model; or
sending an inquiry request whether the reconstructive training needs to be carried out on the random forest model or not to a preset terminal, and if a YES instruction fed back by the terminal based on the inquiry request is received, determining that the reconstructive training needs to be carried out on the random forest model.

### Claim 18 (depends on 15)

The storage medium of claim 15, wherein the reconstructive training comprises a deterministic training for variables of the random forest model and a deterministic training for variable coefficients of the random forest model, and the corrective training comprises the deterministic training for the variable coefficients of the random forest model.

### Claim 19 (depends on 18)

The storage medium of claim 18, wherein the step S1 comprises:
obtaining a first number of a newly added user business data within a time period from a moment when a former model training ended to a current moment in a business system, and if the first number is greater than a first preset threshold value, determining that the model training conditions are met; or
detecting whether a model training instruction is received or not in real time or regularly, and if the model training instruction is received, determining that the model training conditions are met.

### Claim 20 (depends on 18)

The storage medium of claim 18, wherein the step S4 comprises:
S41, determining variable coefficient valuing ranges corresponding to all variables according to a preset mapping relation between the variables of the random forest model and the variable coefficient valuing ranges;
S42, carrying out a variable coefficient valuing on all the variables within the corresponding variable coefficient valuing ranges, and carrying out the corrective training on the random forest model according to the valued variable coefficients.
