Method for realizing support vector machine by MPI programming and OpenMP programming
A support vector machine and algorithm technology, applied in the field of machine learning, can solve the problems of high processor communication overhead, difficult programming, poor scalability, etc., and achieve the effect of solving large-scale classification problems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0048] The technical scheme adopted in the present invention is:
[0049] 1. SVM algorithm realizes classification
[0050] The specific steps of SVM algorithm classification:
[0051] 1) Count the total number of categories, record the label of the category at the same time, and count the number of samples of each category.
[0052] 2) Group samples belonging to the same class and store them consecutively.
[0053] 3) Calculate the weight C.
[0054] 4) Train n(n-1) / 2 models:
[0055] Initialize the nozero array for easy SV statistics;
[0056]During the training process, the sub-dataset needs to be reconstructed, and the characteristics of the sample remain unchanged, but the category of the sample needs to be changed to +1 / -1;
[0057] Training sub-dataset svm_train_one;
[0058] Count nozero. If nozero is already true, it will remain unchanged. If it is false, it will be changed to true.
[0059] 5) Output model, mainly to fill svm_model.
[0060] 6) Clear memory....
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