forked from maxpumperla/hyperas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revereted optim.py, added distributed example and guide
- Loading branch information
Showing
29 changed files
with
2,040 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,3 +60,8 @@ target/ | |
|
||
#Ipython Notebook | ||
.ipynb_checkpoints | ||
|
||
# IDE settings | ||
.idea/ | ||
|
||
.pytest_cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,26 @@ | ||
sudo: required | ||
dist: trusty | ||
language: python | ||
python: | ||
- "2.7" | ||
# - "3.4" # Note that hyperopt currently seems to have issues with 3.4 | ||
matrix: | ||
include: | ||
- python: 2.7 | ||
env: | ||
- IPYTHON="ipython[all]==5.4.1" | ||
- python: 3.5 | ||
env: | ||
- IPYTHON=ipython[all] | ||
install: | ||
# code below is taken from http://conda.pydata.org/docs/travis.html | ||
# We do this conditionally because it saves us some downloading if the | ||
# version is the same. | ||
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then | ||
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; | ||
else | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; | ||
fi | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- hash -r | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update -q conda | ||
- conda info -a | ||
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib pandas pytest h5py flask scikit-learn networkx | ||
- source activate test-environment | ||
- pip install pytest-cov python-coveralls | ||
- pip install pymongo==2.7.2 | ||
- pip install hyperopt | ||
- pip install git+git://github.com/Theano/Theano.git | ||
- pip install keras | ||
- sudo apt-get remove ipython | ||
- pip install --upgrade pip | ||
- pip install --upgrade setuptools | ||
- pip install --upgrade wheel | ||
- pip install $IPYTHON | ||
- pip install entrypoints | ||
- pip install tensorflow | ||
- pip install --only-binary=numpy,scipy numpy scipy | ||
- pip install networkx==1.11 | ||
- python setup.py install | ||
|
||
# Just run an example for now | ||
- pip install pytest pytest-cov pep8 pytest-pep8 | ||
script: | ||
- python $PWD/examples/simple.py | ||
- python -m pytest | ||
after_success: | ||
- coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Before filing an issue, please make sure to tick the following boxes. | ||
|
||
- [ ] Make sure your issue hasn't been filed already. Use GitHub search or manually check the [existing issues](https://github.com/maxpumperla/hyperas/issues), also the closed ones. Also, make sure to check the FAQ section of our [readme](https://github.com/maxpumperla/hyperas/blob/master/README.md). | ||
|
||
- [ ] Install latest hyperas from GitHub: | ||
pip install git+git://github.com/maxpumperla/hyperas.git | ||
|
||
- [ ] Install latest hyperopt from GitHub: | ||
pip install git+git://github.com/hyperopt/hyperopt.git | ||
|
||
- [ ] We have continuous integration running with Travis and make sure the build stays "green". If, after installing test utilities with `pip install pytest pytest-cov pep8 pytest-pep8`, you can't successfully run `python -m pytest` there's very likely a problem on your side that should be addressed before creating an issue. | ||
|
||
- [ ] Create a gist containing your complete script, or a minimal version of it, that can be used to reproduce your issue. Also, add your _full stack trace_ to that gist. In many cases your error message is enough to at least give some guidance. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
include LICENSE | ||
include README.md | ||
include CONTRIBUTING.md | ||
graft examples | ||
graft tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.