shuimu / logistic-regression Goto Github PK
View Code? Open in Web Editor NEW逻辑回归by bgd and sgd
逻辑回归by bgd and sgd
这是logistic regression的说明文档 1. 输入文件格式 <1> 训练集文件train_file: 以\t分割,第一列为instances, 然后依次是feature1,feature2,feature3,...,featuren, 最后是target eg: --------------------------------------------- aaa1 10 9 3 11 aaa2 11 7 4 12 bbb1 8 11 9 9 bbb3 12 -10 4 118 ... kkkz 0 12 -1 -33 --------------------------------------------- <2> 测试集文件predict_file: 以\t分割,第一列为instances, 然后依次是feature1,feature2,feature3... eg: --------------------------------------------- aaa1 10 9 3 aaa2 11 7 4 bbb1 8 11 9 bbb3 12 -10 4 ... kkkz 0 12 -1 --------------------------------------------- 2. 使用命令 -------------------------------------------------- ./lr -n 10 -a alpha -k [1,2] -t train_file -p predict_file -o output -------------------------------------------------- 2. 求参方法 lr使用batch gradient descent或stochastic gradient descent的策略 3. 其他 auther: shuimuxixiha email: [email protected] phone: 15300064077
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.