Skip to content

Commit

Permalink
- changes to remove future deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Gscorreia89 committed Jan 13, 2021
1 parent 2a3311b commit e1e7de3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyChemometrics/PCAPlotMixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def plot_model_parameters(self, parameter='p', component=1, cross_val=False, sig

return None

def scree_plot(self, x, total_comps=5, cv_method=KFold(7, True)):
def scree_plot(self, x, total_comps=5, cv_method=KFold(7, shuffle=True)):
"""
Plot of the R2X and Q2X per number of component to aid in the selection of the component number.
Expand Down Expand Up @@ -148,7 +148,7 @@ def scree_plot(self, x, total_comps=5, cv_method=KFold(7, True)):

return None

def repeated_cv(self, x, total_comps=7, repeats=15, cv_method=KFold(7, True)):
def repeated_cv(self, x, total_comps=7, repeats=15, cv_method=KFold(7, shuffle=True)):
"""
Perform repeated cross-validation and plot Q2X values and their distribution (violin plot) per component
Expand Down
2 changes: 1 addition & 1 deletion pyChemometrics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from pyChemometrics.ChemometricsPLSDA import ChemometricsPLSDA
from pyChemometrics.ChemometricsPLS_LDA import ChemometricsPLS_LDA

__version__ = '0.13.4'
__version__ = '0.13.5'

__all__ = ['ChemometricsScaler', 'ChemometricsPCA', 'ChemometricsPLS',
'ChemometricsPLS_Logistic', 'ChemometricsPLSDA', 'ChemometricsPLS_LDA']
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='pyChemometrics',
version='0.13.4',
version='0.13.5',
packages=['pyChemometrics'],
url='https://github.com/Gscorreia89/pyChemometrics/',
documentation='http://pychemometrics.readthedocs.io/en/stable/',
Expand Down

0 comments on commit e1e7de3

Please sign in to comment.