Code Monkey home page Code Monkey logo

Comments (4)

8080labs avatar 8080labs commented on August 22, 2024 1

We will have a look into it.

In the meantime, you can also suppress the warnings yourself:
https://stackoverflow.com/questions/32612180/eliminating-warnings-from-scikit-learn

from ppscore.

8080labs avatar 8080labs commented on August 22, 2024

You can usually ignore the warning. It is just a reminder for you that there are some values in the target column that are impossible to be predicted.

The warning comes from sklearn and tells you that some observations in the target are less than the number of splits. That means that those members of the target variable won't be able to be predicted during crossvalidation which is fine because they are so rare anyway ...

from ppscore.

reza1615 avatar reza1615 commented on August 22, 2024

Is it possible to handle it inside your code? one time seeing this warning is ok. now it spams :D

from ppscore.

ibuda avatar ibuda commented on August 22, 2024

@reza1615 disregarding the warning messages, are you getting the same results like the ones in the article? I am getting different values for the Titanic dataset, issue #4 and getting the same warning message as you do.

from ppscore.

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.