-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* sweep rules update * sphinx upper bound * aeon version * revert * docs * sweep revert * user guide start * install * images * images config * new deps * datasets example * pretty sure this is in aeon * api * remove from toctree * datasets notebook * remove wip examples * results format notebook * results format notebook run * evaluation notebook * fixes * fixes * install note
- Loading branch information
1 parent
c32c898
commit c9df99d
Showing
262 changed files
with
947 additions
and
40,478 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,6 +126,7 @@ dmypy.json | |
|
||
# Test output | ||
test_output/ | ||
examples/generated_results/ | ||
|
||
# Test datasts | ||
test_datasets/ | ||
|
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,16 @@ | ||
/* card images */ | ||
|
||
.tsml-card-image-m { | ||
width: 100%; | ||
height: 150px; | ||
object-fit: contain; | ||
object-position: center; | ||
} | ||
|
||
.tsml-card-image, | ||
.tsml-card-image-l { | ||
width: 100%; | ||
height: 200px; | ||
object-fit: contain; | ||
object-position: center; | ||
} |
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
File renamed without changes
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 |
---|---|---|
@@ -1,72 +1,110 @@ | ||
# Installation | ||
|
||
The following contains information on installing `tsml-eval` for users and developers | ||
with write access. Those who wish to contribute to `tsml-eval` without write access | ||
will need to create a fork, see the [aeon](https://www.aeon-toolkit.org/en/stable/developer_guide/dev_installation.html) | ||
and [sklearn](https://scikit-learn.org/stable/developers/contributing.html#how-to-contribute) | ||
documentation on contributing and developer installation for guidance. | ||
|
||
We recommend setting up a fresh virtual environment or the conda equivalent before | ||
installing `tsml-eval`. See the [aeon guide](https://www.aeon-toolkit.org/en/stable/installation.html#using-a-pip-venv) | ||
for setup information. | ||
|
||
## Install from PyPi | ||
|
||
The easiest way to install ``tsml-eval`` is using ``pip``: | ||
The easiest way to install `tsml-eval` is using `pip`: | ||
|
||
```{code-block} console | ||
```console | ||
pip install tsml-eval | ||
``` | ||
|
||
Some estimators require additional dependencies. You can install these individually as | ||
required, or install all of them using the ``all_extras`` extra dependency set: | ||
required, or install all of them using the `all_extras` extra dependency set: | ||
|
||
```{code-block} console | ||
```console | ||
pip install tsml-eval[all_extras] | ||
``` | ||
|
||
```{note} | ||
If this results in a "no matches found" error, it may be due to how your shell | ||
handles special characters. Try surrounding the dependency portion with quotes i.e. | ||
pip install tsml-eval"[all_extras]" | ||
``` | ||
|
||
All extra dependency sets can be found in the [pyproject.toml](https://github.com/time-series-machine-learning/tsml-eval/blob/main/pyproject.toml) | ||
file ``[project.optional-dependencies]`` options. | ||
file `[project.optional-dependencies]` options. | ||
|
||
To install a specific [release](https://github.com/time-series-machine-learning/tsml-eval/releases) | ||
version, specify the version number when installing: | ||
|
||
```{code-block} console | ||
```console | ||
pip install tsml-eval==0.1.0 | ||
``` | ||
|
||
```{code-block} console | ||
```console | ||
pip install tsml-eval[all_extras]==0.1.0 | ||
``` | ||
|
||
## Install from conda-forge | ||
|
||
`tsml-eval` is also available on [conda-forge](https://anaconda.org/conda-forge/tsml-eval). | ||
|
||
```console | ||
conda create -n tsml-env -c conda-forge tsml-eval | ||
conda activate tsml-env | ||
``` | ||
|
||
Currently for conda installations, optional dependencies must be installed separately. | ||
|
||
## Install fixed dependency versions for a publication | ||
|
||
``tsml-eval`` [publications](publications.md) contain a ``requirements.txt`` file that | ||
lists the versions of all dependencies used to generate results at the time of the | ||
release. | ||
`tsml-eval` [publications](publications.md) contain a `static_publication_reqs.txt` | ||
file that lists the versions of all dependencies used to generate results at the time | ||
of the release. | ||
|
||
To install the dependencies using this file, run: | ||
|
||
```{code-block} console | ||
pip install -r requirements.txt | ||
```console | ||
pip install -r static_publication_reqs.txt | ||
``` | ||
|
||
## Install latest in-development version from GitHub | ||
## Install the latest in-development version from GitHub | ||
|
||
The latest development version of ``tsml-eval`` can be installed directly from GitHub | ||
using ``pip``: | ||
The latest development version of `tsml-eval` can be installed directly from GitHub | ||
using `pip`: | ||
|
||
```{code-block} console | ||
```console | ||
pip install git+https://github.com/time-series-machine-learning/tsml-eval.git@main | ||
``` | ||
|
||
## Install for developers | ||
The latest development version of dependencies can be installed this way, i.e. for | ||
`aeon` | ||
|
||
```console | ||
pip install git+https://github.com/aeon-toolkit/aeon.git@main | ||
``` | ||
|
||
If you have a different version of `tsml-eval` or a dependency installed, you must | ||
uninstall it first before installing the development version. | ||
|
||
## Install for developers with write access | ||
|
||
To install ``tsml-eval`` for development, first clone the GitHub repository: | ||
To install `tsml-eval` for development, first clone the GitHub repository: | ||
|
||
```{code-block} console | ||
```console | ||
git clone https://github.com/time-series-machine-learning/tsml-eval.git | ||
``` | ||
|
||
Then install the package in editable mode with developer dependencies: | ||
|
||
```{code-block} console | ||
```console | ||
pip install --editable .[dev] | ||
``` | ||
|
||
We recommend setting up pre-commit hooks to automatically format code and check for | ||
common issues before committing: | ||
|
||
```{code-block} console | ||
```console | ||
pre-commit install | ||
``` |
Oops, something went wrong.