pnyuan / machine-learning_zhouzhihua Goto Github PK
View Code? Open in Web Editor NEWExercises answers to the book "machine-learning" written by Prof. Zhou Zhihua of Nanjing University
Exercises answers to the book "machine-learning" written by Prof. Zhou Zhihua of Nanjing University
您好,
学习了您写的代码,我收获了很多,学习到了很多,但是我也有些问题,麻烦您解答下。
麻烦了。
^o^
您好,看了您的代码很受益。
有以下问题:
1、我在运行习题4.4的代码时,发现不剪枝的决策树图和后剪枝的一样。
2、感觉问题出现在decision_tree.py文件的220行的if语句返回-1. 如果这里用 reruern -1,不是说明只要某节点的一课子树不用剪枝,那这个节点以上的节点都不用剪枝了?
3、该文件第44行,判断属性是否空的语句似乎也有问题:我觉得应该用 len(df.columns)-1 == 0 来判断。
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.