Skip to content

Commit 3191642

Browse files
[Fix] docs links (#201)
* [Fix] docs links * Update README.md Co-authored-by: Ravin Kohli <13005107+ravinkohli@users.noreply.github.com> * Update examples check * Remove tmp in examples Co-authored-by: Ravin Kohli <13005107+ravinkohli@users.noreply.github.com>
1 parent 94df1e3 commit 3191642

12 files changed

+39
-47
lines changed

.github/workflows/examples.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ jobs:
3030
echo "::set-output name=BEFORE::$(git status --porcelain -b)"
3131
- name: Run tests
3232
run: |
33-
python examples/tabular/20_basics/example_tabular_classification.py
34-
python examples/tabular/20_basics/example_tabular_regression.py
35-
python examples/tabular/40_advanced/example_custom_configuration_space.py
36-
python examples/tabular/40_advanced/example_resampling_strategy.py
37-
python examples/example_image_classification.py
33+
python examples/20_basics/example_image_classification.py
34+
python examples/20_basics/example_tabular_classification.py
35+
python examples/20_basics/example_tabular_regression.py
36+
python examples/40_advanced/example_custom_configuration_space.py
37+
python examples/40_advanced/example_resampling_strategy.py
38+
python examples/40_advanced/example_visualization.py

README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ So far, Auto-PyTorch supports tabular data (classification, regression).
77
We plan to enable image data and time-series data.
88

99

10-
Find the documentation [here](https://automl.github.io/Auto-PyTorch/refactor_development)
10+
Find the documentation [here](https://automl.github.io/Auto-PyTorch/development)
1111

1212

1313
## Installation
@@ -31,7 +31,7 @@ python setup.py install
3131
If you want to contribute to Auto-PyTorch, clone the repository and checkout our current development branch
3232

3333
```sh
34-
$ git checkout refactor_development
34+
$ git checkout development
3535
```
3636

3737

@@ -71,7 +71,20 @@ along with this program (see LICENSE file).
7171

7272
## Reference
7373

74+
Please refer to the branch `TPAMI.2021.3067763` to reproduce the paper *Auto-PyTorch Tabular: Multi-Fidelity MetaLearning for Efficient and Robust AutoDL*.
75+
76+
```bibtex
77+
@article{zimmer-tpami21a,
78+
author = {Lucas Zimmer and Marius Lindauer and Frank Hutter},
79+
title = {Auto-PyTorch Tabular: Multi-Fidelity MetaLearning for Efficient and Robust AutoDL},
80+
journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
81+
year = {2021},
82+
note = {IEEE early access; also available under https://arxiv.org/abs/2006.13799},
83+
pages = {1-12}
84+
}
7485
```
86+
87+
```bibtex
7588
@incollection{mendoza-automlbook18a,
7689
author = {Hector Mendoza and Aaron Klein and Matthias Feurer and Jost Tobias Springenberg and Matthias Urban and Michael Burkart and Max Dippel and Marius Lindauer and Frank Hutter},
7790
title = {Towards Automatically-Tuned Deep Neural Networks},
@@ -81,14 +94,10 @@ along with this program (see LICENSE file).
8194
booktitle = {AutoML: Methods, Sytems, Challenges},
8295
publisher = {Springer},
8396
chapter = {7},
84-
pages = {141--156},
85-
note = {To appear.},
97+
pages = {141--156}
8698
}
8799
```
88100

89-
**Note**: Previously, the name of the project was AutoNet. Since this was too generic, we changed the name to AutoPyTorch. AutoNet 2.0 in the reference mention above is indeed AutoPyTorch.
90-
91-
92101
## Contact
93102

94103
Auto-PyTorch is developed by the [AutoML Group of the University of Freiburg](http://www.automl.org/).

docs/conf.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# add these directories to sys.path here. If the directory is relative to the
1717
# documentation root, use os.path.abspath to make it absolute, like shown here.
1818

19+
import datetime
1920
import os
2021
import sys
2122
import sphinx_bootstrap_theme
@@ -68,9 +69,9 @@
6869

6970
sphinx_gallery_conf = {
7071
# path to the examples
71-
'examples_dirs': ['../examples/tabular/20_basics', '../examples/tabular/40_advanced'],
72+
'examples_dirs': '../examples',
7273
# path where to save gallery generated examples
73-
'gallery_dirs': ['basics_tabular', 'advanced_tabular'],
74+
'gallery_dirs': 'examples',
7475
#TODO: fix back/forward references for the examples.
7576
#'doc_module': ('autoPyTorch'),
7677
#'reference_url': {
@@ -107,7 +108,8 @@
107108

108109
# General information about the project.
109110
project = u'AutoPyTorch'
110-
copyright = u'2014-2019, Machine Learning Professorship Freiburg'
111+
copyright = u"2014-{}, Machine Learning Professorship Freiburg".format(
112+
datetime.datetime.now().year)
111113

112114
# The version info for the project you're documenting, acts as replacement for
113115
# |version| and |release|, also used in various other places throughout the

docs/manual.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ We expand the support to image processing tasks in the future.
1616

1717
Examples
1818
========
19-
* `Classification <examples/tabular/20_basics/example_tabular_classification.html>`_
20-
* `Regression <examples/tabular/20_basics/example_tabular_regression.html>`_
21-
* `Customizing the search space <examples/tabular/40_advanced/example_custom_configuration_space.html>`_
22-
* `Changing the resampling strategy <examples/tabular/40_advanced/example_resampling_strategy.html>`_
23-
* `Visualizing the results <examples/tabular/40_advanced/example_visualization.html>`_
19+
* `Classification <examples/20_basics/example_tabular_classification.html>`_
20+
* `Regression <examples/20_basics/example_tabular_regression.html>`_
21+
* `Customizing the search space <examples/40_advanced/example_custom_configuration_space.html>`_
22+
* `Changing the resampling strategy <examples/40_advanced/example_resampling_strategy.html>`_
23+
* `Visualizing the results <examples/40_advanced/example_visualization.html>`_
2424

2525
Resource Allocation
2626
===================
File renamed without changes.

examples/tabular/20_basics/example_tabular_classification.py renamed to examples/20_basics/example_tabular_classification.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@
4040
# Build and fit a classifier
4141
# ==========================
4242
api = TabularClassificationTask(
43-
temporary_directory='./tmp/autoPyTorch_example_tmp_01',
44-
output_directory='./tmp/autoPyTorch_example_out_01',
45-
# To maintain logs of the run, set the next two as False
46-
delete_tmp_folder_after_terminate=True,
47-
delete_output_folder_after_terminate=True,
43+
# To maintain logs of the run, you can uncomment the
44+
# Following lines
45+
# temporary_directory='./tmp/autoPyTorch_example_tmp_01',
46+
# output_directory='./tmp/autoPyTorch_example_out_01',
47+
# delete_tmp_folder_after_terminate=False,
48+
# delete_output_folder_after_terminate=False,
4849
seed=42,
4950
)
5051

examples/tabular/20_basics/example_tabular_regression.py renamed to examples/20_basics/example_tabular_regression.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,7 @@
4848
############################################################################
4949
# Build and fit a regressor
5050
# ==========================
51-
api = TabularRegressionTask(
52-
temporary_directory='./tmp/autoPyTorch_example_tmp_02',
53-
output_directory='./tmp/autoPyTorch_example_out_02',
54-
# To maintain logs of the run, set the next two as False
55-
delete_tmp_folder_after_terminate=True,
56-
delete_output_folder_after_terminate=True
57-
)
51+
api = TabularRegressionTask()
5852

5953
############################################################################
6054
# Search for an ensemble of machine learning algorithms

examples/tabular/40_advanced/example_resampling_strategy.py renamed to examples/40_advanced/example_resampling_strategy.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@
4343
# Build and fit a classifier with default resampling strategy
4444
# ===========================================================
4545
api = TabularClassificationTask(
46-
temporary_directory='./tmp/autoPyTorch_example_tmp_03',
47-
output_directory='./tmp/autoPyTorch_example_out_03',
48-
# To maintain logs of the run, set the next two as False
49-
delete_tmp_folder_after_terminate=True,
50-
delete_output_folder_after_terminate=True,
5146
# 'HoldoutValTypes.holdout_validation' with 'val_share': 0.33
5247
# is the default argument setting for TabularClassificationTask.
5348
# It is explicitly specified in this example for demonstrational
@@ -85,11 +80,6 @@
8580
# Build and fit a classifier with Cross validation resampling strategy
8681
# ====================================================================
8782
api = TabularClassificationTask(
88-
temporary_directory='./tmp/autoPyTorch_example_tmp_04',
89-
output_directory='./tmp/autoPyTorch_example_out_04',
90-
# To maintain logs of the run, set the next two as False
91-
delete_tmp_folder_after_terminate=True,
92-
delete_output_folder_after_terminate=True,
9383
resampling_strategy=CrossValTypes.k_fold_cross_validation,
9484
resampling_strategy_args={'num_splits': 3}
9585
)
@@ -123,11 +113,6 @@
123113
# Build and fit a classifier with Stratified resampling strategy
124114
# ==============================================================
125115
api = TabularClassificationTask(
126-
temporary_directory='./tmp/autoPyTorch_example_tmp_05',
127-
output_directory='./tmp/autoPyTorch_example_out_05',
128-
# To maintain logs of the run, set the next two as False
129-
delete_tmp_folder_after_terminate=True,
130-
delete_output_folder_after_terminate=True,
131116
# For demonstration purposes, we use
132117
# Stratified hold out validation. However,
133118
# one can also use CrossValTypes.stratified_k_fold_cross_validation.

0 commit comments

Comments
 (0)