Skip to content

Commit bab9005

Browse files
authored
Merge pull request #1292 from automl/development
Development
2 parents e254567 + b4481e6 commit bab9005

File tree

21 files changed

+769
-169
lines changed

21 files changed

+769
-169
lines changed

CITATION.cff

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
---
2+
cff-version: 1.2.0
3+
4+
message: "If you use auto-sklearn in a scientific publication, we would appreciate a reference to the following paper"
5+
6+
title: "auto-sklearn"
7+
date-released: "2015-07-02"
8+
9+
url: "https://automl.github.io/auto-sklearn/master/"
10+
repository-code: "https://github.com/automl/auto-sklearn"
11+
12+
version: "0.14.0"
13+
14+
type: "software"
15+
keywords:
16+
- "automated machine learning"
17+
- "machine learning"
18+
19+
license: "BSD-3-Clause"
20+
21+
authors:
22+
- family-names: "Feurer"
23+
given-names: "Matthias"
24+
orcid: "https://orcid.org/0000-0001-9611-8588"
25+
affiliation: "University of Freiburg, Germany"
26+
27+
- family-names: "Eggensperger"
28+
given-names: "Katharina"
29+
orcid: "https://orcid.org/0000-0002-0309-401X"
30+
affiliation: "University of Freiburg, Germany"
31+
32+
- family-name: "Bergman"
33+
given-names: "Edward"
34+
affiliation: "University of Freiburg, Germany"
35+
36+
- family-name: "Rivera Valverde"
37+
given-names: "Francisco"
38+
affiliation: "University of Freiburg, Germany"
39+
40+
- family-names: "Jost"
41+
given-names: "Springenberg"
42+
orcid: "https://orcid.org/0000-0002-9392-1006"
43+
affiliation: "University of Freiburg, Germany"
44+
45+
- family-names: "Manuel"
46+
given-names: "Blum"
47+
affiliation: "University of Freiburg, Germany"
48+
49+
- family-names: "Hutter"
50+
given-names: "Frank"
51+
affiliation: "University of Freiburg, Germany"
52+
53+
preferred-citation:
54+
type: "proceedings"
55+
title: "Efficient and Robust Automated Machine Learning"
56+
collection-title: "Advances in Nerual Infromation Processing Systems 28 (2015)"
57+
year: 2015
58+
pages: "2962--2970"
59+
url: "https://papers.neurips.cc/paper/5872-efficient-and-robust-automated-machine-learning.pdf"
60+
61+
publisher:
62+
name: "Curran Associates, Inc."
63+
64+
editors:
65+
66+
- family-names: "Cortes"
67+
given-names: "C."
68+
69+
- family-names: "Lawrence"
70+
given-names: "N."
71+
72+
- family-names: "Lee"
73+
given-names: "D."
74+
75+
- family-names: "Sugiyama"
76+
given-names: "M."
77+
78+
- family-names: "Garnett"
79+
given-names: "R."
80+
81+
authors:
82+
83+
- family-names: "Feurer"
84+
given-names: "Matthias"
85+
orcid: "https://orcid.org/0000-0001-9611-8588"
86+
affiliation: "University of Freiburg, Germany"
87+
88+
- family-names: "Klein"
89+
given-names: "Aaron"
90+
affiliation: "University of Freiburg, Germany"
91+
92+
- family-names: "Eggensperger"
93+
given-names: "Katharina"
94+
orcid: "https://orcid.org/0000-0002-0309-401X"
95+
affiliation: "University of Freiburg, Germany"
96+
97+
- family-names: "Jost"
98+
given-names: "Springenberg"
99+
orcid: "https://orcid.org/0000-0002-9392-1006"
100+
affiliation: "University of Freiburg, Germany"
101+
102+
- family-names: "Manuel"
103+
given-names: "Blum"
104+
affiliation: "University of Freiburg, Germany"
105+
106+
- family-names: "Hutter"
107+
given-names: "Frank"
108+
affiliation: "University of Freiburg, Germany"
109+
...

CONTRIBUTING.md

Lines changed: 415 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ If you use auto-sklearn in scientific publications, we would appreciate citation
3030
*Matthias Feurer, Aaron Klein, Katharina Eggensperger, Jost Springenberg, Manuel Blum and Frank Hutter*
3131
Advances in Neural Information Processing Systems 28 (2015)
3232

