This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
[doc] Add auto-generated docs #279
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
title: API Reference | ||
nav: | ||
- Overview: README.md | ||
- ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!-- markdownlint-disable --> | ||
|
||
# API Overview | ||
|
||
## Modules | ||
|
||
- [`list_searcher`](./list_searcher.md#module-list_searcher): Helper class to support passing a | ||
- [`tune_basesearch`](./tune_basesearch.md#module-tune_basesearch): Parent class for a cross-validation interface | ||
- [`tune_gridsearch`](./tune_gridsearch.md#module-tune_gridsearch): Class for doing grid search over lists of hyperparameters | ||
- [`tune_search`](./tune_search.md#module-tune_search): Class for cross-validation over distributions of hyperparameters | ||
- [`utils`](./utils.md#module-utils) | ||
|
||
## Classes | ||
|
||
- [`list_searcher.ListSearcher`](./list_searcher.md#class-listsearcher): Custom search algorithm to support passing in a list of | ||
- [`list_searcher.RandomListSearcher`](./list_searcher.md#class-randomlistsearcher): Custom search algorithm to support passing in a list of | ||
- [`tune_basesearch.TuneBaseSearchCV`](./tune_basesearch.md#class-tunebasesearchcv): Abstract base class for TuneGridSearchCV and TuneSearchCV | ||
- [`tune_gridsearch.TuneGridSearchCV`](./tune_gridsearch.md#class-tunegridsearchcv): Exhaustive search over specified parameter values for an estimator. | ||
- [`tune_search.TuneSearchCV`](./tune_search.md#class-tunesearchcv): Generic, non-grid search on hyper parameters. | ||
- [`utils.EarlyStopping`](./utils.md#class-earlystopping): An enumeration. | ||
|
||
## Functions | ||
|
||
- [`tune_basesearch.resolve_early_stopping`](./tune_basesearch.md#function-resolve_early_stopping) | ||
- [`utils.check_error_warm_start`](./utils.md#function-check_error_warm_start) | ||
- [`utils.check_is_pipeline`](./utils.md#function-check_is_pipeline) | ||
- [`utils.check_partial_fit`](./utils.md#function-check_partial_fit) | ||
- [`utils.check_warm_start_ensemble`](./utils.md#function-check_warm_start_ensemble) | ||
- [`utils.check_warm_start_iter`](./utils.md#function-check_warm_start_iter) | ||
- [`utils.get_early_stop_type`](./utils.md#function-get_early_stop_type) | ||
- [`utils.is_tune_grid_search`](./utils.md#function-is_tune_grid_search): Checks if obj is a dictionary returned by tune.grid_search. | ||
- [`utils.resolve_logger_callbacks`](./utils.md#function-resolve_logger_callbacks) | ||
|
||
|
||
--- | ||
|
||
_This file was automatically generated via [lazydocs](https://github.com/ml-tooling/lazydocs)._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
<!-- markdownlint-disable --> | ||
|
||
<a href="https://github.com/ray-project/tune-sklearn/blob/master/tune_sklearn/list_searcher.py#L0"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
# <kbd>module</kbd> `list_searcher` | ||
Helper class to support passing a list of dictionaries for hyperparameters | ||
-- Anthony Yu and Michael Chau | ||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ray-project/tune-sklearn/blob/master/tune_sklearn/list_searcher.py#L11"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
## <kbd>class</kbd> `ListSearcher` | ||
Custom search algorithm to support passing in a list of dictionaries to TuneGridSearchCV | ||
|
||
<a href="https://github.com/ray-project/tune-sklearn/blob/master/tune_sklearn/list_searcher.py#L17"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
### <kbd>method</kbd> `__init__` | ||
|
||
```python | ||
__init__(param_grid) | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
#### <kbd>property</kbd> metric | ||
|
||
The training result objective value attribute. | ||
|
||
--- | ||
|
||
#### <kbd>property</kbd> mode | ||
|
||
Specifies if minimizing or maximizing the metric. | ||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ray-project/tune-sklearn/blob/master/tune_sklearn/list_searcher.py#L25"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
### <kbd>method</kbd> `on_trial_complete` | ||
|
||
```python | ||
on_trial_complete(**kwargs) | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ray-project/tune-sklearn/blob/master/tune_sklearn/list_searcher.py#L21"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
### <kbd>method</kbd> `suggest` | ||
|
||
```python | ||
suggest(trial_id) | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ray-project/tune-sklearn/blob/master/tune_sklearn/list_searcher.py#L29"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
## <kbd>class</kbd> `RandomListSearcher` | ||
Custom search algorithm to support passing in a list of dictionaries to TuneSearchCV for randomized search | ||
|
||
<a href="https://github.com/ray-project/tune-sklearn/blob/master/tune_sklearn/list_searcher.py#L35"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
### <kbd>method</kbd> `__init__` | ||
|
||
```python | ||
__init__(param_grid) | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
#### <kbd>property</kbd> metric | ||
|
||
The training result objective value attribute. | ||
|
||
--- | ||
|
||
#### <kbd>property</kbd> mode | ||
|
||
Specifies if minimizing or maximizing the metric. | ||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ray-project/tune-sklearn/blob/master/tune_sklearn/list_searcher.py#L55"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
### <kbd>method</kbd> `on_trial_complete` | ||
|
||
```python | ||
on_trial_complete(**kwargs) | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
<a href="https://github.com/ray-project/tune-sklearn/blob/master/tune_sklearn/list_searcher.py#L39"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a> | ||
|
||
### <kbd>method</kbd> `suggest` | ||
|
||
```python | ||
suggest(trial_id) | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
_This file was automatically generated via [lazydocs](https://github.com/ml-tooling/lazydocs)._ |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this expected to have a link to the docs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it's a working link to the docs overview page