u1234x1234 / kaggle-yelp-restaurant-photo-classification Goto Github PK
View Code? Open in Web Editor NEWWinning solution scripts
Winning solution scripts
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
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?
extract features from the training data using n ImageNet pretrained models
normalise each feature matrix separately using sklearn.preprocessing.normalize
concatenate all feature matrices horizontally (axis=1)
calculate the column mean 'm' (axis=0) and subtract
Apply svd using sklearn.decomposition.TruncatedSVD with n_components=64 and algorithm='arpack'
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.