Skip to content

Commit

Permalink
adapt changelog for 0.11.1 (#430)
Browse files Browse the repository at this point in the history
* adapt changelog for 0.11.1
* do not use pytest=3.8.*
  • Loading branch information
MaxBenChrist authored Sep 7, 2018
1 parent 7ba6a13 commit 58eccff
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
9 changes: 8 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,17 @@ Changelog

tsfresh uses `Semantic Versioning <http://semver.org/>`_

Version 0.11.1
==============
- general performance improvements
- removed hard pinning of dependencies
- fixed
- the stock price forecasting notebook
- the multi classification notebook


Version 0.11.0
==============

- new feature calculators:
- fft_aggregated
- cid_ce
Expand Down
3 changes: 2 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pytest>=3.0.2
# test suite fails on pytest 3.8.0 and above with internal error
pytest>=3.0.2, !=3.8.*
pytest-cov>=2.3.1
pytest-xdist>=1.15.0
six>=1.10.0
Expand Down
10 changes: 7 additions & 3 deletions tests/units/transformers/test_feature_augmenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ def setUp(self):

fc_parameters = {"length": None}
self.kind_to_fc_parameters = {"a": fc_parameters.copy(),
"b": fc_parameters.copy()}
"b": fc_parameters.copy()}

def test_fit_and_transform(self):
augmenter = FeatureAugmenter(column_value="val", column_id="id", column_sort="sort",
column_kind="kind",
kind_to_fc_parameters=self.kind_to_fc_parameters)
kind_to_fc_parameters=self.kind_to_fc_parameters,
n_jobs=0,
disable_progressbar = True)

# Fit should do nothing
returned_df = augmenter.fit()
Expand Down Expand Up @@ -55,7 +57,9 @@ def test_fit_and_transform(self):
def test_add_features_to_only_a_part(self):
augmenter = FeatureAugmenter(column_value="val", column_id="id", column_sort="sort",
column_kind="kind",
kind_to_fc_parameters=self.kind_to_fc_parameters)
kind_to_fc_parameters=self.kind_to_fc_parameters,
n_jobs=0,
disable_progressbar = True)

augmenter.set_timeseries_container(self.test_df)

Expand Down
2 changes: 0 additions & 2 deletions tests/units/transformers/test_feature_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,13 @@ def test_extract_relevant_features(self):

returned_selector = selector.fit(X, y)
self.assertIs(returned_selector, selector)

self.assertEqual(sorted(selector.relevant_features), ["rel1", "rel2", "rel3", "rel4", "rel5"])

new_X = X.copy()

selected_X = selector.transform(new_X)

self.assertEqual(sorted(selector.relevant_features), sorted(list(selected_X.columns)))

self.assertEqual(len(selector.features), len(X.columns))

def test_nothing_relevant(self):
Expand Down

0 comments on commit 58eccff

Please sign in to comment.