From 13c2850c6197913fa9b0945b62fce4da61a036df Mon Sep 17 00:00:00 2001 From: Haifeng Jin Date: Sat, 31 Aug 2019 06:10:09 +0800 Subject: [PATCH] Docs (#760) * temp commit * tutorial * add io * temp commit * temp commit * bug fix * tutorial --- .travis.yml | 3 - README.md | 8 ++- autokeras/__init__.py | 1 + autokeras/hypermodel/hyperblock.py | 9 ++- docs/autogen.py | 31 ++++++++- docs/mkdocs.yml | 10 +-- docs/templates/task.md | 13 ++++ docs/templates/tutorial.md | 102 +++++++++++++++++++++++++++++ examples/functional_api.py | 35 ++++++++++ examples/io_api.py | 21 ++++++ examples/task_api.py | 12 ++++ setup.py | 1 + 12 files changed, 233 insertions(+), 13 deletions(-) create mode 100644 docs/templates/task.md create mode 100644 docs/templates/tutorial.md create mode 100644 examples/functional_api.py create mode 100644 examples/io_api.py create mode 100644 examples/task_api.py diff --git a/.travis.yml b/.travis.yml index 526094406..d781573dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ jobs: - stage: test script: - pip install -e .[tests] --progress-bar off - - pip install git+git://github.com/keras-team/keras-tuner@master#egg=keras-tuner - pip install codacy-coverage - pytest tests --cov=autokeras --cov-report xml:coverage.xml - if ! [[ -z $CODACY_PROJECT_TOKEN ]]; then @@ -16,12 +15,10 @@ jobs: - script: - pip install -e .[tests] --progress-bar off - - pip install git+git://github.com/keras-team/keras-tuner@master#egg=keras-tuner - flake8 - script: - pip install -e .[tests] --progress-bar off - - pip install git+git://github.com/keras-team/keras-tuner@master#egg=keras-tuner - pip install mkdocs - pip install mkdocs-material - sh shell/docs.sh diff --git a/README.md b/README.md index 6933649a1..7f7bc95e3 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,14 @@ It is developed by =2.0.0b1', + 'keras-tuner', 'scikit-learn', 'numpy', 'lightgbm',