GithubHelp home page GithubHelp logo

alicezheng / feature-engineering-book Goto Github PK

View Code? Open in Web Editor NEW
1.4K 1.4K 664.0 5.61 MB

Code repo for the book "Feature Engineering for Machine Learning," by Alice Zheng and Amanda Casari, O'Reilly 2018

License: MIT License

Jupyter Notebook 99.93% Python 0.07%

feature-engineering-book's People

Contributors

alicezheng avatar amcasari avatar dsatconcur avatar floriangd avatar morningc avatar naivelogic 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  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

feature-engineering-book's Issues

关于数据集问题

您好,关于书中使用的数据集,可否告知出处,在书中没有找到数据集的链接。

Dataset needing

Hi everyone,
there are many datasets used in this book, but I didn't see source page links attached in the content. Could someone share those dataset please? Thank you!

Don't understand 2 lines of code

Hi Alice,

Thanks for the great book! There are two lines of code in the last two notebooks for the end-to-end examples that I don't quite understand:

  • if order < 5: order += 1
  • if order < top_n: order += 1

What was the rationale behind the fact that you used if blocks here?

Thank you!

Data for the examples

#Hello,

Jupyter notebooks have a links to data files in local directories, but there are no directories in the repository, so it is unable to run notebooks, what is correct way to run these notebooks, need to manually download data files?

Thank you.

The problem in Tf-idf.ipynb

hi, when i run the 04.01-06 sample code,

Create the target column--True for Nightlife businesses, and False otherwise

twobiz_reviews['target'] = twobiz_reviews.apply(lambda x: 'Nightlife' in x['categories'],
axis=1)
there is a error:
"ValueError: Cannot set a frame with no defined index and a value that cannot be converted to a Series"
and i use the yelp dataset v13
how to solve this?

Code for 07.03-05_K-means_featurization

I refer you to the fit method of the KMeansFeaturizer class for the code listing mentioned in the subject.
When the pretrain approach was used (i.e. including information from the class labels), the second re run of the k-means algorithm to get the clusters in the original space was initialized with the init argument as init=km_model_pretrain.cluster_centers_[:,:2].
I think this will only work with a two feature dataset and will break for a dataset with additional features.
Can you please clarify your approach.
Thanks

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.