-
Notifications
You must be signed in to change notification settings - Fork 2
henryxiao1997/Logistic-Regression-cplusplus
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
1. Data:存放训练数据和测试数据的目录 2. LROne:第一个logistic regression实现,实现的二分类分类器,要求输入特征必须为0-1向量,输出为0-1值 3. LRTwo:第二个logistic regression实现,实现的二分类分类器,要求输入特征必须为归一化的实数值,归一化范围[-1, 1]或者[0, 1]都OK,但不能太大,否则sigmoid函数计算在有限精度内会取值为0.0或者1.0,导致cost function的值为无穷大。 4. LRThree:第三个logistic regression实现,实现多分类分类器,输入特征是归一化的实数值。并没有采用one vs all或者one vs other来构建多个分类器,而是在一个LR分类器中,训练多个参数向量,来支持多分类能力。
About
implement the logistic regression by cplusplus. The dataset for training and testing are from internet.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published