You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Create release workflow and CITATION.cff and update README, setup.py
* fix bug in pypy token
* fix documentation formatting
* TODO for docker image
* accept suggestions from shuhei
* add further options for disable_file_output documentation
* remove from release.yml
Copy file name to clipboardExpand all lines: README.md
+52-8Lines changed: 52 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
# Auto-PyTorch
2
2
3
-
Copyright (C) 2019[AutoML Group Freiburg](http://www.automl.org/)
3
+
Copyright (C) 2021[AutoML Groups Freiburg and Hannover](http://www.automl.org/)
4
4
5
-
This an alpha version of Auto-PyTorch with improved API.
6
-
So far, Auto-PyTorch supports tabular data (classification, regression).
7
-
We plan to enable image data and time-series data.
5
+
While early AutoML frameworks focused on optimizing traditional ML pipelines and their hyperparameters, another trend in AutoML is to focus on neural architecture search. To bring the best of these two worlds together, we developed **Auto-PyTorch**, which jointly and robustly optimizes the network architecture and the training hyperparameters to enable fully automated deep learning (AutoDL).
8
6
7
+
Auto-PyTorch is mainly developed to support tabular data (classification, regression).
8
+
The newest features in Auto-PyTorch for tabular data are described in the paper ["Auto-PyTorch Tabular: Multi-Fidelity MetaLearning for Efficient and Robust AutoDL"](https://arxiv.org/abs/2006.13799) (see below for bibtex ref).
9
9
10
-
Find the documentation [here](https://automl.github.io/Auto-PyTorch/development)
11
-
10
+
***From v0.1.0, AutoPyTorch has been updated to further improve usability, robustness and efficiency by using SMAC as the underlying optimization package as well as changing the code structure. Therefore, moving from v0.0.2 to v0.1.0 will break compatibility.
11
+
In case you would like to use the old API, you can find it at [`master_old`](https://github.com/automl/Auto-PyTorch/tree/master-old).***
12
12
13
13
## Installation
14
14
@@ -33,6 +33,50 @@ python setup.py install
33
33
34
34
```
35
35
36
+
## Examples
37
+
38
+
In a nutshell:
39
+
40
+
```py
41
+
from autoPyTorch.api.tabular_classification import TabularClassificationTask
42
+
43
+
# data and metric imports
44
+
import sklearn.model_selection
45
+
import sklearn.datasets
46
+
import sklearn.metrics
47
+
X, y = sklearn.datasets.load_digits(return_X_y=True)
48
+
X_train, X_test, y_train, y_test = \
49
+
sklearn.model_selection.train_test_split(X, y, random_state=1)
50
+
51
+
# initialise Auto-PyTorch api
52
+
api = TabularClassificationTask()
53
+
54
+
# Search for an ensemble of machine learning algorithms
55
+
api.search(
56
+
X_train=X_train,
57
+
y_train=y_train,
58
+
X_test=X_test,
59
+
y_test=y_test,
60
+
optimize_metric='accuracy',
61
+
total_walltime_limit=300,
62
+
func_eval_time_limit_secs=50
63
+
)
64
+
65
+
# Calculate test accuracy
66
+
y_pred = api.predict(X_test)
67
+
score = api.score(y_pred, y_test)
68
+
print("Accuracy score", score)
69
+
```
70
+
71
+
For more examples including customising the search space, parellising the code, etc, checkout the `examples` folder
72
+
73
+
```sh
74
+
$ cd examples/
75
+
```
76
+
77
+
78
+
Code for the [paper](https://arxiv.org/abs/2006.13799) is available under `examples/ensemble` in the [TPAMI.2021.3067763](https://github.com/automl/Auto-PyTorch/tree/TPAMI.2021.3067763`) branch.
79
+
36
80
## Contributing
37
81
38
82
If you want to contribute to Auto-PyTorch, clone the repository and checkout our current development branch
@@ -63,8 +107,8 @@ Please refer to the branch `TPAMI.2021.3067763` to reproduce the paper *Auto-PyT
63
107
title = {Auto-PyTorch Tabular: Multi-Fidelity MetaLearning for Efficient and Robust AutoDL},
64
108
journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
65
109
year = {2021},
66
-
note = {IEEE early access; also available under https://arxiv.org/abs/2006.13799},
67
-
pages = {1-12}
110
+
note = {also available under https://arxiv.org/abs/2006.13799},
0 commit comments