"Python machine learning Algorithm" Errata

Source: Internet
Author: User

This book has been examined in detail in the course of publication, but the size problem remains, thanks to the reader for the mistakes noted in this book. The error on page 34th does not complain on the Python2.7.9 version. 1th Edition Corrigendum for the first time printing

Page Number Original Modify
XVI (Table of Contents) 12.3.2 Mean shift 12.3.2 DBSCAN
26 (Procedure listing 1-11: line 11th) H Result
33 (Program listing 2-3: line 8th parameter) feature, label, K, 5000, 0.2 feature, label, K, 10000, 0.4
34 (Start code: line 9th) float Int
45 (Formula second line) 12∑ni=1∑nj=i+1 1 2∑i = 1 N∑j = i + 1 n \frac{1}{2}\sum_{i=1}^{n}\sum_{j=i+1}^{n} 12∑ni=1∑nj=1 1 2∑i = 1 N∑j = 1 n \frac{1}{2}\sum_{i=1}^{n}\sum_{j=1}^{n}
46 (full page around) [1−σ (Y^y)] [1−σ (y ^ y)] \left [1-\sigma \left (\hat{y}y \right) \right] [Σ (y^y) −1] [Σ (y ^ y) −1] \left [\sigma \left (\hat{y}y \right)-1 \right]
48 (third line of text) degree Super parameter
48 (Listing 3-2: line 4th) The degree of the FM model Super parameter of FM model
49 The degree of the model (the second line of text) The parameters of the model
50 (Procedure listing 3-5: line 8th) Labeltrain, 3, 5000, 0.01 Labeltrain, 3, 10000, 0.01
52 (Procedure listing 3-7: Line 2nd) result.append (str (PRE)) Result.append (PRE)
55 (Procedure listing 3-10: line 3rd) data.txt Test_data.txt
57 (Program listing 3-13: line 7th) f.write ("\ n". Join (Result)) F.write ("\ n". Join (str (x) for x in))
(the first formula in 4.4.2: The molecule of the Gauss nucleus) ∥∥x (i) −x (j) ∥∥‖x (i) −x (j) ‖\left \| X^{\left (i \right)}-x^{\left (J \right)} \right \|

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.