WO2019061991A1 - Multi-element universal model platform modeling method, electronic device, and computer readable storage medium - Google Patents

Multi-element universal model platform modeling method, electronic device, and computer readable storage medium Download PDF

Info

Publication number
WO2019061991A1
WO2019061991A1 PCT/CN2018/076178 CN2018076178W WO2019061991A1 WO 2019061991 A1 WO2019061991 A1 WO 2019061991A1 CN 2018076178 W CN2018076178 W CN 2018076178W WO 2019061991 A1 WO2019061991 A1 WO 2019061991A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
data
feature
model
library
Prior art date
Application number
PCT/CN2018/076178
Other languages
French (fr)
Chinese (zh)
Inventor
安欣
王建明
肖京
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019061991A1 publication Critical patent/WO2019061991A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Definitions

  • the present application relates to the field of computer information technology, and in particular, to a multi-purpose universal model platform modeling method, an electronic device, and a computer readable storage medium.
  • the present application proposes a multivariate general model platform modeling method, an electronic device, and a computer readable storage medium, which can quickly access a modeling service by establishing a multivariate general model algorithm library, save costs, and use different types of models.
  • the algorithm joins the unified model platform and can be expanded infinitely.
  • the present application provides an electronic device including a memory and a processor, where the memory stores a multi-purpose universal model platform modeling system operable on the processor,
  • the multivariate universal model platform modeling system is implemented by the processor to implement the following steps:
  • Receiving a modeling instruction of the specific scenario service calling, by the configuration file, a model algorithm corresponding to the specific scenario service from the model algorithm library, and passing the user information corresponding to the specific scenario service in the sample library and the feature database Model algorithms corresponding to specific scenario services are modeled.
  • the general process of data processing includes: normalizing data to make the data conform to the usage specifications of the offline platform; cleaning the data with dirty data, removing null and outliers in the data; and converting the data format to offline The specific format used by the platform.
  • the data common format is a narrow table format
  • the sample library adopts a narrow table format
  • the sample library includes user sample information required for modeling the multivariate general model platform, and the user sample information required for modeling is input into the sample library according to the data common format through the data processing general process;
  • the feature library is a narrow table set conforming to the data common format, and the narrow table set stores user feature information.
  • the multivariate universal model platform modeling system is further used to implement the following steps when executed by the processor:
  • the determining whether the data in the sample library and the feature library meets the business requirements includes:
  • the multivariate universal model platform modeling system is further used to implement the following steps when executed by the processor:
  • the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user.
  • Specific scenario business After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user.
  • Specific scenario business is performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user.
  • the present application further provides a multi-purpose universal model platform modeling method, which is applied to an electronic device, and the method includes:
  • Receiving a modeling instruction of the specific scenario service calling, by the configuration file, a model algorithm corresponding to the specific scenario service from the model algorithm library, and passing the user information corresponding to the specific scenario service in the sample library and the feature database Model algorithms corresponding to specific scenario services are modeled.
  • the general process of data processing includes: normalizing data to make the data conform to the usage specifications of the offline platform; cleaning the data with dirty data, removing null and outliers in the data; and converting the data format to offline The specific format used by the platform.
  • the data common format is a narrow table format
  • the sample library adopts a narrow table format
  • the sample library includes user sample information required for modeling the multivariate general model platform, and the user sample information required for modeling is input into the sample library according to the data common format through the data processing general process;
  • the feature library is a narrow table set conforming to the data common format, and the narrow table set stores user feature information.
  • the method further comprises the steps of:
  • Determining whether the data in the sample library and the feature library meets the business requirement, and determining whether the data in the sample library and the feature database meets the business requirement comprises: determining whether the sample in the sample library stores the service corresponding to the specific scenario, and determining the feature database Whether the characteristics are consistent with the business of the particular scenario; and
  • the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user.
  • Specific scenario business After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user.
  • Specific scenario business is performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user.
  • the present application further provides a computer readable storage medium storing a multivariate general model platform modeling system, and the multivariate universal model platform modeling system may be at least one
  • the processor executes to cause the at least one processor to perform the steps of the multivariate general model platform modeling method as described above.
  • the electronic device, the multi-purpose universal model platform modeling method and the computer readable storage medium proposed by the present application can quickly access the modeling service by establishing a multi-purpose general model algorithm library, thereby saving costs; Different types of model algorithms are added to the unified model platform, which can be expanded infinitely. Users can quickly use the multi-purpose general model platform to model without the coding foundation or Spark big data foundation. Further, through the preset parameter configuration file, this application The accumulation of resource parameters and model parameters is realized, and the results of the phase analysis are output.
  • 1 is a schematic diagram of an optional hardware architecture of an electronic device of the present application
  • FIG. 2 is a schematic diagram of a program module of an embodiment of a multi-purpose universal model platform modeling system in an electronic device of the present application;
  • FIG. 3 is a schematic diagram of an implementation process of an embodiment of a multi-purpose universal model platform modeling method according to the present application.
  • first, second and the like in the present application are for the purpose of description only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. .
  • features defining “first” and “second” may include at least one of the features, either explicitly or implicitly.
  • the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. Nor is it within the scope of protection required by this application.
  • FIG. 1 it is a schematic diagram of an optional hardware architecture of the electronic device 2 of the present application.
  • the electronic device 2 may include, but is not limited to, a memory 21, a processor 22, and a network interface 23 that can communicate with each other through a system bus. It is pointed out that FIG. 1 only shows the electronic device 2 with the components 21-23, but it should be understood that not all illustrated components are required to be implemented, and more or fewer components may be implemented instead.
  • the electronic device 2 may be a computing device such as a rack server, a blade server, a tower server, or a rack server.
  • the electronic device 2 may be an independent server or a server cluster composed of multiple servers. .
  • the memory 21 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static Random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the memory 21 may be an internal storage unit of the electronic device 2, such as a hard disk or memory of the electronic device 2.
  • the memory 21 may also be an external storage device of the electronic device 2, such as a plug-in hard disk equipped on the electronic device 2, a smart memory card (SMC), and a secure digital device. (Secure Digital, SD) card, flash card, etc.
  • the memory 21 may also include both an internal storage unit of the electronic device 2 and an external storage device thereof.
  • the memory 21 is generally used to store an operating system installed in the electronic device 2 and various types of application software, such as program code of the multi-purpose general model platform modeling system 20, and the like. Further, the memory 21 can also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 22 is typically used to control the overall operation of the electronic device 2, such as performing control and processing related to data interaction or communication with the electronic device 2.
  • the processor 22 is configured to run program code or process data stored in the memory 21, such as running the multi-purpose general model platform modeling system 20 and the like.
  • the network interface 23 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the electronic device 2 and other electronic devices.
  • the network interface 23 is configured to connect the electronic device 2 to an external data platform through a network, and establish a data transmission channel and a communication connection between the electronic device 2 and an external data platform.
  • the network may be an intranet, an Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, or a 5G network.
  • Wireless or wired networks such as network, Bluetooth, Wi-Fi, etc.
  • FIG. 2 it is a program module diagram of an embodiment of a multi-purpose universal model platform modeling system 20 in the electronic device 2 of the present application.
  • the multivariate universal model platform modeling system 20 may be divided into one or more program modules, and the one or more program modules are stored in the memory 21 and are composed of one or more
  • the processor (which is the processor 22 in this embodiment) is executed to complete the application.
  • the multivariate universal model platform modeling system 20 can be segmented into a first creation module 201, a second creation module 202, and a third creation module 203.
  • a program module as referred to in this application refers to a series of computer program instructions that are capable of performing a particular function, and are more suitable than the program to describe the execution of the multi-purpose model platform modeling system 20 in the electronic device 2.
  • the function of each program module 201-203 will be described in detail below.
  • the first creating module 201 is configured to establish a general process of data processing, access a general format of data, and establish a sample library and a feature library for pre-stored user information according to the data processing general process and the data common format to implement different Feature sharing between scene services.
  • the different scenario services may be an Internet scenario service and a financial scenario service.
  • the general process of data processing includes, but is not limited to, standardizing operations on data (such as user information), conforming the data to the usage specifications of the offline platform, and performing dirty data cleaning on the data to remove data. Null and outliers in ; and convert the data format to the specific format used by the offline platform.
  • the specific format used by the offline platform may adopt a narrow table format, such as a KV (Key-Value) key table format, that is, a table form of a KV database.
  • KV Key-Value
  • the data common format is a narrow table format.
  • the tables currently in use are all in a wide table format, while the table data in a wide table format is poorly shared.
  • a general data format KV table (narrow table format) is used in this embodiment.
  • the sample library adopts a narrow table format (such as a KV table), including but not limited to: user sample information required for modeling the multi-purpose general model platform, such as a user label (Label), a user name. (User), and business type or item type (Item).
  • user sample information (such as user tag, user name, and service type) required for modeling is input into the sample library according to the data common format by using the data processing general process.
  • the user sample information may be Spark big data information.
  • the feature library is a narrow table set (such as a KV table set) that conforms to the data common format, and the narrow table set stores user feature information (such as a user portrait feature).
  • user feature information such as a user portrait feature
  • some service scenarios cannot meet the modeling requirements by using the standard feature database.
  • specific user image features (such as age, height, gender, region, user preference, etc.) under different scenario services are generated for the multi-scenario scenario. For example, in an Internet scene service, if an Internet user portrait feature such as an advertisement image or a heartbeat feature is required, the user portrait feature under these Internet scene services can be set to a narrow table set and stored in the feature library for sharing.
  • the second creating module 202 is configured to establish a model algorithm library for processing the multi-scenario service, and provide the preset configuration file call, thereby implementing rapid modeling.
  • the model algorithm library includes a model algorithm for processing services in different scenarios.
  • the model algorithm library can access an LR (Logistic Regression) model, a GBD (Gradient Boosting Decision Tree) model, a random forest model, and a K-Means aggregation.
  • Class algorithms, etc. to achieve multi-scene business processing functions, such as CTR (Click-Through-Rate) click prediction function in the Internet scenario, user group analysis function in financial scenarios, and other multi-personalized business analysis requirements.
  • the third creating module 203 is configured to receive a modeling instruction of a specific scenario service, and invoke, by using the configuration file (just modifying a parameter), a model algorithm corresponding to the specific scenario service from the model algorithm library, and according to the sample.
  • the user information of the library and the feature library that conforms to the service of the specific scenario is modeled by the model algorithm corresponding to the service of the specific scenario.
  • the user information includes user sample information and user feature information.
  • the user can quickly utilize the multi-generic universal without coding base or Spark big data foundation.
  • Model platform modeling by modifying parameters in the configuration file, such as the selected algorithm name, the sample table name used, and the feature table name, the user can quickly utilize the multi-generic universal without coding base or Spark big data foundation.
  • the third creating module 203 is further configured to: determine whether data in the sample library and the feature library meets a service requirement.
  • the determining whether the data in the sample library and the feature database meets the business requirement comprises: determining whether a sample corresponding to the specific scenario service is stored in the sample library (such as a sample of CTR click prediction in an Internet scenario); Whether the feature conforms to the specific scenario service, for example, determining whether the feature image of the user, the heartbeat feature, etc., which meet the CTR click prediction service requirement in the Internet scenario are stored in the feature library.
  • the specific scenario service received is: analyze whether a particular user is willing to use a specific service (such as Ping An Life Insurance).
  • the model algorithm corresponding to the service of the specific scenario in the model algorithm library is an LR model algorithm, and the LR model algorithm required to directly retrieve the model is used for modeling.
  • the third creating module 203 is further configured to:
  • the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user.
  • Specific scenario business After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user.
  • Specific scenario business is performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user.
  • the model training refers to: learning new knowledge from characteristics of existing users, and establishing new features of the user.
  • the model prediction means that, for an unknown user, the model predicts whether the unknown user will use the specific scenario service (such as life insurance business).
  • the extracting the user that meets the specific feature from the sample library comprises: determining, by feature importance analysis, specific features related to the specific scenario service (ie, important features, such as age greater than 30 years old, user preference to purchase A record of insurance, or a telephone consultation with a life insurance business, etc., and a user having the particular feature is extracted from the sample library.
  • specific features related to the specific scenario service ie, important features, such as age greater than 30 years old, user preference to purchase A record of insurance, or a telephone consultation with a life insurance business, etc.
  • the third creating module 203 is further configured to:
  • the multivariate general model platform modeling system 20 proposed by the present application can quickly access the modeling service by establishing a multivariate general model algorithm library, thereby saving costs; in addition, adding different types of model algorithms to the unified
  • the model platform can be expanded infinitely.
  • the user can quickly use the multi-generic model platform to model without the coding foundation or the Spark big data foundation.
  • the resource parameters and model parameters are realized by the preset parameter configuration file. Accumulate and output the results of the phase analysis.
  • the present application also proposes a multivariate general model platform modeling method.
  • FIG. 3 it is a schematic diagram of an implementation process of an embodiment of a multi-purpose universal model platform modeling method of the present application.
  • the order of execution of the steps in the flowchart shown in FIG. 3 may be changed according to different requirements, and some steps may be omitted.
  • Step S31 establishing a general process of data processing, accessing a general format of data, and establishing a sample library and a feature library for pre-stored user information according to the general process of data processing and a common format of data, so as to realize feature sharing between services in different scenarios.
  • the different scenario services may be an Internet scenario service and a financial scenario service.
  • the general process of data processing includes, but is not limited to, standardizing operations on data (such as user information), conforming the data to the usage specifications of the offline platform, and performing dirty data cleaning on the data to remove data. Null and outliers in ; and convert the data format to the specific format used by the offline platform.
  • the specific format used by the offline platform may adopt a narrow table format, such as a KV (Key-Value) key table format, that is, a table form of a KV database.
  • KV Key-Value
  • the data common format is a narrow table format.
  • the tables currently in use are all in a wide table format, while the table data in a wide table format is poorly shared.
  • a general data format KV table (narrow table format) is used in this embodiment.
  • the sample library adopts a narrow table format (such as a KV table), including but not limited to: user sample information required for modeling the multi-purpose general model platform, such as a user label (Label), a user name. (User), and business type or item type (Item).
  • user sample information (such as user tag, user name, and service type) required for modeling is input into the sample library according to the data common format by using the data processing general process.
  • the user sample information may be Spark big data information.
  • the feature library is a narrow table set (such as a KV table set) that conforms to the data common format, and the narrow table set stores user feature information (such as a user portrait feature).
  • user feature information such as a user portrait feature
  • some service scenarios cannot meet the modeling requirements by using the standard feature database.
  • specific user image features (such as age, height, gender, region, user preference, etc.) under different scenario services are generated for the multi-scenario scenario. For example, in an Internet scene service, if an Internet user portrait feature such as an advertisement image or a heartbeat feature is required, the user portrait feature under these Internet scene services can be set to a narrow table set and stored in the feature library for sharing.
  • Step S32 establishing a model algorithm library for processing the multi-scenario service, and providing the preset configuration file call, thereby implementing rapid modeling.
  • the model algorithm library includes a model algorithm for processing services in different scenarios.
  • the model algorithm library can access an LR (Logistic Regression) model, a GBD (Gradient Boosting Decision Tree) model, a random forest model, and a K-Means aggregation.
  • LR Logistic Regression
  • GBD Gradient Boosting Decision Tree
  • random forest model eans aggregation.
  • Class algorithms, etc. to achieve multi-scene business processing functions, such as CTR (Click-Through-Rate) click prediction function in the Internet scenario, user group analysis function in financial scenarios, and other multi-personalized business analysis requirements.
  • Step S33 receiving a modeling instruction of a specific scenario service, calling, by using the configuration file (just modifying the parameter), a model algorithm corresponding to the specific scenario service from the model algorithm library, and conforming to the sample library and the feature library according to the User information of a specific scenario service (if the data in the sample library and the feature library meets business requirements), and modeled by a model algorithm corresponding to the specific scenario service.
  • the user information includes user sample information and user feature information.
  • the user can quickly utilize the multi-generic universal without coding base or Spark big data foundation.
  • Model platform modeling by modifying parameters in the configuration file, such as the selected algorithm name, the sample table name used, and the feature table name, the user can quickly utilize the multi-generic universal without coding base or Spark big data foundation.
  • the step of determining whether the data in the sample library and the feature library meets the service requirement is further included.
  • the determining whether the data in the sample library and the feature database meets the business requirement comprises: determining whether a sample corresponding to the specific scenario service is stored in the sample library (such as a sample of CTR click prediction in an Internet scenario); Whether the feature conforms to the specific scenario service, for example, determining whether the feature image of the user, the heartbeat feature, etc., which meet the CTR click prediction service requirement in the Internet scenario are stored in the feature library.
  • the specific scenario service received is: analyze whether a particular user is willing to use a specific service (such as Ping An Life Insurance).
  • the model algorithm corresponding to the service of the specific scene in the model algorithm library is an LR model algorithm, and the required LR model algorithm is directly used to perform modeling by using the configuration file.
  • the multivariate universal model platform modeling method further includes the following steps:
  • the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user.
  • Specific scenario business After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user.
  • Specific scenario business is performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user.
  • the model training refers to: learning new knowledge from characteristics of existing users, and establishing new features of the user.
  • the model prediction means that, for an unknown user, the model predicts whether the unknown user will use the specific scenario service (such as life insurance business).
  • the extracting the user that meets the specific feature from the sample library comprises: determining, by feature importance analysis, specific features related to the specific scenario service (ie, important features, such as age greater than 30 years old, user preference to purchase A record of insurance, or a telephone consultation with a life insurance business, etc., and a user having the particular feature is extracted from the sample library.
  • specific features related to the specific scenario service ie, important features, such as age greater than 30 years old, user preference to purchase A record of insurance, or a telephone consultation with a life insurance business, etc.
  • the multivariate universal model platform modeling method further includes the following steps:
  • the multivariate general model platform modeling method proposed by the present application can quickly access the modeling service by establishing a multivariate general model algorithm library, and save costs; in addition, different types of model algorithms are used. Joining a unified model platform, the level can be expanded infinitely. The user can quickly use the multi-purpose general model platform to model without the coding foundation or Spark big data foundation. Further, through the preset parameter configuration file, the application implements the resource parameters and The accumulation of model parameters and the output of phased analysis results.
  • the present application further provides a computer readable storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), where the computer readable storage medium stores a multivariate universal model platform modeling system 20,
  • the multivariate universal model platform modeling system 20 can be executed by at least one processor 22 to cause the at least one processor 22 to perform the steps of the multivariate general model platform modeling method as described above.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and can also be implemented by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A multi-element universal model platform modeling method. The method comprises steps of: establishing a universal data processing process, accessing a universal data format, and establishing, according to the universal data processing process and the universal data format, a sample database and a feature database for pre-stored user information (S31); establishing a model algorithm database for processing multi-element scene services and providing the model algorithm database for a preset configuration file to invoke (S32); and receiving a modeling instruction of a particular scene service, invoking, by means of the configuration file, a model algorithm corresponding to the particular scene service from the model algorithm database, and performing modeling by means of the model algorithm corresponding to the particular scene service according to user information, in accordance with the scene service, in the sample database and the feature database (S33). The method can quickly implement modeling by utilizing a multi-element universal model platform, thereby achieving accumulation of resource parameters and model parameters and outputting periodical analysis results.

Description

多元通用模型平台建模方法、电子设备及计算机可读存储介质Multi-purpose universal model platform modeling method, electronic device and computer readable storage medium
本申请要求于2017年09月30日提交中国专利局、申请号为201710940520.4、发明名称为“多元通用模型平台建模方法、电子设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。The present application claims priority to the Chinese Patent Application filed on Sep. 30, 2017, the Chinese Patent Application No. 201710940520.4, entitled "Multi-Universal Model Platform Modeling Method, Electronic Device, and Computer-Readable Storage Media". All content is incorporated by reference in the application.
技术领域Technical field
本申请涉及计算机信息技术领域,尤其涉及一种多元通用模型平台建模方法、电子设备及计算机可读存储介质。The present application relates to the field of computer information technology, and in particular, to a multi-purpose universal model platform modeling method, an electronic device, and a computer readable storage medium.
背景技术Background technique
目前对于每个场景业务进行预测并没有通用的解决方案,加之Spark大数据学习成本高导致新项目或新业务的建模任务接入速度慢且代码重复利用率过低。故,现有技术中的建模方法设计不够合理,亟需改进。At present, there is no universal solution for predicting each scenario service. In addition, the high learning cost of Spark big data leads to slow access speed and low code reuse rate of new project or new service modeling tasks. Therefore, the design method of the prior art is not reasonable enough and needs to be improved.
发明内容Summary of the invention
有鉴于此,本申请提出一种多元通用模型平台建模方法、电子设备及计算机可读存储介质,通过建立多元通用模型算法库,快速接入建模业务,节省成本,并将不同类型的模型算法加入统一的模型平台,可水平无限拓展。In view of this, the present application proposes a multivariate general model platform modeling method, an electronic device, and a computer readable storage medium, which can quickly access a modeling service by establishing a multivariate general model algorithm library, save costs, and use different types of models. The algorithm joins the unified model platform and can be expanded infinitely.
首先,为实现上述目的,本申请提出一种电子设备,所述电子设备包括存储器及处理器,所述存储器上存储有可在所述处理器上运行的多元通用模型平台建模系统,所述多元通用模型平台建模系统被所述处理器执行时实现如下步骤:First, in order to achieve the above object, the present application provides an electronic device including a memory and a processor, where the memory stores a multi-purpose universal model platform modeling system operable on the processor, The multivariate universal model platform modeling system is implemented by the processor to implement the following steps:
建立数据处理通用流程,接入数据通用格式,根据所述数据处理通用流程和数据通用格式,针对预先存储的用户信息建立样本库和特征库;Establish a general process of data processing, access a general format of data, and establish a sample library and a feature library for pre-stored user information according to the general process of data processing and a common format of data;
建立处理多元场景业务的模型算法库,提供给预设的配置文件调用;及Establishing a model algorithm library for processing multi-scenario services, providing a preset configuration file call; and
接收特定场景业务的建模指令,通过所述配置文件从模型算法库中调用该特定场景业务对应的模型算法,并根据所述样本库和特征库中符合该特定场景业务的用户信息,通过该特定场景业务对应的模型算法进行建模。Receiving a modeling instruction of the specific scenario service, calling, by the configuration file, a model algorithm corresponding to the specific scenario service from the model algorithm library, and passing the user information corresponding to the specific scenario service in the sample library and the feature database Model algorithms corresponding to specific scenario services are modeled.
优选地,所述数据处理通用流程包括:对数据进行标准化操作,使数据符合离线平台的使用规范;对数据进行脏数据清洗,去除数据中的空值和异常值;及将数据格式转化为离线平台所使用的特定格式。Preferably, the general process of data processing includes: normalizing data to make the data conform to the usage specifications of the offline platform; cleaning the data with dirty data, removing null and outliers in the data; and converting the data format to offline The specific format used by the platform.
优选地,所述数据通用格式为窄表格式,且所述样本库采用窄表格式;Preferably, the data common format is a narrow table format, and the sample library adopts a narrow table format;
所述样本库包括多元通用模型平台建模所需的用户样本信息,并且通过所述数据处理通用流程,将建模所需的用户样本信息按照所述数据通用格式输入至样本库中;及The sample library includes user sample information required for modeling the multivariate general model platform, and the user sample information required for modeling is input into the sample library according to the data common format through the data processing general process; and
所述特征库为符合所述数据通用格式的窄表集合,所述窄表集合存储有用户特征信息。The feature library is a narrow table set conforming to the data common format, and the narrow table set stores user feature information.
优选地,所述多元通用模型平台建模系统被所述处理器执行时还用于实现如下步骤:Preferably, the multivariate universal model platform modeling system is further used to implement the following steps when executed by the processor:
判断样本库和特征库中的数据是否符合业务需求;及Determining whether the data in the sample library and the feature database meets the business requirements; and
所述判断样本库和特征库中的数据是否符合业务需求包括:The determining whether the data in the sample library and the feature library meets the business requirements includes:
判断样本库中是否存储有符合该特定场景业务的样本,判断特征库中的特征是否符合该特定场景业务。Determining whether a sample matching the service of the specific scenario is stored in the sample library, and determining whether the feature in the feature library conforms to the service of the specific scenario.
优选地,所述多元通用模型平台建模系统被所述处理器执行时还用于实现如下步骤:Preferably, the multivariate universal model platform modeling system is further used to implement the following steps when executed by the processor:
通过该特定场景业务对应的模型算法完成建模后,利用所述特征库中的用户特征信息进行模型训练和预测,从所述样本库中抽取符合特定特征的用户,并向抽取的用户推荐该特定场景业务。After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user. Specific scenario business.
此外,为实现上述目的,本申请还提供一种多元通用模型平台建模方法, 该方法应用于电子设备,所述方法包括:In addition, to achieve the above object, the present application further provides a multi-purpose universal model platform modeling method, which is applied to an electronic device, and the method includes:
建立数据处理通用流程,接入数据通用格式,根据所述数据处理通用流程和数据通用格式,针对预先存储的用户信息建立样本库和特征库;Establish a general process of data processing, access a general format of data, and establish a sample library and a feature library for pre-stored user information according to the general process of data processing and a common format of data;
建立处理多元场景业务的模型算法库,提供给预设的配置文件调用;及Establishing a model algorithm library for processing multi-scenario services, providing a preset configuration file call; and
接收特定场景业务的建模指令,通过所述配置文件从模型算法库中调用该特定场景业务对应的模型算法,并根据所述样本库和特征库中符合该特定场景业务的用户信息,通过该特定场景业务对应的模型算法进行建模。Receiving a modeling instruction of the specific scenario service, calling, by the configuration file, a model algorithm corresponding to the specific scenario service from the model algorithm library, and passing the user information corresponding to the specific scenario service in the sample library and the feature database Model algorithms corresponding to specific scenario services are modeled.
优选地,所述数据处理通用流程包括:对数据进行标准化操作,使数据符合离线平台的使用规范;对数据进行脏数据清洗,去除数据中的空值和异常值;及将数据格式转化为离线平台所使用的特定格式。Preferably, the general process of data processing includes: normalizing data to make the data conform to the usage specifications of the offline platform; cleaning the data with dirty data, removing null and outliers in the data; and converting the data format to offline The specific format used by the platform.
优选地,所述数据通用格式为窄表格式,且所述样本库采用窄表格式;Preferably, the data common format is a narrow table format, and the sample library adopts a narrow table format;
所述样本库包括多元通用模型平台建模所需的用户样本信息,并且通过所述数据处理通用流程,将建模所需的用户样本信息按照所述数据通用格式输入至样本库中;及The sample library includes user sample information required for modeling the multivariate general model platform, and the user sample information required for modeling is input into the sample library according to the data common format through the data processing general process; and
所述特征库为符合所述数据通用格式的窄表集合,所述窄表集合存储有用户特征信息。The feature library is a narrow table set conforming to the data common format, and the narrow table set stores user feature information.
优选地,该方法还包括步骤:Preferably, the method further comprises the steps of:
判断样本库和特征库中的数据是否符合业务需求,所述判断样本库和特征库中的数据是否符合业务需求包括:判断样本库中是否存储有符合该特定场景业务的样本,判断特征库中的特征是否符合该特定场景业务;及Determining whether the data in the sample library and the feature library meets the business requirement, and determining whether the data in the sample library and the feature database meets the business requirement comprises: determining whether the sample in the sample library stores the service corresponding to the specific scenario, and determining the feature database Whether the characteristics are consistent with the business of the particular scenario; and
通过该特定场景业务对应的模型算法完成建模后,利用所述特征库中的用户特征信息进行模型训练和预测,从所述样本库中抽取符合特定特征的用户,并向抽取的用户推荐该特定场景业务。After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user. Specific scenario business.
进一步地,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有多元通用模型平台建模系统,所述多元通用 模型平台建模系统可被至少一个处理器执行,以使所述至少一个处理器执行如上述的多元通用模型平台建模方法的步骤。Further, in order to achieve the above object, the present application further provides a computer readable storage medium storing a multivariate general model platform modeling system, and the multivariate universal model platform modeling system may be at least one The processor executes to cause the at least one processor to perform the steps of the multivariate general model platform modeling method as described above.
相较于现有技术,本申请所提出的电子设备、多元通用模型平台建模方法及计算机可读存储介质,通过建立多元通用模型算法库,快速接入建模业务,节省成本;另外,将不同类型的模型算法加入统一的模型平台,可水平无限拓展,使用者无需编码基础或Spark大数据基础,能够快速利用多元通用模型平台建模;进一步地,通过预设的参数配置文件,本申请实现了资源参数和模型参数的积累,并输出阶段性分析结果。Compared with the prior art, the electronic device, the multi-purpose universal model platform modeling method and the computer readable storage medium proposed by the present application can quickly access the modeling service by establishing a multi-purpose general model algorithm library, thereby saving costs; Different types of model algorithms are added to the unified model platform, which can be expanded infinitely. Users can quickly use the multi-purpose general model platform to model without the coding foundation or Spark big data foundation. Further, through the preset parameter configuration file, this application The accumulation of resource parameters and model parameters is realized, and the results of the phase analysis are output.
附图说明DRAWINGS
图1是本申请电子设备一可选的硬件架构的示意图;1 is a schematic diagram of an optional hardware architecture of an electronic device of the present application;
图2是本申请电子设备中多元通用模型平台建模系统一实施例的程序模块示意图;2 is a schematic diagram of a program module of an embodiment of a multi-purpose universal model platform modeling system in an electronic device of the present application;
图3为本申请多元通用模型平台建模方法一实施例的实施流程示意图。FIG. 3 is a schematic diagram of an implementation process of an embodiment of a multi-purpose universal model platform modeling method according to the present application.
附图标记:Reference mark:
电子设备 Electronic equipment 22
存储器Memory 21twenty one
处理器processor 22twenty two
网络接口Network Interface 23twenty three
多元通用模型平台建模系统Multivariate universal model platform modeling system 2020
第一创建模块 First creation module 201201
第二创建模块 Second creation module 202202
第三创建模块 Third creation module 203203
流程步骤Process step S31-S33S31-S33
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the descriptions of "first", "second" and the like in the present application are for the purpose of description only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. . Thus, features defining "first" and "second" may include at least one of the features, either explicitly or implicitly. In addition, the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. Nor is it within the scope of protection required by this application.
进一步需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is further to be understood that the term "comprises", "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a And includes other elements not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
首先,本申请提出一种电子设备2。First of all, the present application proposes an electronic device 2.
参阅图1所示,是本申请电子设备2一可选的硬件架构的示意图。本实施例中,所述电子设备2可包括,但不限于,可通过系统总线相互通信连接 存储器21、处理器22、网络接口23。需要指出的是,图1仅示出了具有组件21-23的电子设备2,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。Referring to FIG. 1, it is a schematic diagram of an optional hardware architecture of the electronic device 2 of the present application. In this embodiment, the electronic device 2 may include, but is not limited to, a memory 21, a processor 22, and a network interface 23 that can communicate with each other through a system bus. It is pointed out that FIG. 1 only shows the electronic device 2 with the components 21-23, but it should be understood that not all illustrated components are required to be implemented, and more or fewer components may be implemented instead.
其中,所述电子设备2可以是机架式服务器、刀片式服务器、塔式服务器或机柜式服务器等计算设备,该电子设备2可以是独立的服务器,也可以是多个服务器所组成的服务器集群。The electronic device 2 may be a computing device such as a rack server, a blade server, a tower server, or a rack server. The electronic device 2 may be an independent server or a server cluster composed of multiple servers. .
所述存储器21至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器21可以是所述电子设备2的内部存储单元,例如该电子设备2的硬盘或内存。在另一些实施例中,所述存储器21也可以是所述电子设备2的外部存储设备,例如该电子设备2上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器21还可以既包括所述电子设备2的内部存储单元也包括其外部存储设备。本实施例中,所述存储器21通常用于存储安装于所述电子设备2的操作系统和各类应用软件,例如所述多元通用模型平台建模系统20的程序代码等。此外,所述存储器21还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 21 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static Random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like. In some embodiments, the memory 21 may be an internal storage unit of the electronic device 2, such as a hard disk or memory of the electronic device 2. In other embodiments, the memory 21 may also be an external storage device of the electronic device 2, such as a plug-in hard disk equipped on the electronic device 2, a smart memory card (SMC), and a secure digital device. (Secure Digital, SD) card, flash card, etc. Of course, the memory 21 may also include both an internal storage unit of the electronic device 2 and an external storage device thereof. In this embodiment, the memory 21 is generally used to store an operating system installed in the electronic device 2 and various types of application software, such as program code of the multi-purpose general model platform modeling system 20, and the like. Further, the memory 21 can also be used to temporarily store various types of data that have been output or are to be output.
所述处理器22在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器22通常用于控制所述电子设备2的总体操作,例如执行与所述电子设备2进行数据交互或者通信相关的控制和处理等。本实施例中,所述处理器22用于运行所述存储器21中存储的程序代码或者处理数据,例如运行所述的多元通用模型平台建模系统20等。The processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 22 is typically used to control the overall operation of the electronic device 2, such as performing control and processing related to data interaction or communication with the electronic device 2. In this embodiment, the processor 22 is configured to run program code or process data stored in the memory 21, such as running the multi-purpose general model platform modeling system 20 and the like.
所述网络接口23可包括无线网络接口或有线网络接口,该网络接口23 通常用于在所述电子设备2与其他电子设备之间建立通信连接。例如,所述网络接口23用于通过网络将所述电子设备2与外部数据平台相连,在所述电子设备2与外部数据平台之间的建立数据传输通道和通信连接。所述网络可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System of Mobile communication,GSM)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi等无线或有线网络。The network interface 23 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the electronic device 2 and other electronic devices. For example, the network interface 23 is configured to connect the electronic device 2 to an external data platform through a network, and establish a data transmission channel and a communication connection between the electronic device 2 and an external data platform. The network may be an intranet, an Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, or a 5G network. Wireless or wired networks such as network, Bluetooth, Wi-Fi, etc.
至此,己经详细介绍了本申请各个实施例的应用环境和相关设备的硬件结构和功能。下面,将基于上述应用环境和相关设备,提出本申请的各个实施例。So far, the application environment of the various embodiments of the present application and the hardware structure and functions of related devices have been described in detail. Hereinafter, various embodiments of the present application will be proposed based on the above-described application environment and related devices.
参阅图2所示,是本申请电子设备2中多元通用模型平台建模系统20一实施例的程序模块图。本实施例中,所述的多元通用模型平台建模系统20可以被分割成一个或多个程序模块,所述一个或者多个程序模块被存储于所述存储器21中,并由一个或多个处理器(本实施例中为所述处理器22)所执行,以完成本申请。例如,在图2中,所述的多元通用模型平台建模系统20可以被分割成第一创建模块201、第二创建模块202、以及第三创建模块203。本申请所称的程序模块是指能够完成特定功能的一系列计算机程序指令段,比程序更适合于描述所述多元通用模型平台建模系统20在所述电子设备2中的执行过程。以下将就各程序模块201-203的功能进行详细描述。Referring to FIG. 2, it is a program module diagram of an embodiment of a multi-purpose universal model platform modeling system 20 in the electronic device 2 of the present application. In this embodiment, the multivariate universal model platform modeling system 20 may be divided into one or more program modules, and the one or more program modules are stored in the memory 21 and are composed of one or more The processor (which is the processor 22 in this embodiment) is executed to complete the application. For example, in FIG. 2, the multivariate universal model platform modeling system 20 can be segmented into a first creation module 201, a second creation module 202, and a third creation module 203. A program module as referred to in this application refers to a series of computer program instructions that are capable of performing a particular function, and are more suitable than the program to describe the execution of the multi-purpose model platform modeling system 20 in the electronic device 2. The function of each program module 201-203 will be described in detail below.
所述第一创建模块201,用于建立数据处理通用流程,接入数据通用格式,根据所述数据处理通用流程和数据通用格式,针对预先存储的用户信息建立样本库和特征库,以实现不同场景业务之间的特征共享。其中,所述不同场景业务可以是互联网场景业务与金融场景业务。The first creating module 201 is configured to establish a general process of data processing, access a general format of data, and establish a sample library and a feature library for pre-stored user information according to the data processing general process and the data common format to implement different Feature sharing between scene services. The different scenario services may be an Internet scenario service and a financial scenario service.
优选地,在本实施例中,所述数据处理通用流程包括,但不限于:对数据(如用户信息)进行标准化操作,使数据符合离线平台的使用规范;对数 据进行脏数据清洗,去除数据中的空值和异常值;并且将数据格式转化为离线平台所使用的特定格式。其中,在本实施例中,所述离线平台所使用的特定格式可以采用窄表格式,如KV(Key-Value,键值)窄表格式,即KV数据库的表格形式。Preferably, in the embodiment, the general process of data processing includes, but is not limited to, standardizing operations on data (such as user information), conforming the data to the usage specifications of the offline platform, and performing dirty data cleaning on the data to remove data. Null and outliers in ; and convert the data format to the specific format used by the offline platform. In this embodiment, the specific format used by the offline platform may adopt a narrow table format, such as a KV (Key-Value) key table format, that is, a table form of a KV database.
优选地,在本实施例中,所述数据通用格式为窄表格式。目前通常使用的表格都是宽表格式,而宽表格式的表格数据共享性较差。为了数据共享以及方便管理,本实施例中采用一种通用的数据格式KV表(窄表格式)。Preferably, in this embodiment, the data common format is a narrow table format. The tables currently in use are all in a wide table format, while the table data in a wide table format is poorly shared. For data sharing and convenient management, a general data format KV table (narrow table format) is used in this embodiment.
优选地,在本实施例中,所述样本库采用窄表格式(如KV表),包括但不限于:多元通用模型平台建模所需的用户样本信息,如用户标签(Label)、用户名(User)、及业务类型或项目类型(Item)。其中,在本实施例中,通过所述数据处理通用流程,将建模所需的用户样本信息(如用户标签、用户名、及业务类型)按照所述数据通用格式输入至样本库中。所述用户样本信息可以是Spark大数据信息。Preferably, in this embodiment, the sample library adopts a narrow table format (such as a KV table), including but not limited to: user sample information required for modeling the multi-purpose general model platform, such as a user label (Label), a user name. (User), and business type or item type (Item). In this embodiment, the user sample information (such as user tag, user name, and service type) required for modeling is input into the sample library according to the data common format by using the data processing general process. The user sample information may be Spark big data information.
优选地,在本实施例中,所述特征库为符合所述数据通用格式的窄表集合(如KV表集合),所述窄表集合存储有用户特征信息(如用户画像特征)。需要说明的是,某些业务场景无法采用标准特征库满足建模需求,本实施例针对多元场景制作不同场景业务下特定的用户画像特征(如年龄、身高、性别、地域、用户偏好等)。例如,在互联网场景业务中,需要用到广告画像,心跳特征等互联网用户画像特征,则可以将这些互联网场景业务下的用户画像特征设置为窄表集合的形式,存入特征库中实现共享。Preferably, in this embodiment, the feature library is a narrow table set (such as a KV table set) that conforms to the data common format, and the narrow table set stores user feature information (such as a user portrait feature). It should be noted that some service scenarios cannot meet the modeling requirements by using the standard feature database. In this embodiment, specific user image features (such as age, height, gender, region, user preference, etc.) under different scenario services are generated for the multi-scenario scenario. For example, in an Internet scene service, if an Internet user portrait feature such as an advertisement image or a heartbeat feature is required, the user portrait feature under these Internet scene services can be set to a narrow table set and stored in the feature library for sharing.
所述第二创建模块202,用于建立处理多元场景业务的模型算法库,提供给预设的配置文件调用,从而实现快速建模。其中,所述模型算法库包括处理不同场景业务的模型算法。优选地,在本实施例中,所述模型算法库可以接入LR(Logistic Regression,逻辑回归)模型、GBDT(Gradient Boosting Decision Tree,梯度提升决策树)模型、随机森林模型、以及K-Means聚类算 法等,以实现多场景业务的处理功能,如互联网场景下的CTR(Click-Through-Rate,点击通过率)点击预测功能,金融场景下用户群体分析功能等多元个性化业务分析需求。The second creating module 202 is configured to establish a model algorithm library for processing the multi-scenario service, and provide the preset configuration file call, thereby implementing rapid modeling. The model algorithm library includes a model algorithm for processing services in different scenarios. Preferably, in this embodiment, the model algorithm library can access an LR (Logistic Regression) model, a GBD (Gradient Boosting Decision Tree) model, a random forest model, and a K-Means aggregation. Class algorithms, etc., to achieve multi-scene business processing functions, such as CTR (Click-Through-Rate) click prediction function in the Internet scenario, user group analysis function in financial scenarios, and other multi-personalized business analysis requirements.
所述第三创建模块203,用于接收特定场景业务的建模指令,通过所述配置文件(只需修改参数)从模型算法库中调用该特定场景业务对应的模型算法,并根据所述样本库和特征库中符合该特定场景业务的用户信息(如果所述样本库和特征库中的数据符合业务需求),通过该特定场景业务对应的模型算法进行建模。所述用户信息包括用户样本信息和用户特征信息。The third creating module 203 is configured to receive a modeling instruction of a specific scenario service, and invoke, by using the configuration file (just modifying a parameter), a model algorithm corresponding to the specific scenario service from the model algorithm library, and according to the sample The user information of the library and the feature library that conforms to the service of the specific scenario (if the data in the sample library and the feature library meets the business requirements) is modeled by the model algorithm corresponding to the service of the specific scenario. The user information includes user sample information and user feature information.
优选地,在本实施例中,通过修改配置文件中的参数,如所选择算法名称、所使用样本表名称和特征表名称等,使用者无需编码基础或Spark大数据基础,能够快速利用多元通用模型平台建模。Preferably, in this embodiment, by modifying parameters in the configuration file, such as the selected algorithm name, the sample table name used, and the feature table name, the user can quickly utilize the multi-generic universal without coding base or Spark big data foundation. Model platform modeling.
优选地,在本实施例中,所述第三创建模块203还用于:判断样本库和特征库中的数据是否符合业务需求。其中,所述判断样本库和特征库中的数据是否符合业务需求包括:判断样本库中是否存储有符合该特定场景业务的样本(如互联网场景下的CTR点击预测的样本);判断特征库中的特征是否符合该特定场景业务,例如,判断特征库中是否存储有符合互联网场景下的CTR点击预测业务需求的用户广告画像特征,心跳特征等。Preferably, in the embodiment, the third creating module 203 is further configured to: determine whether data in the sample library and the feature library meets a service requirement. The determining whether the data in the sample library and the feature database meets the business requirement comprises: determining whether a sample corresponding to the specific scenario service is stored in the sample library (such as a sample of CTR click prediction in an Internet scenario); Whether the feature conforms to the specific scenario service, for example, determining whether the feature image of the user, the heartbeat feature, etc., which meet the CTR click prediction service requirement in the Internet scenario are stored in the feature library.
举例而言,如果接收的特定场景业务为:分析特定用户是否有意愿使用特定的业务(如平安寿险业务)。所述模型算法库中处理该特定场景业务对应的模型算法为LR模型算法,则利用所述配置文件直接调取所需的LR模型算法进行建模。For example, if the specific scenario service received is: analyze whether a particular user is willing to use a specific service (such as Ping An Life Insurance). The model algorithm corresponding to the service of the specific scenario in the model algorithm library is an LR model algorithm, and the LR model algorithm required to directly retrieve the model is used for modeling.
进一步地,在其它实施例中,所述第三创建模块203还用于:Further, in other embodiments, the third creating module 203 is further configured to:
通过该特定场景业务对应的模型算法完成建模后,利用所述特征库中的 用户特征信息进行模型训练和预测,从所述样本库中抽取符合特定特征的用户,并向抽取的用户推荐该特定场景业务。After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user. Specific scenario business.
优选地,所述模型训练是指:从已有用户的特征中学习新的知识,建立用户的新特征。所述模型预测是指:对于一个未知用户,通过模型预测该未知用户是否会使用该特定场景业务(如寿险业务)。Preferably, the model training refers to: learning new knowledge from characteristics of existing users, and establishing new features of the user. The model prediction means that, for an unknown user, the model predicts whether the unknown user will use the specific scenario service (such as life insurance business).
优选地,所述从所述样本库中抽取符合特定特征的用户包括:通过特征重要性分析,确定与该特定场景业务相关的特定特征(即重要特征,如年龄大于30岁、用户偏好有购买保险的记录、或电话咨询过寿险业务等),并从所述样本库中抽取具有该特定特征的用户。Preferably, the extracting the user that meets the specific feature from the sample library comprises: determining, by feature importance analysis, specific features related to the specific scenario service (ie, important features, such as age greater than 30 years old, user preference to purchase A record of insurance, or a telephone consultation with a life insurance business, etc., and a user having the particular feature is extracted from the sample library.
进一步地,在其它实施例中,所述第三创建模块203还用于:Further, in other embodiments, the third creating module 203 is further configured to:
对模型预测效果进行分析(如推荐反馈率和成功率等分析),并将分析结果反馈至其它应用接口。Analyze the effect of model prediction (such as analysis of recommended feedback rate and success rate) and feed the analysis results to other application interfaces.
通过上述程序模块201-203,本申请所提出的多元通用模型平台建模系统20,通过建立多元通用模型算法库,快速接入建模业务,节省成本;另外,将不同类型的模型算法加入统一的模型平台,可水平无限拓展,使用者无需编码基础或Spark大数据基础,能够快速利用多元通用模型平台建模;进一步地,通过预设的参数配置文件,本申请实现了资源参数和模型参数的积累,并输出阶段性分析结果。Through the above program modules 201-203, the multivariate general model platform modeling system 20 proposed by the present application can quickly access the modeling service by establishing a multivariate general model algorithm library, thereby saving costs; in addition, adding different types of model algorithms to the unified The model platform can be expanded infinitely. The user can quickly use the multi-generic model platform to model without the coding foundation or the Spark big data foundation. Further, the resource parameters and model parameters are realized by the preset parameter configuration file. Accumulate and output the results of the phase analysis.
此外,本申请还提出一种多元通用模型平台建模方法。In addition, the present application also proposes a multivariate general model platform modeling method.
参阅图3所示,是本申请多元通用模型平台建模方法一实施例的实施流程示意图。在本实施例中,根据不同的需求,图3所示的流程图中的步骤的执行顺序可以改变,某些步骤可以省略。Referring to FIG. 3, it is a schematic diagram of an implementation process of an embodiment of a multi-purpose universal model platform modeling method of the present application. In this embodiment, the order of execution of the steps in the flowchart shown in FIG. 3 may be changed according to different requirements, and some steps may be omitted.
步骤S31,建立数据处理通用流程,接入数据通用格式,根据所述数据处 理通用流程和数据通用格式,针对预先存储的用户信息建立样本库和特征库,以实现不同场景业务之间的特征共享。其中,所述不同场景业务可以是互联网场景业务与金融场景业务。Step S31, establishing a general process of data processing, accessing a general format of data, and establishing a sample library and a feature library for pre-stored user information according to the general process of data processing and a common format of data, so as to realize feature sharing between services in different scenarios. . The different scenario services may be an Internet scenario service and a financial scenario service.
优选地,在本实施例中,所述数据处理通用流程包括,但不限于:对数据(如用户信息)进行标准化操作,使数据符合离线平台的使用规范;对数据进行脏数据清洗,去除数据中的空值和异常值;并且将数据格式转化为离线平台所使用的特定格式。其中,在本实施例中,所述离线平台所使用的特定格式可以采用窄表格式,如KV(Key-Value,键值)窄表格式,即KV数据库的表格形式。Preferably, in the embodiment, the general process of data processing includes, but is not limited to, standardizing operations on data (such as user information), conforming the data to the usage specifications of the offline platform, and performing dirty data cleaning on the data to remove data. Null and outliers in ; and convert the data format to the specific format used by the offline platform. In this embodiment, the specific format used by the offline platform may adopt a narrow table format, such as a KV (Key-Value) key table format, that is, a table form of a KV database.
优选地,在本实施例中,所述数据通用格式为窄表格式。目前通常使用的表格都是宽表格式,而宽表格式的表格数据共享性较差。为了数据共享以及方便管理,本实施例中采用一种通用的数据格式KV表(窄表格式)。Preferably, in this embodiment, the data common format is a narrow table format. The tables currently in use are all in a wide table format, while the table data in a wide table format is poorly shared. For data sharing and convenient management, a general data format KV table (narrow table format) is used in this embodiment.
优选地,在本实施例中,所述样本库采用窄表格式(如KV表),包括但不限于:多元通用模型平台建模所需的用户样本信息,如用户标签(Label)、用户名(User)、及业务类型或项目类型(Item)。其中,在本实施例中,通过所述数据处理通用流程,将建模所需的用户样本信息(如用户标签、用户名、及业务类型)按照所述数据通用格式输入至样本库中。所述用户样本信息可以是Spark大数据信息。Preferably, in this embodiment, the sample library adopts a narrow table format (such as a KV table), including but not limited to: user sample information required for modeling the multi-purpose general model platform, such as a user label (Label), a user name. (User), and business type or item type (Item). In this embodiment, the user sample information (such as user tag, user name, and service type) required for modeling is input into the sample library according to the data common format by using the data processing general process. The user sample information may be Spark big data information.
优选地,在本实施例中,所述特征库为符合所述数据通用格式的窄表集合(如KV表集合),所述窄表集合存储有用户特征信息(如用户画像特征)。需要说明的是,某些业务场景无法采用标准特征库满足建模需求,本实施例针对多元场景制作不同场景业务下特定的用户画像特征(如年龄、身高、性别、地域、用户偏好等)。例如,在互联网场景业务中,需要用到广告画像,心跳特征等互联网用户画像特征,则可以将这些互联网场景业务下的用户画像特征设置为窄表集合的形式,存入特征库中实现共享。Preferably, in this embodiment, the feature library is a narrow table set (such as a KV table set) that conforms to the data common format, and the narrow table set stores user feature information (such as a user portrait feature). It should be noted that some service scenarios cannot meet the modeling requirements by using the standard feature database. In this embodiment, specific user image features (such as age, height, gender, region, user preference, etc.) under different scenario services are generated for the multi-scenario scenario. For example, in an Internet scene service, if an Internet user portrait feature such as an advertisement image or a heartbeat feature is required, the user portrait feature under these Internet scene services can be set to a narrow table set and stored in the feature library for sharing.
步骤S32,建立处理多元场景业务的模型算法库,提供给预设的配置文件调用,从而实现快速建模。其中,所述模型算法库包括处理不同场景业务的模型算法。优选地,在本实施例中,所述模型算法库可以接入LR(Logistic Regression,逻辑回归)模型、GBDT(Gradient Boosting Decision Tree,梯度提升决策树)模型、随机森林模型、以及K-Means聚类算法等,以实现多场景业务的处理功能,如互联网场景下的CTR(Click-Through-Rate,点击通过率)点击预测功能,金融场景下用户群体分析功能等多元个性化业务分析需求。Step S32, establishing a model algorithm library for processing the multi-scenario service, and providing the preset configuration file call, thereby implementing rapid modeling. The model algorithm library includes a model algorithm for processing services in different scenarios. Preferably, in this embodiment, the model algorithm library can access an LR (Logistic Regression) model, a GBD (Gradient Boosting Decision Tree) model, a random forest model, and a K-Means aggregation. Class algorithms, etc., to achieve multi-scene business processing functions, such as CTR (Click-Through-Rate) click prediction function in the Internet scenario, user group analysis function in financial scenarios, and other multi-personalized business analysis requirements.
步骤S33,接收特定场景业务的建模指令,通过所述配置文件(只需修改参数)从模型算法库中调用该特定场景业务对应的模型算法,并根据所述样本库和特征库中符合该特定场景业务的用户信息(如果所述样本库和特征库中的数据符合业务需求),通过该特定场景业务对应的模型算法进行建模。所述用户信息包括用户样本信息和用户特征信息。Step S33, receiving a modeling instruction of a specific scenario service, calling, by using the configuration file (just modifying the parameter), a model algorithm corresponding to the specific scenario service from the model algorithm library, and conforming to the sample library and the feature library according to the User information of a specific scenario service (if the data in the sample library and the feature library meets business requirements), and modeled by a model algorithm corresponding to the specific scenario service. The user information includes user sample information and user feature information.
优选地,在本实施例中,通过修改配置文件中的参数,如所选择算法名称、所使用样本表名称和特征表名称等,使用者无需编码基础或Spark大数据基础,能够快速利用多元通用模型平台建模。Preferably, in this embodiment, by modifying parameters in the configuration file, such as the selected algorithm name, the sample table name used, and the feature table name, the user can quickly utilize the multi-generic universal without coding base or Spark big data foundation. Model platform modeling.
优选地,在本实施例中,还包括判断样本库和特征库中的数据是否符合业务需求的步骤。其中,所述判断样本库和特征库中的数据是否符合业务需求包括:判断样本库中是否存储有符合该特定场景业务的样本(如互联网场景下的CTR点击预测的样本);判断特征库中的特征是否符合该特定场景业务,例如,判断特征库中是否存储有符合互联网场景下的CTR点击预测业务需求的用户广告画像特征,心跳特征等。Preferably, in this embodiment, the step of determining whether the data in the sample library and the feature library meets the service requirement is further included. The determining whether the data in the sample library and the feature database meets the business requirement comprises: determining whether a sample corresponding to the specific scenario service is stored in the sample library (such as a sample of CTR click prediction in an Internet scenario); Whether the feature conforms to the specific scenario service, for example, determining whether the feature image of the user, the heartbeat feature, etc., which meet the CTR click prediction service requirement in the Internet scenario are stored in the feature library.
举例而言,如果接收的特定场景业务为:分析特定用户是否有意愿使用特定的业务(如平安寿险业务)。所述模型算法库中处理该特定场景业务对应的模型算法为LR模型算法,则利用所述配置文件直接调取所需的LR模型算法 进行建模。For example, if the specific scenario service received is: analyze whether a particular user is willing to use a specific service (such as Ping An Life Insurance). The model algorithm corresponding to the service of the specific scene in the model algorithm library is an LR model algorithm, and the required LR model algorithm is directly used to perform modeling by using the configuration file.
进一步地,在其它实施例中,所述多元通用模型平台建模方法还包括如下步骤:Further, in other embodiments, the multivariate universal model platform modeling method further includes the following steps:
通过该特定场景业务对应的模型算法完成建模后,利用所述特征库中的用户特征信息进行模型训练和预测,从所述样本库中抽取符合特定特征的用户,并向抽取的用户推荐该特定场景业务。After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user. Specific scenario business.
优选地,所述模型训练是指:从已有用户的特征中学习新的知识,建立用户的新特征。所述模型预测是指:对于一个未知用户,通过模型预测该未知用户是否会使用该特定场景业务(如寿险业务)。Preferably, the model training refers to: learning new knowledge from characteristics of existing users, and establishing new features of the user. The model prediction means that, for an unknown user, the model predicts whether the unknown user will use the specific scenario service (such as life insurance business).
优选地,所述从所述样本库中抽取符合特定特征的用户包括:通过特征重要性分析,确定与该特定场景业务相关的特定特征(即重要特征,如年龄大于30岁、用户偏好有购买保险的记录、或电话咨询过寿险业务等),并从所述样本库中抽取具有该特定特征的用户。Preferably, the extracting the user that meets the specific feature from the sample library comprises: determining, by feature importance analysis, specific features related to the specific scenario service (ie, important features, such as age greater than 30 years old, user preference to purchase A record of insurance, or a telephone consultation with a life insurance business, etc., and a user having the particular feature is extracted from the sample library.
进一步地,在其它实施例中,所述多元通用模型平台建模方法还包括如下步骤:Further, in other embodiments, the multivariate universal model platform modeling method further includes the following steps:
对模型预测效果进行分析(如推荐反馈率和成功率等分析),并将分析结果反馈至其它应用接口。Analyze the effect of model prediction (such as analysis of recommended feedback rate and success rate) and feed the analysis results to other application interfaces.
通过上述步骤S31-S33及其它相关步骤,本申请所提出的多元通用模型平台建模方法,通过建立多元通用模型算法库,快速接入建模业务,节省成本;另外,将不同类型的模型算法加入统一的模型平台,可水平无限拓展,使用者无需编码基础或Spark大数据基础,能够快速利用多元通用模型平台建模;进一步地,通过预设的参数配置文件,本申请实现了资源参数和模型参数的积累,并输出阶段性分析结果。Through the above steps S31-S33 and other related steps, the multivariate general model platform modeling method proposed by the present application can quickly access the modeling service by establishing a multivariate general model algorithm library, and save costs; in addition, different types of model algorithms are used. Joining a unified model platform, the level can be expanded infinitely. The user can quickly use the multi-purpose general model platform to model without the coding foundation or Spark big data foundation. Further, through the preset parameter configuration file, the application implements the resource parameters and The accumulation of model parameters and the output of phased analysis results.
进一步地,为实现上述目的,本申请还提供一种计算机可读存储介质(如ROM/RAM、磁碟、光盘),所述计算机可读存储介质存储有多元通用模型平台建模系统20,所述多元通用模型平台建模系统20可被至少一个处理器22执行,以使所述至少一个处理器22执行如上所述的多元通用模型平台建模方法的步骤。Further, in order to achieve the above object, the present application further provides a computer readable storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), where the computer readable storage medium stores a multivariate universal model platform modeling system 20, The multivariate universal model platform modeling system 20 can be executed by at least one processor 22 to cause the at least one processor 22 to perform the steps of the multivariate general model platform modeling method as described above.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件来实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and can also be implemented by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.
以上参照附图说明了本申请的优选实施例,并非因此局限本申请的权利范围。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。另外,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The preferred embodiments of the present application have been described above with reference to the drawings, and are not intended to limit the scope of the application. The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments. Additionally, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
本领域技术人员不脱离本申请的范围和实质,可以有多种变型方案实现本申请,比如作为一个实施例的特征可用于另一实施例而得到又一实施例。凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。A person skilled in the art can implement the present application in various variants without departing from the scope and spirit of the present application. For example, the features of one embodiment can be used in another embodiment to obtain another embodiment. The equivalent structure or equivalent process transformations made by the present specification and the contents of the drawings, or directly or indirectly applied to other related technical fields, are all included in the scope of patent protection of the present application.

Claims (20)

  1. 一种电子设备,其特征在于,所述电子设备包括存储器及处理器,所述存储器上存储有可在所述处理器上运行的多元通用模型平台建模系统,所述多元通用模型平台建模系统被所述处理器执行时实现如下步骤:An electronic device, comprising: a memory and a processor, wherein the memory stores a multivariate universal model platform modeling system operable on the processor, the multivariate universal model platform modeling The system implements the following steps when executed by the processor:
    建立数据处理通用流程,接入数据通用格式,根据所述数据处理通用流程和数据通用格式,针对预先存储的用户信息建立样本库和特征库;Establish a general process of data processing, access a general format of data, and establish a sample library and a feature library for pre-stored user information according to the general process of data processing and a common format of data;
    建立处理多元场景业务的模型算法库,提供给预设的配置文件调用;及Establishing a model algorithm library for processing multi-scenario services, providing a preset configuration file call; and
    接收特定场景业务的建模指令,通过所述配置文件从模型算法库中调用该特定场景业务对应的模型算法,并根据所述样本库和特征库中符合该特定场景业务的用户信息,通过该特定场景业务对应的模型算法进行建模。Receiving a modeling instruction of the specific scenario service, calling, by the configuration file, a model algorithm corresponding to the specific scenario service from the model algorithm library, and passing the user information corresponding to the specific scenario service in the sample library and the feature database Model algorithms corresponding to specific scenario services are modeled.
  2. 如权利要求1所述的电子设备,其特征在于,所述数据处理通用流程包括:对数据进行标准化操作,使数据符合离线平台的使用规范;对数据进行脏数据清洗,去除数据中的空值和异常值;及将数据格式转化为离线平台所使用的特定格式。The electronic device according to claim 1, wherein the general process of data processing comprises: normalizing data to make the data conform to the usage specification of the offline platform; performing dirty data cleaning on the data to remove null values in the data; And outliers; and the specific format used to convert the data format to an offline platform.
  3. 如权利要求1所述的电子设备,其特征在于,所述数据通用格式为窄表格式,且所述样本库采用窄表格式;The electronic device according to claim 1, wherein the data common format is a narrow table format, and the sample library adopts a narrow table format;
    所述样本库包括多元通用模型平台建模所需的用户样本信息,并且通过所述数据处理通用流程,将建模所需的用户样本信息按照所述数据通用格式输入至样本库中;及The sample library includes user sample information required for modeling the multivariate general model platform, and the user sample information required for modeling is input into the sample library according to the data common format through the data processing general process; and
    所述特征库为符合所述数据通用格式的窄表集合,所述窄表集合存储有用户特征信息。The feature library is a narrow table set conforming to the data common format, and the narrow table set stores user feature information.
  4. 如权利要求3所述的电子设备,其特征在于,所述多元通用模型平台 建模系统被所述处理器执行时还用于实现如下步骤:The electronic device of claim 3, wherein the multivariate universal model platform modeling system is further configured to implement the following steps when executed by the processor:
    判断样本库和特征库中的数据是否符合业务需求;及Determining whether the data in the sample library and the feature database meets the business requirements; and
    所述判断样本库和特征库中的数据是否符合业务需求包括:The determining whether the data in the sample library and the feature library meets the business requirements includes:
    判断样本库中是否存储有符合该特定场景业务的样本,判断特征库中的特征是否符合该特定场景业务。Determining whether a sample matching the service of the specific scenario is stored in the sample library, and determining whether the feature in the feature library conforms to the service of the specific scenario.
  5. 如权利要求1所述的电子设备,其特征在于,所述多元通用模型平台建模系统被所述处理器执行时还用于实现如下步骤:The electronic device according to claim 1, wherein the multivariate universal model platform modeling system is further used to implement the following steps when executed by the processor:
    通过该特定场景业务对应的模型算法完成建模后,利用所述特征库中的用户特征信息进行模型训练和预测,从所述样本库中抽取符合特定特征的用户,并向抽取的用户推荐该特定场景业务。After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user. Specific scenario business.
  6. 如权利要求2所述的电子设备,其特征在于,所述多元通用模型平台建模系统被所述处理器执行时还用于实现如下步骤:The electronic device according to claim 2, wherein the multivariate universal model platform modeling system is further used to implement the following steps when executed by the processor:
    通过该特定场景业务对应的模型算法完成建模后,利用所述特征库中的用户特征信息进行模型训练和预测,从所述样本库中抽取符合特定特征的用户,并向抽取的用户推荐该特定场景业务。After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user. Specific scenario business.
  7. 如权利要求3所述的电子设备,其特征在于,所述多元通用模型平台建模系统被所述处理器执行时还用于实现如下步骤:The electronic device according to claim 3, wherein the multivariate universal model platform modeling system is further used to implement the following steps when executed by the processor:
    通过该特定场景业务对应的模型算法完成建模后,利用所述特征库中的用户特征信息进行模型训练和预测,从所述样本库中抽取符合特定特征的用户,并向抽取的用户推荐该特定场景业务。After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user. Specific scenario business.
  8. 如权利要求4所述的电子设备,其特征在于,所述多元通用模型平台建模系统被所述处理器执行时还用于实现如下步骤:The electronic device according to claim 4, wherein the multivariate universal model platform modeling system is further used to implement the following steps when executed by the processor:
    通过该特定场景业务对应的模型算法完成建模后,利用所述特征库中的用户特征信息进行模型训练和预测,从所述样本库中抽取符合特定特征的用户,并向抽取的用户推荐该特定场景业务。After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user. Specific scenario business.
  9. 一种多元通用模型平台建模方法,应用于电子设备,其特征在于,所述方法包括:A multi-purpose universal model platform modeling method is applied to an electronic device, characterized in that the method comprises:
    建立数据处理通用流程,接入数据通用格式,根据所述数据处理通用流程和数据通用格式,针对预先存储的用户信息建立样本库和特征库;Establish a general process of data processing, access a general format of data, and establish a sample library and a feature library for pre-stored user information according to the general process of data processing and a common format of data;
    建立处理多元场景业务的模型算法库,提供给预设的配置文件调用;及Establishing a model algorithm library for processing multi-scenario services, providing a preset configuration file call; and
    接收特定场景业务的建模指令,通过所述配置文件从模型算法库中调用该特定场景业务对应的模型算法,并根据所述样本库和特征库中符合该特定场景业务的用户信息,通过该特定场景业务对应的模型算法进行建模。Receiving a modeling instruction of the specific scenario service, calling, by the configuration file, a model algorithm corresponding to the specific scenario service from the model algorithm library, and passing the user information corresponding to the specific scenario service in the sample library and the feature database Model algorithms corresponding to specific scenario services are modeled.
  10. 如权利要求9所述的多元通用模型平台建模方法,其特征在于,所述数据处理通用流程包括:对数据进行标准化操作,使数据符合离线平台的使用规范;对数据进行脏数据清洗,去除数据中的空值和异常值;及将数据格式转化为离线平台所使用的特定格式。The multivariate general model platform modeling method according to claim 9, wherein the general process of data processing comprises: normalizing data to make the data conform to the usage specification of the offline platform; and cleaning the data by dirty data. Null and outliers in the data; and the specific format used to convert the data format to an offline platform.
  11. 如权利要求9所述的多元通用模型平台建模方法,其特征在于,所述数据通用格式为窄表格式,且所述样本库采用窄表格式;The multivariate general model platform modeling method according to claim 9, wherein the data common format is a narrow table format, and the sample library adopts a narrow table format;
    所述样本库包括多元通用模型平台建模所需的用户样本信息,并且通过所述数据处理通用流程,将建模所需的用户样本信息按照所述数据通用格式输入至样本库中;及The sample library includes user sample information required for modeling the multivariate general model platform, and the user sample information required for modeling is input into the sample library according to the data common format through the data processing general process; and
    所述特征库为符合所述数据通用格式的窄表集合,所述窄表集合存储有用户特征信息。The feature library is a narrow table set conforming to the data common format, and the narrow table set stores user feature information.
  12. 如权利要求11所述的多元通用模型平台建模方法,其特征在于,该方法还包括步骤:The method of modeling a multivariate universal model platform according to claim 11, wherein the method further comprises the steps of:
    判断样本库和特征库中的数据是否符合业务需求,所述判断样本库和特征库中的数据是否符合业务需求包括:判断样本库中是否存储有符合该特定场景业务的样本,判断特征库中的特征是否符合该特定场景业务;及Determining whether the data in the sample library and the feature library meets the business requirement, and determining whether the data in the sample library and the feature database meets the business requirement comprises: determining whether the sample in the sample library stores the service corresponding to the specific scenario, and determining the feature database Whether the characteristics are consistent with the business of the particular scenario; and
    通过该特定场景业务对应的模型算法完成建模后,利用所述特征库中的用户特征信息进行模型训练和预测,从所述样本库中抽取符合特定特征的用户,并向抽取的用户推荐该特定场景业务。After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user. Specific scenario business.
  13. 如权利要求9所述的多元通用模型平台建模方法,其特征在于,所述多元通用模型平台建模系统被所述处理器执行时还用于实现如下步骤:The multivariate general model platform modeling method according to claim 9, wherein the multivariate general model platform modeling system is further used to implement the following steps when executed by the processor:
    通过该特定场景业务对应的模型算法完成建模后,利用所述特征库中的用户特征信息进行模型训练和预测,从所述样本库中抽取符合特定特征的用户,并向抽取的用户推荐该特定场景业务。After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user. Specific scenario business.
  14. 如权利要求10-12任一项所述的多元通用模型平台建模方法,其特征在于,所述多元通用模型平台建模系统被所述处理器执行时还用于实现如下步骤:The multivariate general model platform modeling method according to any one of claims 10 to 12, wherein the multivariate universal model platform modeling system is further used to implement the following steps when executed by the processor:
    通过该特定场景业务对应的模型算法完成建模后,利用所述特征库中的用户特征信息进行模型训练和预测,从所述样本库中抽取符合特定特征的用户,并向抽取的用户推荐该特定场景业务。After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user. Specific scenario business.
  15. 一种计算机可读存储介质,所述计算机可读存储介质存储有多元通用模型平台建模系统,所述多元通用模型平台建模系统可被至少一个处理器执行,所述多元通用模型平台建模系统被所述处理器执行时实现如下步骤:A computer readable storage medium storing a multivariate universal model platform modeling system executable by at least one processor, the multivariate universal model platform modeling The system implements the following steps when executed by the processor:
    建立数据处理通用流程,接入数据通用格式,根据所述数据处理通用流 程和数据通用格式,针对预先存储的用户信息建立样本库和特征库;Establishing a general process of data processing, accessing a general format of data, and establishing a sample library and a feature library for pre-stored user information according to the general process of data processing and a common format of data;
    建立处理多元场景业务的模型算法库,提供给预设的配置文件调用;及Establishing a model algorithm library for processing multi-scenario services, providing a preset configuration file call; and
    接收特定场景业务的建模指令,通过所述配置文件从模型算法库中调用该特定场景业务对应的模型算法,并根据所述样本库和特征库中符合该特定场景业务的用户信息,通过该特定场景业务对应的模型算法进行建模。Receiving a modeling instruction of the specific scenario service, calling, by the configuration file, a model algorithm corresponding to the specific scenario service from the model algorithm library, and passing the user information corresponding to the specific scenario service in the sample library and the feature database Model algorithms corresponding to specific scenario services are modeled.
  16. 如权利要求15所述的计算机可读存储介质,其特征在于,所述数据处理通用流程包括:对数据进行标准化操作,使数据符合离线平台的使用规范;对数据进行脏数据清洗,去除数据中的空值和异常值;及将数据格式转化为离线平台所使用的特定格式。The computer readable storage medium according to claim 15, wherein the general process of data processing comprises: normalizing data to conform to data usage specifications of the offline platform; cleaning data for dirty data, and removing data. Null and outliers; and the specific format used to convert the data format to an offline platform.
  17. 如权利要求15所述的计算机可读存储介质,其特征在于,所述数据通用格式为窄表格式,且所述样本库采用窄表格式;The computer readable storage medium of claim 15 wherein said data common format is a narrow table format and said sample library is in a narrow table format;
    所述样本库包括多元通用模型平台建模所需的用户样本信息,并且通过所述数据处理通用流程,将建模所需的用户样本信息按照所述数据通用格式输入至样本库中;及The sample library includes user sample information required for modeling the multivariate general model platform, and the user sample information required for modeling is input into the sample library according to the data common format through the data processing general process; and
    所述特征库为符合所述数据通用格式的窄表集合,所述窄表集合存储有用户特征信息。The feature library is a narrow table set conforming to the data common format, and the narrow table set stores user feature information.
  18. 如权利要求17所述的计算机可读存储介质,其特征在于,所述多元通用模型平台建模系统被所述处理器执行时还用于实现如下步骤:The computer readable storage medium of claim 17, wherein the multivariate universal model platform modeling system is further configured to implement the following steps when executed by the processor:
    判断样本库和特征库中的数据是否符合业务需求;及Determining whether the data in the sample library and the feature database meets the business requirements; and
    所述判断样本库和特征库中的数据是否符合业务需求包括:The determining whether the data in the sample library and the feature library meets the business requirements includes:
    判断样本库中是否存储有符合该特定场景业务的样本,判断特征库中的特征是否符合该特定场景业务。Determining whether a sample matching the service of the specific scenario is stored in the sample library, and determining whether the feature in the feature library conforms to the service of the specific scenario.
  19. 如权利要求15所述的计算机可读存储介质,其特征在于,所述多元通用模型平台建模系统被所述处理器执行时还用于实现如下步骤:The computer readable storage medium of claim 15, wherein the multivariate universal model platform modeling system is further configured to implement the following steps when executed by the processor:
    通过该特定场景业务对应的模型算法完成建模后,利用所述特征库中的用户特征信息进行模型训练和预测,从所述样本库中抽取符合特定特征的用户,并向抽取的用户推荐该特定场景业务。After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user. Specific scenario business.
  20. 如权利要求16或17或18所述的计算机可读存储介质,其特征在于,所述多元通用模型平台建模系统被所述处理器执行时还用于实现如下步骤:The computer readable storage medium according to claim 16 or 17 or 18, wherein the multivariate universal model platform modeling system is further used to implement the following steps when executed by the processor:
    通过该特定场景业务对应的模型算法完成建模后,利用所述特征库中的用户特征信息进行模型训练和预测,从所述样本库中抽取符合特定特征的用户,并向抽取的用户推荐该特定场景业务。After the modeling is completed by the model algorithm corresponding to the specific scenario service, the model training and prediction are performed by using the user feature information in the feature database, and the user who meets the specific feature is extracted from the sample library, and the user is recommended to the extracted user. Specific scenario business.
PCT/CN2018/076178 2017-09-30 2018-02-10 Multi-element universal model platform modeling method, electronic device, and computer readable storage medium WO2019061991A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710940520.4 2017-09-30
CN201710940520.4A CN107844634B (en) 2017-09-30 2017-09-30 Modeling method of multivariate general model platform, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2019061991A1 true WO2019061991A1 (en) 2019-04-04

Family

ID=61662036

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/076178 WO2019061991A1 (en) 2017-09-30 2018-02-10 Multi-element universal model platform modeling method, electronic device, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN107844634B (en)
WO (1) WO2019061991A1 (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108921375A (en) * 2018-05-18 2018-11-30 阿里巴巴集团控股有限公司 A kind of data processing method and device
EP3751477A4 (en) 2018-06-08 2021-11-03 Shanghai Cambricon Information Technology Co., Ltd General machine learning model, and model file generation and parsing method
CN109947800A (en) * 2018-08-01 2019-06-28 日海智能科技股份有限公司 Data processing method, device, equipment and medium
CN109359109B (en) * 2018-08-23 2022-05-27 创新先进技术有限公司 Data processing method and system based on distributed stream computing
CN109409922A (en) * 2018-08-31 2019-03-01 深圳壹账通智能科技有限公司 Data aggregate modeling method, device, computer equipment and storage medium
CN110909970A (en) * 2018-09-17 2020-03-24 北京京东金融科技控股有限公司 Credit scoring method and device
CN109614609B (en) * 2018-11-06 2023-05-05 创新先进技术有限公司 Model building method and device
CN109978465B (en) * 2019-03-29 2021-08-03 江苏满运软件科技有限公司 Goods source recommendation method and device, electronic equipment and storage medium
CN111797870A (en) * 2019-04-09 2020-10-20 Oppo广东移动通信有限公司 Optimization method and device of algorithm model, storage medium and electronic equipment
CN111915382A (en) * 2019-05-08 2020-11-10 阿里巴巴集团控股有限公司 Data processing method, system and device
CN112395436B (en) * 2019-08-14 2024-07-02 天津极豪科技有限公司 Bottom library input method and device
CN110765327A (en) * 2019-09-05 2020-02-07 深圳壹账通智能科技有限公司 Data analysis method, data analysis device, computer device, and storage medium
CN110781165B (en) * 2019-10-10 2022-02-25 支付宝(杭州)信息技术有限公司 Method, device and equipment for processing service data
CN113032374A (en) * 2019-12-24 2021-06-25 北京数聚鑫云信息技术有限公司 Data processing method, device, medium and equipment
CN111324608A (en) * 2020-02-14 2020-06-23 深圳前海微众银行股份有限公司 Model multiplexing method, device, equipment and storage medium
CN112036576B (en) * 2020-08-20 2024-09-10 第四范式(北京)技术有限公司 Data processing method and device based on data form and electronic equipment
CN112200538A (en) * 2020-10-10 2021-01-08 深圳前海微众银行股份有限公司 Data processing method, device, equipment and storage medium
CN112733015B (en) * 2020-12-30 2024-06-14 绿盟科技集团股份有限公司 User behavior analysis method, device, equipment and medium
CN112416982B (en) * 2021-01-25 2021-09-21 北京轻松筹信息技术有限公司 Method and device for calculating real-time user characteristics
CN113627010B (en) * 2021-08-05 2024-08-02 浙江吉利控股集团有限公司 Self-adaptive instantiation method and self-adaptive instantiation system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886203A (en) * 2014-03-24 2014-06-25 美商天睿信息系统(北京)有限公司 Automatic modeling system and method based on index prediction
US20150235143A1 (en) * 2003-12-30 2015-08-20 Kantrack Llc Transfer Learning For Predictive Model Development
CN107025509A (en) * 2016-02-01 2017-08-08 腾讯科技(深圳)有限公司 Decision system and method based on business model

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100361121C (en) * 2003-07-11 2008-01-09 北京直真节点技术开发有限公司 A universal object modeling method and universal object management system
US7349919B2 (en) * 2003-11-21 2008-03-25 International Business Machines Corporation Computerized method, system and program product for generating a data mining model
US7801836B2 (en) * 2006-09-27 2010-09-21 Infosys Technologies Ltd. Automated predictive data mining model selection using a genetic algorithm
CN103136031A (en) * 2011-12-01 2013-06-05 华迪计算机集团有限公司 Large-scale scene skill training simulation software of business model navigation
CN106844470B (en) * 2016-12-22 2020-04-24 国网福建省电力有限公司 Graphics display and analysis method of general field model based on SVG display technology
CN107103050A (en) * 2017-03-31 2017-08-29 海通安恒(大连)大数据科技有限公司 A kind of big data Modeling Platform and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150235143A1 (en) * 2003-12-30 2015-08-20 Kantrack Llc Transfer Learning For Predictive Model Development
CN103886203A (en) * 2014-03-24 2014-06-25 美商天睿信息系统(北京)有限公司 Automatic modeling system and method based on index prediction
CN107025509A (en) * 2016-02-01 2017-08-08 腾讯科技(深圳)有限公司 Decision system and method based on business model

Also Published As

Publication number Publication date
CN107844634A (en) 2018-03-27
CN107844634B (en) 2021-05-25

Similar Documents

Publication Publication Date Title
WO2019061991A1 (en) Multi-element universal model platform modeling method, electronic device, and computer readable storage medium
US11979433B2 (en) Highly scalable four-dimensional web-rendering geospatial data system for simulated worlds
US10572828B2 (en) Transfer learning and domain adaptation using distributable data models
US10656979B2 (en) Structural and temporal semantics heterogeneous information network (HIN) for process trace clustering
US11797877B2 (en) Automated self-healing of a computing process
WO2019134340A1 (en) Salary calculation method, application server, and computer readable storage medium
CN109522751B (en) Access right control method and device, electronic equipment and computer readable medium
US9116879B2 (en) Dynamic rule reordering for message classification
WO2019076062A1 (en) Function page customization method and application server
CN109543891B (en) Method and apparatus for establishing capacity prediction model, and computer-readable storage medium
JP2019519009A (en) Business customization device, method, system and storage medium based on data source
WO2019071959A1 (en) Channel addition method, application server, and computer readable storage medium
CN109472540B (en) Service processing method and device
CN113157947A (en) Knowledge graph construction method, tool, device and server
WO2019071964A1 (en) Enterprise relationship construction method, and application server
US9177319B1 (en) Ontology based customer support techniques
WO2019071897A1 (en) Real-time recommendation method, electronic device, and computer readable storage medium
US20230112332A1 (en) Multiple data labels within a backup system
WO2019071968A1 (en) Salary calculation method, application server, and computer readable storage medium
WO2019071958A1 (en) Cloud computing-based salary calculation method, application server, and computer readable storage medium
US9785724B2 (en) Secondary queue for index process
US20180260407A1 (en) Predicate based data deletion
CN116737693A (en) Data migration method and device, electronic equipment and computer readable storage medium
US11321637B2 (en) Transfer learning and domain adaptation using distributable data models
CN114186976A (en) Workflow transfer method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18862572

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29.09.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18862572

Country of ref document: EP

Kind code of ref document: A1