![](https://img-blog.csdnimg.cn/20190312152356454.jpeg?x-oss-process=image/resize,m_fixed,h_224,w_224)
Hands-On ML with sklearn & TensorFlow Exercise Q&A
学习《Hands-On Machine Learning with Scikit-Learn & TensorFlow》一书所做的所有章节习题,全英文。原书几乎给出了所有练习的标准答案,本专栏博客的答案均为个人答案,整理方便使用。
Leonardo Liu
这个作者很懒,什么都没留下…
展开
-
Hands-On Machine Learning with Scikit-Learn & TensorFlow Exercise Q&A Chapter08
Q1. What are the main motivations for reducing a dataset's dimensionality? What are the main drawbacks?A1: Motivations:To speed up a subsequent training algorithm. To visualize the data and ga...原创 2019-03-22 20:43:30 · 431 阅读 · 0 评论 -
Hands-On Machine Learning with Scikit-Learn & TensorFlow Exercise Q&A Chapter07
Q1. If you have trained five different models on the exact same training data, and they all achieve 95% precision, is there any chance that you can combine these models to get better results? If so, h...原创 2019-03-22 19:37:55 · 357 阅读 · 0 评论 -
Hands-On Machine Learning with Scikit-Learn & TensorFlow Exercise Q&A Chapter06
Q1. What is the approximate deph of a Decision Tree trained (without restrictions) on a training set with 1 million instances?A1: The depth of a well-balanced binary tree containing m leaves is equa...原创 2019-03-21 22:16:23 · 280 阅读 · 0 评论 -
Hands-On Machine Learning with Scikit-Learn & TensorFlow Exercise Q&A Chapter05
Q1. What is the fundamental idea behind Support Vector Machines?A1: The fundamental idea of SVM is to maximize the margin between the decision boundaries and separate the training instances into two...原创 2019-03-21 15:57:03 · 387 阅读 · 0 评论 -
Hands-On Machine Learning with Scikit-Learn & TensorFlow Exercise Q&A Chapter04
Q1. What Linear Regression training algorithm can you use if you have a training set with millions of features?A1:Stochastic Gradient Descentor Mini-Batch Gradient Descent.Q2. Suppose the feat...原创 2019-03-20 22:35:53 · 469 阅读 · 0 评论 -
机器学习工程实例 垃圾邮件过滤系统 数据预处理 训练模型 交叉验证 精准率召回率计算 步骤详细解析
本博客所有内容均整理自《Hands-On Machine Learning with Scikit-Learn & TensorFlow》一书及其GitHub源码。看《Hands-On》一书至第三章,习题里面后两题是实际操作的编程题,自己初步动手效果不错,特此记录一下。运行环境:Jupyter Notebook 语言:Python3.6.40、题目描述总体目标:创建一个垃圾...原创 2019-03-19 22:01:24 · 4580 阅读 · 0 评论 -
Kaggle Titanic Challenges 生存预测 数据预处理 模型训练 交叉验证 步骤详细解析
本博客所有内容均整理自《Hands-On Machine Learning with Scikit-Learn & TensorFlow》一书及其GitHub源码。看《Hands-On》一书至第三章,习题里面后两题是实际操作的编程题,自己初步动手效果不错,特此记录一下。运行环境:Jupyter Notebook 语言:Python3.6.40、题目描述Kaggle的Tita...原创 2019-03-18 22:46:04 · 2120 阅读 · 0 评论 -
Hands-On Machine Learning with Scikit-Learn & TensorFlow Exercise Q&A Chapter03
Q1. Try to build a classifier for the MNIST dataset that achieves over 97% accuracy on the test set. Hint: the KNeighborsClassifier works quite well for this task; you just need to find good hyperpara...原创 2019-03-19 22:02:57 · 954 阅读 · 0 评论 -
Hands-On Machine Learning with Scikit-Learn & TensorFlow Exercise Q&A Chapter02
For some unknown reason, my computer's Scikit-Learn package cannot deal with theColumnTransformer function, so I never succeed in getting the housing_prepared data, thus the following answer is offic...原创 2019-03-15 19:19:31 · 431 阅读 · 0 评论 -
Hands-On Machine Learning with Scikit-Learn & TensorFlow Exercise Q&A Chapter01
Q1. How would you define Machine Learning?A1: The science to programming computers to learn from data.Q2. Can you name four types of problems where it shines?A2: Predict the weather; segment ...原创 2019-03-12 16:30:15 · 229 阅读 · 0 评论