Giter Site home page Giter Site logo

kaggle-yelp-restaurant-photo-classification's People

Contributors

u1234x1234 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

kaggle-yelp-restaurant-photo-classification's Issues

Problem with Classifier Chain Implementation

Hi,

I am trying to use your classifier chain implementation on my set of features and using an xgboost classifier instance. I have double checked my training feature set and the training labels that I pass to the classifier chain instance. But, the predictions by using classifier chains drastically reduces. If I just use a simple xgboost classifier without chaining them, I get an F1 score of around 0.80 both on training and testing set. But, by using classifier chains, my F1 score goes down to 0.50 which is really low. Any thoughts on why would this be?

Thanks,
Pawan

Clarification of feature extraction and processing

I would be very grateful if you could clarify your feature extraction workflow as much of the file compress.py is commented out. Is the following correct?

  1. extract features from the training data using n ImageNet pretrained models

  2. normalise each feature matrix separately using sklearn.preprocessing.normalize

  3. concatenate all feature matrices horizontally (axis=1)

  4. calculate the column mean 'm' (axis=0) and subtract

  5. Apply svd using sklearn.decomposition.TruncatedSVD with n_components=64 and algorithm='arpack'

  6. repeat for the test data: normalise, concatenate, subtract the mean 'm' (calculated from the training data in step 3), transform using svd (which was fit on the training data in step 4).

Thank you.

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.