GithubHelp home page GithubHelp logo

dirty-data-science / python Goto Github PK

View Code? Open in Web Editor NEW
61.0 2.0 8.0 27.76 MB

Tutorial material on machine learning with dirty data in Python

Home Page: http://dirtydata.science/python

License: BSD 2-Clause "Simplified" License

Makefile 8.02% CSS 11.47% HTML 0.71% Python 76.55% Shell 0.29% JavaScript 2.96%
dirty-data data-science machine-learning

python's Introduction

Machine-learning on dirty-data in Python: a tutorial

python's People

Contributors

andreapi avatar gaelvaroquaux avatar psteinb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

python's Issues

reproducing notebook 1 with my data

Hi,
thanks a bunch for these two super valuable blog posts. I learned a good portion while reading them.

I am currently working on dirty data, a table of 224 rows and 27 columns. I created a clean subset and was playing with HistGradientBoostingRegressor.
I am not sure I understand this regressor yet completely, but I observe that it uses a half_least_squares loss by default, so I'd expect that scores are always positive.

If I run similar code than yours, I get the following:

In [41]:
hgbr = HistGradientBoostingRegressor()
score_hgbr = cross_val_score(hgbr, clean_X, clean_y, cv=5)
score_hgbr
Out [43]:
array([-0.26472938, -0.1909843 ,  0.24062092, -1.65719074, -0.40523002])

I am a bit irritated by the negative numbers in the scoring output. Any ideas where they may come from?

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.