Code statement generation method, device and equipment and readable storage medium

A code statement and code generation technology, applied in the field of financial technology, can solve the problem of incompatibility between random forest model and code statement business deployment

Pending Publication Date: 2020-06-23
WEBANK (CHINA)
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a code statement generation method, device, equipment and readable storage medium, aiming to solve the technical problem of incompatibility between random forest model and code statement in business deployment in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code statement generation method, device and equipment and readable storage medium
  • Code statement generation method, device and equipment and readable storage medium
  • Code statement generation method, device and equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention.

[0047] The present invention provides a device for generating code sentences, with reference to figure 1 , figure 1 It is a schematic diagram of the structure of the hardware operating environment of the device involved in the embodiment of the device for generating code sentences.

[0048] Such as figure 1 As shown, the device for generating the code sentence may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless inte...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a code statement generation method, device and equipment and a readable storage medium, and the method comprises the following steps: determining a conversion strategy for converting a random forest model according to the model type of the random forest model; if the conversion strategy is a single-layer strategy, converting decision trees in the random forest model into character strings, and generating a first prediction code statement according to each character string; if the conversion strategy is a nested strategy, converting decision trees in the random forest model into character string arrays; and according to each character string array, generating a probability prediction code corresponding to the decision category of each decision tree, and generating each probability prediction code into a second prediction code statement. According to the method, the random forest model is converted into the code statement, so that the random forest model and the code statement are compatible in service deployment.

Description

Technical field [0001] The present invention relates to the technical field of financial technology (Fintech), and in particular to a method, device, equipment and readable storage medium for generating code sentences. Background technique [0002] With the continuous development of financial technology (Fintech), especially Internet technology finance, more and more technologies (such as artificial intelligence, big data, cloud storage, etc.) are applied in the financial field, but the financial field also proposes various technologies Higher requirements, such as the requirement to use the prediction function of the machine learning model in the deployment of big data services. [0003] At present, with the development of big data technology, more and more data services are run on the big data platform; and in the big data business logic, various machine learning models are generally used, such as the actual business deployment. The prediction function of the random forest model...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30G06K9/62
CPCG06F8/31G06F18/24323
Inventor 卓本刚黄启军唐兴兴林冰垠
Owner WEBANK (CHINA)
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products