A model training and a prediction method and a device based on the model training
A technology of model training and training modules, applied in the field of big data science, can solve the problem of low prediction accuracy of the model and achieve the effect of improving the prediction accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] figure 1 It is a schematic diagram of a model training process provided by an embodiment of the present invention, and the process includes:
[0040] S101: For each layer of sub-models of the model to be trained, identify whether the layer of sub-models is the last layer of sub-models of the model to be trained, if not, go to S102, if yes, go to S103.
[0041] The data quality detection method provided by the embodiment of the present invention is applied to an electronic device, and the electronic device may be a device such as a mobile phone, a personal computer (PC), or a tablet computer, or may be a device such as a server or a server cluster.
[0042] In the embodiment of the present invention, the model to be trained includes at least two layers of sub-models, and the algorithms corresponding to each layer of sub-models can be the same or different, for example: the model to be trained includes three layers of sub-models, and each layer of sub-models can correspon...
Embodiment 2
[0052] In order to ensure the effect of training each layer of sub-models, on the basis of the above-mentioned embodiments, in the embodiment of the present invention, each sample data that has contained positive or negative sample labels in the training set is input to the layer of sub-models In, before training the layer sub-model, the method also includes:
[0053] Judging whether the number of sample data in the training set is greater than a set number threshold;
[0054] If yes, proceed to the next steps;
[0055] If not, a warning message is issued.
[0056] Specifically, if the number of sample data for training the sub-model is too small, the accuracy of the sub-model will be reduced. In the embodiment of the present invention, in order to prevent the number of sample data for training the sub-model from being too small, the Before the sub-model is trained, it is judged whether the number of sample data in the training set is greater than the set number threshold; i...
Embodiment 3
[0058] image 3 A schematic diagram of a prediction process based on the above-mentioned model training process provided by an embodiment of the present invention, the process includes:
[0059] S301: Input the data to be detected into the trained model.
[0060] S302: Based on the trained model, output a result of predicting whether the data to be detected is positive sample data.
[0061] Specifically, after the model training is completed through the training set containing a large number of positive sample data and negative sample data, the data to be tested is input into the training model, and the trained model is based on each layer of sub-models that have been trained, and is completed according to the training Each sub-model of each layer determines the confidence of the data to be detected corresponding to the positive sample data, and when the confidence of the data to be detected corresponding to the positive sample data determined by the sub-model is greater than...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com