利用numpy实现的一些周志华《机器学习》(西瓜书)一书及 斯坦福cs229课程中的算法,宜配合西瓜书和cs229课件食用。并选择性实现了一些经典算法的简易版本,
如 按照陈天奇的slides实现的XGBRegressor。
Algorithm vs. RMSE |
sklearn-boston |
tinyml |
sklearn |
LinearRegression |
27.196 |
27.196 |
SGDRegressor |
27.246 |
27.231 |
DecisionTreeRegressor |
21.887 |
21.761 |
RandomForestRegressor |
21.142 |
21.142 |
GradientBoostRegressor |
16.778 |
16.106 |
XGBRegressor |
20.149 |
15.7 |
Algorithm vs. RMSE |
sklearn-breast_cancer |
tinyml |
sklearn |
NaiveBayes |
90.64% |
90.64% |
LogisticRegression |
92.98% |
92.98% |
LDA |
94.15% |
92.40% |
GDA |
92.40% |
93.57% |
SVC |
86.55% |
92.98% |
AdaboostClassifier |
92.40% |
92.40% |