castellanzhang / alphaplm Goto Github PK
View Code? Open in Web Editor NEWMulti-thread implementation of Piece-wise Linear Model(PLM) or Mixture of LR(MLR) with FTRL for binary-class classification problem.
License: MIT License
Multi-thread implementation of Piece-wise Linear Model(PLM) or Mixture of LR(MLR) with FTRL for binary-class classification problem.
License: MIT License
作者您好,
在文件 ftrl_model.h 里,
第270行 uTx[f] -= max_uTx 这一步的意义是什么?
因为在第271行 uTx[f] = exp(uTx[f]),既然271行对uTx[f] 直接赋值了,为什么270还要对uTx[f] 做 -= 操作?
感谢作者提供一个smart 工具,做小数据实验时,发现了一个越界问题
测试的数据已经上传为zip格式。
下面是执行的工具:
cat train| ./plm_train -core 20 -piece_num 20 -m plm_featweight
cat train | ./plm_predict -core 1 -piece_num 20 -m plm_featweight -out fm_pre_plm.txt
terminate called after throwing an instance of 'std::out_of_range'
看plm_featweight model输出的文件,发现有的值貌似double越界了,
train.zip
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.