Variable binning method and device, terminal equipment and storage medium
A binning and variable technology, applied in the computer field, can solve the problems of inaccurate binning results and low binning efficiency, and achieve the effects of reducing manual intervention and time-consuming, improving binning efficiency, and fast and accurate feature extraction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] see figure 1 , figure 1 The implementation flow of the variable binning method provided by this embodiment is shown. This variable binning method is applied in the feature encoding process based on the spark platform to realize automatic binning of sample data. While preserving the original sample data information to the greatest extent, it can quickly and accurately extract features and realize rapid modeling. . The details are as follows:
[0032] S1: Obtain sample data.
[0033] In the embodiment of the present invention, sample data is collected from a preset database, and the sample data is mainly insurance business data.
[0034] S2: According to the preset variable configuration, determine the nominal variable to be binned and m eigenvalues corresponding to the nominal variable from the sample data, where m is a positive integer greater than 1.
[0035] In the embodiment of the present invention, the preset variable configuration is used to configure the v...
Embodiment 2
[0108] Corresponding to the variable binning method in Example 1, Figure 4 The variable binning device corresponding to the variable binning method provided in Embodiment 1 is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.
[0109] Such as Figure 4 As shown, the variable binning device includes: an acquisition module 41 , a determination module 42 , a storage module 43 , a calculation module 44 , a removal module 45 , and a loop module 46 . The detailed description of each functional module is as follows:
[0110] An acquisition module 41, configured to acquire sample data;
[0111] The determination module 42 is used to determine the nominal variable to be binned and m eigenvalues corresponding to the nominal variable from the sample data according to the preset variable configuration, wherein m is a positive integer greater than 1;
[0112] The storage module 43 is used to store m eigenvalues...
Embodiment 3
[0133] This embodiment provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor, the variable binning method in Embodiment 1 is implemented, or, the computer program is executed by the processor. Realize the function of each module in the variable binning device in embodiment 2 at the same time. To avoid repetition, details are not repeated here.
[0134] It can be understood that the computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), electric carrier signal and telecommunication signal, etc.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com