File tree Expand file tree Collapse file tree 7 files changed +15
-12
lines changed
Expand file tree Collapse file tree 7 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -88,4 +88,9 @@ activation function type
8888- removed internal hyperparameter tuning
8989- removed encoder-decoder architectures
9090- improved layer configuration via dictionary input
91- - split data argument into target and feature numpy arrays
91+ - split data argument into target and feature numpy arrays
92+
93+ ### 2.0.1
94+
95+ - bug: removed dead pandas imports
96+ - chore: added tensorflow as base requirement
Original file line number Diff line number Diff line change 1- __version__ = "2.0.0 "
1+ __version__ = "2.0.1 "
22
33from imbrium .predictors .multivarhybrid import HybridMulti
44from imbrium .predictors .multivarpure import PureMulti
Original file line number Diff line number Diff line change 11from abc import ABC , abstractmethod
22
33from numpy import array
4- from pandas import DataFrame
54
65
76class MultiVariateMultiStep (ABC ):
@@ -76,7 +75,7 @@ def show_performance(self):
7675 pass
7776
7877 @abstractmethod
79- def predict (self , data : array ) -> DataFrame :
78+ def predict (self , data : array ) -> array :
8079 pass
8180
8281 @abstractmethod
Original file line number Diff line number Diff line change 11from abc import ABC , abstractmethod
22
33from numpy import array
4- from pandas import DataFrame
54
65
76class UniVariateMultiStep (ABC ):
@@ -76,7 +75,7 @@ def show_performance(self):
7675 pass
7776
7877 @abstractmethod
79- def predict (self , data : array ) -> DataFrame :
78+ def predict (self , data : array ) -> array :
8079 pass
8180
8281 @abstractmethod
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ def data_prep_uni(data: array) -> array:
1414
1515
1616def data_prep_multi (target : array , features : array ) -> array :
17- """Extract features and convert DataFrame to an array .
17+ """Prepare target and feature numpy arrays for mulitvariate model intake .
1818 Parameters:
19- data (array): DataFrame containing multi-feature data.
20- features (list ): All features that should be considered.
19+ target (array): Array containing multi-feature data.
20+ features (array ): All features that should be considered.
2121 Returns:
2222 data (array): Array containing sequences of selected features.
2323 """
Original file line number Diff line number Diff line change 1313 long_description = long_description ,
1414 long_description_content_type = "text/markdown" ,
1515 name = "imbrium" ,
16- version = "2.0.0 " ,
16+ version = "2.0.1 " ,
1717 packages = find_packages (include = ["imbrium" , "imbrium.*" ]),
1818 install_requires = [
1919 "setuptools >= 41.0.0" ,
20- "keras-core==0.1.5" ,
20+ "keras-core >=0.1.5, <0.2.0" ,
21+ "tensorflow >=2.13.0, <2.14.0" ,
2122 ],
2223 classifiers = [
2324 "Programming Language :: Python :: 3.8" ,
Original file line number Diff line number Diff line change 2323 pytest ==7.2.0
2424 pytest-cov
2525 coverage
26- tensorflow
2726 pandas
2827commands =
2928 coverage run --source =imbrium -m pytest -vv
You can’t perform that action at this time.
0 commit comments