1
1
# Changelog
2
2
All notable changes to this project will be documented in this file.
3
3
4
- The format is based on
4
+ The format is based on
5
5
[ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6
- and this project adheres to
6
+ and this project adheres to
7
7
[ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
8
8
9
9
Changelogs for this project are recorded in this file since v0.2.0.
10
10
11
+ ## [ v0.3.1]
12
+
13
+ ### Fixed
14
+
15
+ * Fixed a bug in ` TimeSeriesSVC ` and ` TimeSeriesSVR ` that caused user-input
16
+ ` gamma ` to be ignored (always treated as if it were ` "auto" ` ) for ` gak ` kernel
17
+
18
+ ## [ v0.3.0]
19
+
20
+ ### Changed
21
+
22
+ * ` dtw_barycenter_averaging ` is made faster by using vectorized computations
23
+ * ` dtw_barycenter_averaging ` can be restarted several times to reach better
24
+ local optima using a parameter ` n_init ` set to 1 by default
25
+ * Functions ` load_timeseries_txt ` and ` save_timeseries_txt ` from the utils
26
+ module have changed their names to ` load_time_series_txt ` and
27
+ ` save_time_series_txt ` . Old names can still be used but considered deprecated
28
+ and removed from the public API documentation for the sake of harmonization
29
+ * Default value for the maximum number of iterations to train ` ShapeletModel `
30
+ and ` SerializableShapeletModel ` is now set to 10,000 (used to be 100)
31
+ * ` TimeSeriesScalerMeanVariance ` and ` TimeSeriesScalerMinMax ` now ignore any
32
+ NaNs when calling their respective ` transform ` methods in order to better
33
+ mirror scikit-learn's handling of missing data in preprocessing.
34
+ * ` KNeighborsTimeSeries ` now accepts variable-length time series as inputs
35
+ when used with metrics that can deal with it (eg. DTW)
36
+
37
+ ### Added
38
+
39
+ * ` KNeighborsTimeSeriesRegressor ` is a new regressor based on
40
+ k-nearest-neighbors that accepts the same metrics as
41
+ ` KNeighborsTimeSeriesClassifier `
42
+ * A ` set_weights ` method is added to the ` ShapeletModel ` and
43
+ ` SerializableShapeletModel ` estimators
44
+ * ` subsequence_path ` and ` subsequence_cost_matrix ` are now part of the public
45
+ API and properly documented as such with an example use case in which more than
46
+ one path could be of interest (cf. ` plot_sdtw.py ` )
47
+ * ` verbose ` levels can be set for all functions / classes that use ` joblib `
48
+ for parallel computations and ` joblib ` levels are used;
49
+ * conversion functions are provided in the ` utils ` module to interact with
50
+ other Python time series packages (` pyts ` , ` sktime ` , ` cesium ` , ` seglearn ` ,
51
+ ` tsfresh ` , ` stumpy ` , ` pyflux ` )
52
+ * ` dtw_barycenter_averaging_subgradient ` is now available to compute DTW
53
+ barycenter based on subgradient descent
54
+ * ` dtw_limited_warping_length ` is provided as a way to compute DTW under upper
55
+ bound constraint on warping path length
56
+ * ` BaseModelPackage ` is a base class for serializing models to hdf5, json and
57
+ pickle. h5py is added to requirements for hdf5 support.
58
+ * ` BaseModelPackage ` is used to add serialization functionality to the
59
+ following models: ` GlobalAlignmentKernelKMeans ` , ` TimeSeriesKMeans ` ,
60
+ ` KShape ` , ` KNeighborsTimeSeries ` , ` KNeighborsTimeSeriesClassifier ` ,
61
+ ` PiecewiseAggregateApproximation ` , ` SymbolicAggregateApproximation ` ,
62
+ and ` OneD_SymbolicAggregateApproximation `
63
+
64
+ ### Changed
65
+
66
+ * When constrained DTW is used, if the name of the constraint is not given but
67
+ its parameter is set, that is now considered sufficient to identify the
68
+ constraint.
69
+
70
+ ## [ v0.2.4]
71
+
72
+ ### Fixed
73
+
74
+ * The ` tests ` subdirectory is now made a python package and hence included in
75
+ wheels
76
+
77
+ ## [ v0.2.2]
78
+
79
+ ### Fixed
80
+
81
+ * The way version number is retrieved in ` setup.py ` was not working properly
82
+ on Python 3.4 (and made the install script fail), switched back to the previous
83
+ version
84
+
85
+ ## [ v0.2.1]
86
+
87
+ ### Added
88
+
89
+ * A ` RuntimeWarning ` is raised when an ` 'itakura' ` constraint is set
90
+ that is unfeasible given the provided shapes.
91
+
92
+ ### Fixed
93
+
94
+ * ` 'itakura' ` and ` 'sakoe_chiba' ` were swapped in ` metrics.compute_mask `
95
+
11
96
## [ v0.2.0]
12
97
13
98
### Added
14
99
15
- * ` tslearn ` estimators are now automatically tested to match ` sklearn `
16
- requirements "as much as possible" (cf. ` tslearn ` needs in
100
+ * ` tslearn ` estimators are now automatically tested to match ` sklearn `
101
+ requirements "as much as possible" (cf. ` tslearn ` needs in
17
102
terms of data format, _ etc._ )
18
103
* ` cdist_dtw ` and ` cdist_gak ` now have a ` n_jobs ` parameter to parallelize
19
104
distance computations using ` joblib.Parallel `
20
- * ` n_jobs ` is also available as a prameter in
21
- ` silhouette_score ` , ` TimeSeriesKMeans ` , ` KNeighborsTimeSeries ` ,
105
+ * ` n_jobs ` is also available as a prameter in
106
+ ` silhouette_score ` , ` TimeSeriesKMeans ` , ` KNeighborsTimeSeries ` ,
22
107
` KNeighborsTimeSeriesClassifier ` , ` TimeSeriesSVC ` ,
23
108
` TimeSeriesSVR ` and ` GlobalAlignmentKernelKMeans `
24
109
@@ -29,12 +114,12 @@ distance computations using `joblib.Parallel`
29
114
cross-validation tools, even (for those concerned) with variable-length data
30
115
* doctests have been reduced to those necessary for documentation purposes, the
31
116
other tests being moved to ` tests/*.py `
32
- * The list of authors for the ` tslearn ` bibliographic reference has been
117
+ * The list of authors for the ` tslearn ` bibliographic reference has been
33
118
updated to include Johann Faouzi and Gilles Van de Wiele
34
119
* In ` TimeSeriesScalerMinMax ` , ` min ` and ` max ` parameters are now deprecated
35
120
in favor of ` value_range ` . Will be removed in v0.4
36
- * In ` TimeSeriesKMeans ` and ` silhouette_score ` , ` 'gamma_sdtw' ` is now
37
- deprecated as a key for ` metric_params ` in favor of ` gamma ` . Will be removed
121
+ * In ` TimeSeriesKMeans ` and ` silhouette_score ` , ` 'gamma_sdtw' ` is now
122
+ deprecated as a key for ` metric_params ` in favor of ` gamma ` . Will be removed
38
123
in v0.4
39
124
40
125
### Removed
0 commit comments