Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
187caaf
csvs
eddiebergman Aug 23, 2021
76a77d1
util file
eddiebergman Aug 23, 2021
54edbe8
Added .gitattributes:
eddiebergman Aug 23, 2021
31f3424
Added generate-baselines
eddiebergman Aug 24, 2021
cdbbeac
update
eddiebergman Aug 24, 2021
f4257ae
Fixed branch envvar
eddiebergman Aug 24, 2021
cd79a61
Removed excess path part
eddiebergman Aug 24, 2021
ddf118b
Fix branch extract
eddiebergman Aug 24, 2021
2aec0ff
Typo fix
eddiebergman Aug 24, 2021
3e467b3
Typo fixes
eddiebergman Aug 24, 2021
e188933
branch extract?
eddiebergman Aug 24, 2021
96a89e6
filename fix
eddiebergman Aug 24, 2021
742a48c
path fix
eddiebergman Aug 24, 2021
a34a0ee
path fix
eddiebergman Aug 24, 2021
80e4cf6
fix tadodedoo
eddiebergman Aug 24, 2021
08b67b4
1 step closer to going home
eddiebergman Aug 24, 2021
16d144b
sigh...typo
eddiebergman Aug 24, 2021
6a1ae11
regression workflow stuff
eddiebergman Aug 25, 2021
7f29d4a
Updated to new flow
eddiebergman Aug 25, 2021
c8c7a1e
switched to baseline off development
eddiebergman Aug 25, 2021
bf93868
Fix yaml
eddiebergman Aug 25, 2021
ba62e9f
fix again ...
eddiebergman Aug 25, 2021
5007b8b
first sigh
eddiebergman Aug 25, 2021
a2ce558
Event fixes, second sigh
eddiebergman Aug 25, 2021
819c1fc
third sigh
eddiebergman Aug 25, 2021
ce6072a
Finding issues
eddiebergman Aug 25, 2021
454bd9b
message
eddiebergman Aug 25, 2021
f09b673
narrow down?
eddiebergman Aug 25, 2021
fe2bdd2
maybe multiple jobs?
eddiebergman Aug 25, 2021
0aa7492
create-comment issue?
eddiebergman Aug 25, 2021
a4064fb
Now?
eddiebergman Aug 25, 2021
5c81e31
Fixed maybe
eddiebergman Aug 25, 2021
57463cf
Merge pull request #1247 from automl/development
mfeurer Sep 14, 2021
3146e03
Fixes to typing
eddiebergman Sep 15, 2021
e3beb6b
removed rogue print, flake8'd
eddiebergman Sep 15, 2021
e8af236
Merge branch 'master' into master
eddiebergman Oct 1, 2021
1fa4482
Revert "Merge branch 'master' into master"
eddiebergman Oct 1, 2021
a21b488
fix release notes
mfeurer Sep 14, 2021
502c136
Merge branch 'development' of github.com:automl/auto-sklearn into dev…
eddiebergman Oct 1, 2021
654c854
Fix typo (#1271)
mdbecker Nov 3, 2021
526049d
Update code examples in manual (#1270)
eddiebergman Nov 3, 2021
f899306
Fixes random_state for make_x from sklearn.datasets (#1263)
eddiebergman Nov 3, 2021
b9c36ff
Updated to use full paths in setup.py (#1259)
eddiebergman Nov 3, 2021
677734d
Contribution guide (#1282)
eddiebergman Nov 3, 2021
2693c4c
checks y_test for sparse (#1248)
eddiebergman Nov 3, 2021
89d6018
Update example on extending data preprocessing (#1269)
eddiebergman Nov 3, 2021
36c6e0b
Update link for scenario (#1277)
eddiebergman Nov 3, 2021
26aee2e
Include a `CITATION.cff` file (#1261)
eddiebergman Nov 3, 2021
cebad79
Fixes old reference to HPOlibConfigSpace to ConfigSpace
KEggensperger Nov 4, 2021
3d4c6ec
Fixes to typing
eddiebergman Sep 15, 2021
fecb6bd
removed rogue print, flake8'd
eddiebergman Sep 15, 2021
2140d6b
merge
eddiebergman Nov 4, 2021
0010e54
Added test to make sure an estimator can be fit twice
eddiebergman Nov 4, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 109 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
---
cff-version: 1.2.0

message: "If you use auto-sklearn in a scientific publication, we would appreciate a reference to the following paper"

title: "auto-sklearn"
date-released: "2015-07-02"

url: "https://automl.github.io/auto-sklearn/master/"
repository-code: "https://github.com/automl/auto-sklearn"

version: "0.14.0"

type: "software"
keywords:
- "automated machine learning"
- "machine learning"

license: "BSD-3-Clause"

authors:
- family-names: "Feurer"
given-names: "Matthias"
orcid: "https://orcid.org/0000-0001-9611-8588"
affiliation: "University of Freiburg, Germany"

- family-names: "Eggensperger"
given-names: "Katharina"
orcid: "https://orcid.org/0000-0002-0309-401X"
affiliation: "University of Freiburg, Germany"

- family-name: "Bergman"
given-names: "Edward"
affiliation: "University of Freiburg, Germany"

- family-name: "Rivera Valverde"
given-names: "Francisco"
affiliation: "University of Freiburg, Germany"

- family-names: "Jost"
given-names: "Springenberg"
orcid: "https://orcid.org/0000-0002-9392-1006"
affiliation: "University of Freiburg, Germany"

- family-names: "Manuel"
given-names: "Blum"
affiliation: "University of Freiburg, Germany"

- family-names: "Hutter"
given-names: "Frank"
affiliation: "University of Freiburg, Germany"

preferred-citation:
type: "proceedings"
title: "Efficient and Robust Automated Machine Learning"
collection-title: "Advances in Nerual Infromation Processing Systems 28 (2015)"
year: 2015
pages: "2962--2970"
url: "https://papers.neurips.cc/paper/5872-efficient-and-robust-automated-machine-learning.pdf"

publisher:
name: "Curran Associates, Inc."

editors:

- family-names: "Cortes"
given-names: "C."

- family-names: "Lawrence"
given-names: "N."

- family-names: "Lee"
given-names: "D."

- family-names: "Sugiyama"
given-names: "M."

- family-names: "Garnett"
given-names: "R."

authors:

- family-names: "Feurer"
given-names: "Matthias"
orcid: "https://orcid.org/0000-0001-9611-8588"
affiliation: "University of Freiburg, Germany"

- family-names: "Klein"
given-names: "Aaron"
affiliation: "University of Freiburg, Germany"

- family-names: "Eggensperger"
given-names: "Katharina"
orcid: "https://orcid.org/0000-0002-0309-401X"
affiliation: "University of Freiburg, Germany"

- family-names: "Jost"
given-names: "Springenberg"
orcid: "https://orcid.org/0000-0002-9392-1006"
affiliation: "University of Freiburg, Germany"

- family-names: "Manuel"
given-names: "Blum"
affiliation: "University of Freiburg, Germany"

- family-names: "Hutter"
given-names: "Frank"
affiliation: "University of Freiburg, Germany"
...
415 changes: 415 additions & 0 deletions CONTRIBUTING.md

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ If you use auto-sklearn in scientific publications, we would appreciate citation
*Matthias Feurer, Aaron Klein, Katharina Eggensperger, Jost Springenberg, Manuel Blum and Frank Hutter*
Advances in Neural Information Processing Systems 28 (2015)

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

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

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

Expand Down
33 changes: 17 additions & 16 deletions autosklearn/automl.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
from smac.stats.stats import Stats
import joblib
import sklearn.utils
from scipy.sparse import spmatrix
from sklearn.utils import check_random_state
from sklearn.utils.validation import check_is_fitted
from sklearn.metrics._classification import type_of_target
Expand Down Expand Up @@ -486,10 +485,10 @@ def _supports_task_type(cls, task_type: str) -> bool:
def fit(
self,
X: SUPPORTED_FEAT_TYPES,
y: Union[SUPPORTED_TARGET_TYPES, spmatrix],
y: SUPPORTED_TARGET_TYPES,
task: Optional[int] = None,
X_test: Optional[SUPPORTED_FEAT_TYPES] = None,
y_test: Optional[Union[SUPPORTED_TARGET_TYPES, spmatrix]] = None,
y_test: Optional[SUPPORTED_TARGET_TYPES] = None,
feat_type: Optional[List[str]] = None,
dataset_name: Optional[str] = None,
only_return_configuration_space: bool = False,
Expand Down Expand Up @@ -587,6 +586,7 @@ def fit(

# AutoSklearn does not handle sparse y for now
y = convert_if_sparse(y)
y_test = convert_if_sparse(y_test) if y_test is not None else None

# Get the task if it doesn't exist
if task is None:
Expand Down Expand Up @@ -1012,7 +1012,7 @@ def _check_resampling_strategy(
'partial-cv',
'partial-cv-iterative-fit',
] and not is_split_object:
raise ValueError('Illegal resampling strategy: %s' % self._resampling_strategy)
raise ValueError(f'Illegal resampling strategy: {self._resampling_strategy}')

elif is_split_object:
TrainEvaluator.check_splitter_resampling_strategy(
Expand Down Expand Up @@ -1206,13 +1206,13 @@ def refit(self, X, y):
def fit_pipeline(
self,
X: SUPPORTED_FEAT_TYPES,
y: Union[SUPPORTED_TARGET_TYPES, spmatrix],
y: SUPPORTED_TARGET_TYPES,
is_classification: bool,
config: Union[Configuration, Dict[str, Union[str, float, int]]],
task: Optional[int] = None,
dataset_name: Optional[str] = None,
X_test: Optional[SUPPORTED_FEAT_TYPES] = None,
y_test: Optional[Union[SUPPORTED_TARGET_TYPES, spmatrix]] = None,
y_test: Optional[SUPPORTED_TARGET_TYPES] = None,
feat_type: Optional[List[str]] = None,
**kwargs: Dict,
) -> Tuple[Optional[BasePipeline], RunInfo, RunValue]:
Expand Down Expand Up @@ -1263,6 +1263,7 @@ def fit_pipeline(
"""
# AutoSklearn does not handle sparse y for now
y = convert_if_sparse(y)
y_test = convert_if_sparse(y_test) if y_test is not None else None

# Get the task if it doesn't exist
if task is None:
Expand Down Expand Up @@ -1903,10 +1904,10 @@ def _supports_task_type(cls, task_type: str) -> bool:
def fit(
self,
X: SUPPORTED_FEAT_TYPES,
y: Union[SUPPORTED_TARGET_TYPES, spmatrix],
y: SUPPORTED_TARGET_TYPES,
X_test: Optional[SUPPORTED_FEAT_TYPES] = None,
y_test: Optional[Union[SUPPORTED_TARGET_TYPES, spmatrix]] = None,
feat_type: Optional[List[bool]] = None,
y_test: Optional[SUPPORTED_TARGET_TYPES] = None,
feat_type: Optional[List[str]] = None,
dataset_name: Optional[str] = None,
only_return_configuration_space: bool = False,
load_models: bool = True,
Expand All @@ -1925,11 +1926,11 @@ def fit(
def fit_pipeline(
self,
X: SUPPORTED_FEAT_TYPES,
y: Union[SUPPORTED_TARGET_TYPES, spmatrix],
y: SUPPORTED_TARGET_TYPES,
config: Union[Configuration, Dict[str, Union[str, float, int]]],
dataset_name: Optional[str] = None,
X_test: Optional[SUPPORTED_FEAT_TYPES] = None,
y_test: Optional[Union[SUPPORTED_TARGET_TYPES, spmatrix]] = None,
y_test: Optional[SUPPORTED_TARGET_TYPES] = None,
feat_type: Optional[List[str]] = None,
**kwargs,
) -> Tuple[Optional[BasePipeline], RunInfo, RunValue]:
Expand Down Expand Up @@ -1980,10 +1981,10 @@ def _supports_task_type(cls, task_type: str) -> bool:
def fit(
self,
X: SUPPORTED_FEAT_TYPES,
y: Union[SUPPORTED_TARGET_TYPES, spmatrix],
y: SUPPORTED_TARGET_TYPES,
X_test: Optional[SUPPORTED_FEAT_TYPES] = None,
y_test: Optional[Union[SUPPORTED_TARGET_TYPES, spmatrix]] = None,
feat_type: Optional[List[bool]] = None,
y_test: Optional[SUPPORTED_TARGET_TYPES] = None,
feat_type: Optional[List[str]] = None,
dataset_name: Optional[str] = None,
only_return_configuration_space: bool = False,
load_models: bool = True,
Expand All @@ -2002,11 +2003,11 @@ def fit(
def fit_pipeline(
self,
X: SUPPORTED_FEAT_TYPES,
y: Union[SUPPORTED_TARGET_TYPES, spmatrix],
y: SUPPORTED_TARGET_TYPES,
config: Union[Configuration, Dict[str, Union[str, float, int]]],
dataset_name: Optional[str] = None,
X_test: Optional[SUPPORTED_FEAT_TYPES] = None,
y_test: Optional[Union[SUPPORTED_TARGET_TYPES, spmatrix]] = None,
y_test: Optional[SUPPORTED_TARGET_TYPES] = None,
feat_type: Optional[List[str]] = None,
**kwargs: Dict,
) -> Tuple[Optional[BasePipeline], RunInfo, RunValue]:
Expand Down
2 changes: 1 addition & 1 deletion autosklearn/data/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


def convert_if_sparse(
y: typing.Union[SUPPORTED_TARGET_TYPES, spmatrix]
y: SUPPORTED_TARGET_TYPES
) -> SUPPORTED_TARGET_TYPES:
"""If the labels `y` are sparse, it will convert it to its dense representation

Expand Down
Loading