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
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[doc] Add auto-generated docs (#279)
Adds auto-generated docs to make this library self-sufficient rather than relying on links in the ray docs. --------- Signed-off-by: Justin Yu <[email protected]>
- Loading branch information
Showing
8 changed files
with
1,130 additions
and
7 deletions.
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.