cerlymarco / keras-hypetune Goto Github PK
View Code? Open in Web Editor NEWA friendly python package for Keras Hyperparameters Tuning based only on NumPy and hyperopt.
License: MIT License
A friendly python package for Keras Hyperparameters Tuning based only on NumPy and hyperopt.
License: MIT License
Hi, maybe this is not an issue but something I am missing. Is there a way to enter sample weights in the search? Any help would be appreciated. Thanks,
Hi Cerly,
This package is great, but how to output the best parameter values?
Thank you,
Ling
I'm having issues loading the package in my scripts. Is keras_hypetune
the correct name to import under?
Hi Marco,
This is a really great package, but I'm having trouble getting it to work. I have a model which takes text and audio features (numpy arrays) which I am passing to search, as with the Keras fit()
method:
print(tf_train.shape, af_train.shape, y_train.shape)
kgs.search({'text_inputs': tf_train, 'audio_inputs': af_train}, {'labels': y_train})
I am getting the output and error below:
(61, 400) (61, 400, 13) (61, 3)
...
ValueError: Found input variables with inconsistent numbers of samples: [2, 1]
I have tried passing the features in a list and the labels as-is (this resembles your notebook example), but with the same error:
print(tf_train.shape, af_train.shape, y_train.shape)
kgs.search([tf_train, af_train], y_train)
ValueError: Found input variables with inconsistent numbers of samples: [2, 61]
Any ideas?
Thanks!
André
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.