linzecong / decisiontree Goto Github PK
View Code? Open in Web Editor NEWThe realization of decision tree learning algorithm-----C++ Version,决策树学习算法,C++实现
The realization of decision tree learning algorithm-----C++ Version,决策树学习算法,C++实现
很感谢您分享的代码,
在README提供的例子中您希望通过年龄和压力大小来判断幸福等级,这里幸福等级不止两个,但在程序DecisionTree.h Line71 您定义了bool型的aaa,会使第三类幸福等级出现时产生bug。定义为int型应该更合适。
DecisionTree.h Line 207计算entropy若移到循环外可减少额外计算。
类的函数成员定义写在.h文件中,函数成员不是内联的,一旦文件被两个或以上cpp包含,该函数将被重新定义。似乎影响了其扩展性。
感谢,祝好
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.