https://github.com/mitar/shallot-d3m-wrapper
https://github.com/mitar/shallot-d3m-wrapper
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mitar/shallot-d3m-wrapper
- Owner: mitar
- License: mit
- Created: 2018-11-13T05:23:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-13T05:25:58.000Z (over 7 years ago)
- Last Synced: 2024-10-19T15:18:52.975Z (over 1 year ago)
- Language: Python
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shallot D3M Wrapper
Shallot - SHApeLet Learning Over Time-series
This library is a wrapper of Sloth's Shapelets class into the D3M infrastructure. Code is written in Python 3.6.
## Available Functions
# set_training_data
Sets primitive's training data. The inputs are a numpy ndarray of size (number_of_time_series, time_series_length, dimension) containing training time series
and a numpy ndarray of size (number_time_series,) containing classes of training time series. There are no outputs.
# fit
Fits Shapelet classifier using training data from set_training_data and hyperparameters. There are no inputs or outputs.
# produce
Produce primitive's classifications for new time series data The input is a numpy ndarray of size (number_of_time_series, time_series_length, dimension) containing new time series. The output is a numpy ndarray containing a predicted class for each of the input time series.