Giter Club home page Giter Club logo

coms4995-s20's Introduction

amueller

So my email address actually works.

coms4995-s20's People

Contributors

amueller avatar azriel-stephen avatar kundata avatar lepennec avatar lesteve avatar nicolashug avatar omaymas avatar thomasjpfan 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coms4995-s20's Issues

Preprocessing TargetEncoder example

When the numerical data is scaled the one hot encoder works pretty well:

from sklearn.compose import ColumnTransformer
from sklearn.pipeline import Pipeline
from sklearn.preprocessing import OneHotEncoder
from sklearn.preprocessing import StandardScaler
from sklearn.linear_model import Ridge
from sklearn.model_selection import cross_val_score
from sklearn.datasets import fetch_openml

X, y = fetch_openml("house_sales", as_frame=True, version=2,
                    return_X_y=True)
X = X.drop(['date'], axis=1)

prep = ColumnTransformer([
    ('encoder', OneHotEncoder(handle_unknown='ignore'), ['zipcode'])
], remainder=StandardScaler())

pipe = Pipeline([
    ('prep', prep),
    ('clf', Ridge())])

scores = cross_val_score(pipe, X, y)
scores.mean()

# 0.8037

@amueller

Typo: Shaply value instead of Shapley Value

Thank you for this tremendeous set of slides!

I've spotted a typo in aml11 "Model Interpretation and Feature Selection" Slides 11: Shaply value should be Shapley value.

I've also seen that the name of the script still refers to aml12.

Best practices for comparing continuum data in a map

Hey, Andreas Mueller, could you share the "consensus" on best practices in response to this question, relative to the matplotlib lecture?

2.3 Can you find a better way to compare the two distributions? [10pts]

Thanks.

P.S: If there is a proper venue for asking these questions, that isn't the git:issues, I would gladly post there as well.

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.