33-
[Link](https://papers.nips.cc/paper/5872-efficient-and-robust-automated-machine-learning.pdf) to publication.
33+
[Link](https://papers.neurips.cc/paper/5872-efficient-and-robust-automated-machine-learning.pdf) to publication.
3434
```
3535
@inproceedings{feurer-neurips15a,
36-
title = {Efficient and Robust Automated Machine Learning},
37-
author = {Matthias Feurer, Aaron Klein, Katharina Eggensperger, Jost Springenberg, Manuel Blum and Frank Hutter},
38-
booktitle = {Advances in Neural Information Processing Systems 28 (2015)},
39-
pages = {2962--2970},
40-
year = {2015}
36+
title = {Efficient and Robust Automated Machine Learning},
37+
author = {Feurer, Matthias and Klein, Aaron and Eggensperger, Katharina Springenberg, Jost and Blum, Manuel and Hutter, Frank},
38+
booktitle = {Advances in Neural Information Processing Systems 28 (2015)},
39+
pages = {2962--2970},
40+
year = {2015}
4141
}
4242
```
4343

@@ -49,11 +49,11 @@ arXiv:2007.04074 [cs.LG], 2020
4949

5050
[Link](https://arxiv.org/abs/2007.04074) to publication.
5151
```
52-
@inproceedings{feurer-arxiv20a,
53-
title = {Auto-Sklearn 2.0: The Next Generation},
54-
author = {Matthias Feurer, Katharina Eggensperger, Stefan Falkner, Marius Lindauer and Frank Hutter},
55-
booktitle = {arXiv:2007.04074 [cs.LG]},
56-
year = {2020}
52+
@article{feurer-arxiv20a,
53+
title = {Auto-Sklearn 2.0: Hands-free AutoML via Meta-Learning},
54+
author = {Feurer, Matthias and Eggensperger, Katharina and Falkner, Stefan and Lindauer, Marius and Hutter, Frank},
55+
booktitle = {arXiv:2007.04074 [cs.LG]},
56+
year = {2020}
5757
}
5858
```
5959

autosklearn/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""Version information."""
22

33
# The following line *must* be the last in the module, exactly as formatted:
4-
__version__ = "0.14.0"
4+
__version__ = "0.14.1"

autosklearn/automl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ def fit(
587587

588588
# AutoSklearn does not handle sparse y for now
589589
y = convert_if_sparse(y)
590+
y_test = convert_if_sparse(y_test) if y_test is not None else None
590591

591592
# Get the task if it doesn't exist
592593
if task is None:

autosklearn/estimators.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from typing import Optional, Dict, List, Tuple, Union, Iterable
33
from typing_extensions import Literal
44

5-
from ConfigSpace.configuration_space import Configuration
5+
from ConfigSpace.configuration_space import Configuration, ConfigurationSpace
66
import dask.distributed
77
import joblib
88
import numpy as np
@@ -186,7 +186,7 @@ def __init__(
186186
187187
smac_scenario_args : dict, optional (None)
188188
Additional arguments inserted into the scenario of SMAC. See the
189-
`SMAC documentation <https://automl.github.io/SMAC3/master/options.html?highlight=scenario#scenario>`_
189+
`SMAC documentation <https://automl.github.io/SMAC3/master/pages/details/scenario.html>`_
190190
for a list of available arguments.
191191
192192
get_smac_object_callback : callable
@@ -830,7 +830,7 @@ def get_configuration_space(
830830
y_test: Optional[Union[SUPPORTED_TARGET_TYPES, spmatrix]] = None,
831831
dataset_name: Optional[str] = None,
832832
feat_type: Optional[List[str]] = None,
833-
):
833+
) -> ConfigurationSpace:
834834
"""
835835
Returns the Configuration Space object, from which Auto-Sklearn
836836
will sample configurations and build pipelines.
@@ -851,6 +851,7 @@ def get_configuration_space(
851851
"""
852852
if self.automl_ is None:
853853
self.automl_ = self.build_automl()
854+
854855
return self.automl_.fit(
855856
X, y,
856857
X_test=X_test, y_test=y_test,

autosklearn/experimental/askl2.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,7 @@ def __init__(
279279
280280
smac_scenario_args : dict, optional (None)
281281
Additional arguments inserted into the scenario of SMAC. See the
282-
`SMAC documentation
283-
<https://automl.github.io/SMAC3/master/options.html?highlight=scenario
284-
#scenario>`_
282+
`SMAC documentation <https://automl.github.io/SMAC3/master/pages/details/scenario.html>`_
285283
for a list of available arguments.
286284
287285
logging_config : dict, optional (None)

autosklearn/pipeline/components/classification/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
__author__ = 'feurerm'
22

33
from collections import OrderedDict
4+
from typing import Type
45
import os
56

67
from ..base import AutoSklearnClassificationAlgorithm, find_components, \
@@ -15,7 +16,7 @@
1516
_addons = ThirdPartyComponents(AutoSklearnClassificationAlgorithm)
1617

1718

18-
def add_classifier(classifier):
19+
def add_classifier(classifier: Type[AutoSklearnClassificationAlgorithm]) -> None:
1920
_addons.add_component(classifier)
2021

2122

autosklearn/pipeline/components/data_preprocessing/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os
22
from collections import OrderedDict
3-
from typing import Dict, Optional
3+
from typing import Dict, Optional, Type
44

55
from ConfigSpace.configuration_space import ConfigurationSpace
66
from ConfigSpace.hyperparameters import CategoricalHyperparameter
@@ -16,7 +16,7 @@
1616
_addons = ThirdPartyComponents(AutoSklearnPreprocessingAlgorithm)
1717

1818

19-
def add_preprocessor(preprocessor: AutoSklearnPreprocessingAlgorithm) -> None:
19+
def add_preprocessor(preprocessor: Type[AutoSklearnPreprocessingAlgorithm]) -> None:
2020
_addons.add_component(preprocessor)
2121

2222

autosklearn/pipeline/components/feature_preprocessing/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
from collections import OrderedDict
21
import os
2+
from collections import OrderedDict
3+
from typing import Type
34

45
from ..base import AutoSklearnPreprocessingAlgorithm, find_components, \
56
ThirdPartyComponents, AutoSklearnChoice
@@ -13,7 +14,7 @@
1314
_addons = ThirdPartyComponents(AutoSklearnPreprocessingAlgorithm)
1415

1516

16-
def add_preprocessor(preprocessor):
17+
def add_preprocessor(preprocessor: Type[AutoSklearnPreprocessingAlgorithm]) -> None:
1718
_addons.add_component(preprocessor)
1819

1920

0 commit comments

Comments
 (0)