Giter VIP home page Giter VIP logo

Comments (8)

rickiepark avatar rickiepark commented on May 29, 2024

Like a typo in p56, 'Chapter 5...' should be 'Chapter 6...' in last paragraph of p99.

from python-machine-learning-book-2nd-edition.

rickiepark avatar rickiepark commented on May 29, 2024

In p86, "If we increase the value for \gamma, we increase the influence or ..." should be "If we increase the value for \gamma, we decrease the influence or ...".

from python-machine-learning-book-2nd-edition.

sameervk avatar sameervk commented on May 29, 2024

On page 101, the paragraph below the graph reads "25 decision trees via the n_estimators parameter and used the entropy criterion". However, in the code, you use gini criterion.

from python-machine-learning-book-2nd-edition.

rasbt avatar rasbt commented on May 29, 2024

thanks @rickiepark

Under 'Alternative implementations in scikit-learn' section, "The scikit-learn library's Perceptron and LogisticRegression classes ... make use of the LIBLINEAR libraray,..."
As you may know, Perceptron class use BaseSGDClassifier not liblinear. :)

You are right, Perceptron doesn't use LIBLINEAR. Will added this to the errata.

In p86, "If we increase the value for \gamma, we increase the influence or ..." should be "If we increase the value for \gamma, we decrease the influence or ...".

Hm, I think that increasing gamma will lead to an increase of the influence of training points, so the original should be correct (C, the inverse regularization parameter behaves the other way around though, i.e., increasing C will lead to a smoother boundary)

Like a typo in p56, 'Chapter 5...' should be 'Chapter 6...' in last paragraph of p99.

Good point. in my version, it appears correct on pg 56 but on pg 99 it should be Chapter 6 instead of chapter 5 indeed! Will add that to the errata

screen shot 2018-11-17 at 2 47 53 pm

screen shot 2018-11-17 at 2 48 15 pm

thanks @sameervk

On page 101, the paragraph below the graph reads "25 decision trees via the n_estimators parameter and used the entropy criterion". However, in the code, you use gini criterion.

I think this is already in the errata list at https://github.com/rasbt/python-machine-learning-book-2nd-edition/tree/master/docs/errata! Thanks anyway though :) I think this error came up because I used entropy in the first edition and then when I changed the code I forgot to fix it in this paragraph as well.

from python-machine-learning-book-2nd-edition.

rickiepark avatar rickiepark commented on May 29, 2024

Thanks for reply @rasbt ,
Please check again gamma parameter, low gamma value has more influence than high gamma value.(https://scikit-learn.org/stable/auto_examples/svm/plot_rbf_parameters.html)
Because \gamma is the inverse of \sigma. ie, \gamma=\frac{1}{2 \sigma^2}

from python-machine-learning-book-2nd-edition.

rasbt avatar rasbt commented on May 29, 2024

Thanks for the feedback. I think the passage is still correct though, because I was not referring to the support vectors but more the training examples in general. I.e,. I just see on that page that you link it also says:

When gamma is very small, the model is too constrained and cannot capture the complexity or “shape” of the data. The region of influence of any selected support vector would include the whole training set.

from python-machine-learning-book-2nd-edition.

rickiepark avatar rickiepark commented on May 29, 2024

Thanks a lot. I understand it. :)

from python-machine-learning-book-2nd-edition.

sameervk avatar sameervk commented on May 29, 2024

oops! should have checked that, my bad.

from python-machine-learning-book-2nd-edition.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.