Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy Google analytics to Keras Tuner site (#148)
* New oracle contract * Most of Oracle / Tuner / MetricsTracker interop * Simple example working * RandomSearch working * Hyperband working * Removed unecessary files * Small cleanups * Bayesian working * End-to-end test working * Working on saving * Fixes #71 - Erroneously calling HTML(HTML(table)) We were erroneously calling HTML() twice inside ipython notebooks, and also not actually displaying the results. Fixes both issues. Verified locally in a Jupyter notebook - plugins for doing so automatically via pytest are woefully lacking. * Host and display changes * Metrics tests working * Tuner correctness tests passing * Tuner workflows test * Oracle saving / reloading * Stateful base class * Save on trial end * Hyperband working * Flake8 fixes * Remove redundant methods * Use np nan methods * Make max_trials optional * Add back support for executions_per_trial * Add ability to merge HP objects * Wording change * fixed metrics tracker's update function bug * Remove frozen, add arg to _retrieve * Remove unnecessary line * Executions on Oracle * Rename to step * Tests passing except trials length tests * Obey flake8 * Add MultiExecutionTuner * Updating Tuners and Oracle docstrings * Flake8 fixes, remove unusued * Tests passing * Oracle docstrings * Trial style fix * Doc fixes * Moved MultiExecutionTuner to engine/ * Save only last 10 checkpoints * Add test framework for mocking distribution * Add requirement * Updating Travis CI config * HyperParameter Protos * Use oneof for Choice * All tests added * Add generated file * Config changes * Switched to use threading * Fix default type for Int * Only share ModelCheckpoint across executions, not other callbacks * Use double instead of float * PB2 cleanup * BaseTuner tested * Add support for multi-valued MetricObservations * Cleanup * Prefer to infer the metric direction from Oracle objective * Add Trial protos * Simplify class names * Add Trial and metrics protos * Add Trial to_proto from_proto * Removed Direction * Changes to BaseTuner * Add simple sklearn tuner test * Move first build to base tuner to populate space * Enabled the check on unused imports. * Put back unused local. * Added sections to the contributing guide. * Removed blank lines at the end of files. Removed the __init__.py in the tests directory as they're not used. * Removed all unused variables and enabled check. * Put back the files. * Restore metrics in set_state * Update trial.py * Fixed flake8 errors. * MetricObservation value is always a list * Fix flake8 * Added rules for trailing whitespaces and lowercase variables. (#101) * Adds OracleServicer GPRC class and implements GetSpace, UpdateSpace, and CreateTrial (#100) * Oracle Service protos and GetSpace implemented * Implement update space * Implement CreateTrial * Update gitignore for grpc files * Test changes * Flake8 fixes * Change name to oracle_chief * Fix race condition in test * Implement the rest of the GRPC methods and add an OracleClient (#102) * Oracle Service protos and GetSpace implemented * Implement update space * Implement CreateTrial * Update gitignore for grpc files * Test changes * Flake8 fixes * Create OracleClient * Add UpdateTrial * Add GetBestTrials * wait_for_ready in update_space * Cleanup * All grpc methods implemented * Remove all usages of private TensorFlow APIs (#103) * Removed all private uses of TF * Fix flake8 * Remove unused abstractions tests * Change name * Add documentation (#105) * Added the docs, it works. There are no tests. * Added some tests. * Keras-autodoc was moved to keras-team. (#108) * Enabled other flake8 rules. (#109) * Save trials in Oracle, and have Oracle and Tuner reload on start by default (#106) * Removed all private uses of TF * Save trials from Oracle. Reload Oracle if file exists. * Fix flake8 * Remove unused abstractions tests * Fix reloading * Cleanup * Cleanup * Fix tests * Fix Hyperband save * Changed to load_existing * Change to overwrite * Save * Make HyperParameters Proto more useable for generic use cases (#107) * Update protobufs * More generic proto format * Fix Bayesian oracle issues (#111) * Removed all private uses of TF * Save trials from Oracle. Reload Oracle if file exists. * Fix flake8 * Remove unused abstractions tests * Fix reloading * Change name * cleanup * Fixes for Bayesian Tuner * Cleanup * Cleanup * Cleanup * Fix tests * Fix Hyperband save * Changed to load_existing * Change to overwrite * Save * Cleanup * Add step test * Cleanup * Cleanup * Fix test * Style fixes * Add dict methods to HyperParameters (#110) * Update protobufs * More generic proto format * Add __getitem__ and __contains__ * Removed default in get * Simplify get * Support Distributed Tuning (#112) * Removed all private uses of TF * Save trials from Oracle. Reload Oracle if file exists. * Fix flake8 * Remove unused abstractions tests * Fix reloading * Change name * cleanup * Fixes for Bayesian Tuner * Cleanup * Cleanup * Cleanup * Fix tests * Fix Hyperband save * Changed to load_existing * Change to overwrite * Save * Cleanup * Add step test * Cleanup * Cleanup * Fix test * Working on full distribution * Working test * Add BaseTuner test * Add sanity check * Fix MultiExecutionTuner to not copy hyperparameters in order for update_space to work (#113) * Removed all private uses of TF * Save trials from Oracle. Reload Oracle if file exists. * Fix flake8 * Remove unused abstractions tests * Fix reloading * Change name * cleanup * Fixes for Bayesian Tuner * Cleanup * Cleanup * Cleanup * Fix tests * Fix Hyperband save * Changed to load_existing * Change to overwrite * Save * Cleanup * Add step test * Cleanup * Cleanup * Fix test * Working on full distribution * Working test * Add BaseTuner test * Add sanity check * Fix updating space in on_trial_end for MultiExecutionTuner * Fix test * Comment * Add test for subclass Model loading (#114) * Removed all private uses of TF * Save trials from Oracle. Reload Oracle if file exists. * Fix flake8 * Remove unused abstractions tests * Fix reloading * Change name * cleanup * Fixes for Bayesian Tuner * Cleanup * Cleanup * Cleanup * Fix tests * Fix Hyperband save * Changed to load_existing * Change to overwrite * Save * Cleanup * Add step test * Cleanup * Cleanup * Fix test * Working on full distribution * Working test * Add BaseTuner test * Add sanity check * Fix updating space in on_trial_end for MultiExecutionTuner * Fix test * Comment * Add predict * Add correctness test * Hyperband fixes (#115) * Removed all private uses of TF * Save trials from Oracle. Reload Oracle if file exists. * Fix flake8 * Remove unused abstractions tests * Fix reloading * Change name * cleanup * Fixes for Bayesian Tuner * Cleanup * Cleanup * Cleanup * Fix tests * Fix Hyperband save * Changed to load_existing * Change to overwrite * Save * Cleanup * Add step test * Cleanup * Cleanup * Fix test * Working on full distribution * Working test * Add BaseTuner test * Add sanity check * Fix updating space in on_trial_end for MultiExecutionTuner * Fix test * Comment * Add predict * Add correctness test * Hyperband refactor * Parellel rounds and brackets * Cleanup * Add return * Brackets populating correctly * Working version * API changes * Improve docstring * Improve docstring * set_state() should require `state` as arg (#118) * Make max_value inclusive (#116) * Removed all private uses of TF * Save trials from Oracle. Reload Oracle if file exists. * Fix flake8 * Remove unused abstractions tests * Fix reloading * Change name * cleanup * Fixes for Bayesian Tuner * Cleanup * Cleanup * Cleanup * Fix tests * Fix Hyperband save * Changed to load_existing * Change to overwrite * Save * Cleanup * Add step test * Cleanup * Cleanup * Fix test * Working on full distribution * Working test * Add BaseTuner test * Add sanity check * Fix updating space in on_trial_end for MultiExecutionTuner * Fix test * Comment * Add predict * Add correctness test * Hyperband refactor * Parellel rounds and brackets * Cleanup * Add return * Brackets populating correctly * Working version * API changes * Improve docstring * Improve docstring * Make max_value inclusive * Test fixes * Added note for inclusivity * Raise error if objective direction can not be inferred (#117) * Removed all private uses of TF * Save trials from Oracle. Reload Oracle if file exists. * Fix flake8 * Remove unused abstractions tests * Fix reloading * Change name * cleanup * Fixes for Bayesian Tuner * Cleanup * Cleanup * Cleanup * Fix tests * Fix Hyperband save * Changed to load_existing * Change to overwrite * Save * Cleanup * Add step test * Cleanup * Cleanup * Fix test * Working on full distribution * Working test * Add BaseTuner test * Add sanity check * Fix updating space in on_trial_end for MultiExecutionTuner * Fix test * Comment * Add predict * Add correctness test * Hyperband refactor * Parellel rounds and brackets * Cleanup * Add return * Brackets populating correctly * Working version * API changes * Improve docstring * Improve docstring * Add error on objective direction not inferred * Test fixes * Add weighted_ and ce, crossentropy special cases * Fix string formatting * Sklearn Tuner (#119) * Removed all private uses of TF * Save trials from Oracle. Reload Oracle if file exists. * Fix flake8 * Remove unused abstractions tests * Fix reloading * Change name * cleanup * Fixes for Bayesian Tuner * Cleanup * Cleanup * Cleanup * Fix tests * Fix Hyperband save * Changed to load_existing * Change to overwrite * Save * Cleanup * Add step test * Cleanup * Cleanup * Fix test * Working on full distribution * Working test * Add BaseTuner test * Add sanity check * Fix updating space in on_trial_end for MultiExecutionTuner * Fix test * Comment * Add predict * Add correctness test * Hyperband refactor * Parellel rounds and brackets * Cleanup * Add return * Brackets populating correctly * Working version * API changes * Improve docstring * Improve docstring * Added CV Sklearn Tuner * First version running * Sklearn tuner tests * Fix example * Made sure that example runs * Change cross_validation to cv and set random state for split * Add search docstring * Updated the keras_autodoc version. (#125) * Improve Keras Tuner Documentation (#124) * Removed all private uses of TF * Save trials from Oracle. Reload Oracle if file exists. * Fix flake8 * Remove unused abstractions tests * Fix reloading * Change name * cleanup * Fixes for Bayesian Tuner * Cleanup * Cleanup * Cleanup * Fix tests * Fix Hyperband save * Changed to load_existing * Change to overwrite * Save * Cleanup * Add step test * Cleanup * Cleanup * Fix test * Working on full distribution * Working test * Add BaseTuner test * Add sanity check * Fix updating space in on_trial_end for MultiExecutionTuner * Fix test * Comment * Add predict * Add correctness test * Hyperband refactor * Parellel rounds and brackets * Cleanup * Add return * Brackets populating correctly * Working version * API changes * Improve docstring * Improve docstring * Added CV Sklearn Tuner * First version running * Sklearn tuner tests * Fix example * Made sure that example runs * Change cross_validation to cv and set random state for split * Add search docstring * Documentation improvements * Adding docstrings for Tuner methods * More docs * Docstrings added * Update docs location * Add autogen * Added autogen * Move back to kerastuner_docs * Move back to docs/ * Set OracleChief num threads to 1 (#126) * Removed all private uses of TF * Save trials from Oracle. Reload Oracle if file exists. * Fix flake8 * Remove unused abstractions tests * Fix reloading * Change name * cleanup * Fixes for Bayesian Tuner * Cleanup * Cleanup * Cleanup * Fix tests * Fix Hyperband save * Changed to load_existing * Change to overwrite * Save * Cleanup * Add step test * Cleanup * Cleanup * Fix test * Working on full distribution * Working test * Add BaseTuner test * Add sanity check * Fix updating space in on_trial_end for MultiExecutionTuner * Fix test * Comment * Add predict * Add correctness test * Hyperband refactor * Parellel rounds and brackets * Cleanup * Add return * Brackets populating correctly * Working version * API changes * Improve docstring * Improve docstring * Added CV Sklearn Tuner * First version running * Sklearn tuner tests * Fix example * Made sure that example runs * Change cross_validation to cv and set random state for split * Add search docstring * Documentation improvements * Adding docstrings for Tuner methods * More docs * Docstrings added * Update docs location * Add autogen * Added autogen * Move back to kerastuner_docs * Move back to docs/ * Make chief Oracle serial * Remove conditional params from HyperResnet (#127) * Distributed Tuning Tutorial (#129) * Distributed tuning tutorial * Cleanup * Update gitignore * Cleanups * Updates * Add get_best_hyperparameters method (#130) * Add get_best_hyperparameters method * Update docs * Cleanup * Improve BayesianOptimization Oracle (#131) * Working on correctness tests * Added correctness tests * Increase test feature coverage * Cleanup * Update docstring * Standardize Tuner subclassing (#133) * Standardize Tuner subclassing * Fix callbacks * Cleanup * Change name and allow subclassing without wrapping * Call super * Bump keras autodoc version, with aliases now! (#135) * Bump keras-autodoc to v0.3.0. * Used aliases. * Fix flaky test. * Support tunable=False for HyperModels (#134) * Support tunable False for HyperModels * Update resnet * Update * Update * Reduce flakiness (#137) * Tutorial for Tuner Subclassing (#136) * Tutorial * Finish tutorial * Expand comment * Update README.md * Explanation of run_trial * Float * Update site * Deployed 015a782 with MkDocs version: 1.0.4 * Deployed 7b26a3b with MkDocs version: 1.0.4 * Change theme colors * Deployed 11cfcfc with MkDocs version: 1.0.4 * Deployed 1609b55 with MkDocs version: 1.0.4 * Deployed 4e48da1 with MkDocs version: 1.0.4 * Deployed 4e48da1 with MkDocs version: 1.0.4 * Fix merge
- Loading branch information