机器学习
晴天stick
这个作者很懒,什么都没留下…
展开
-
机器学习实战之逻辑回归(C++复现)
#ifndef LOGISTIC_H_#define LOGISTIC_H_#include<string>#include<opencv2/opencv.hpp>using cv::Mat;using std::string;void loadDataSet(string filePath, Mat& data, Mat& label);//...原创 2020-01-31 19:36:09 · 453 阅读 · 0 评论 -
机器学习实战之朴素贝叶斯估计(C++实现)
当前任务为文本分类//naiveBayes.h#ifndef NAIVEBAYES_H_#define NAIVEBAYES_H_#include<vector>#include<string>#include<set>#include<opencv2/opencv.hpp>using cv::Mat;using std::vec...原创 2020-01-28 20:53:02 · 1841 阅读 · 0 评论 -
机器学习实战之决策树(C++复现)
该方法为决策树ID3算法,针对 string 类型//decisiongTree.h#ifndef DECISIONTREE_H_#define DECISIONTREE_H_#include<string>#include<vector>#include<map>using std::string;using std::vector;usi...原创 2020-01-23 22:32:46 · 902 阅读 · 0 评论