Skip to content

Commit

Permalink
Standardization is no longer the default bahaviour.
Browse files Browse the repository at this point in the history
  • Loading branch information
smkia committed Apr 20, 2021
1 parent d88821d commit 7fafacc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pcntoolkit/normative.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,10 @@ def estimate(covfile, respfile, **kwargs):
:param configparam: Parameters controlling the estimation algorithm
:param saveoutput: Save the output to disk? Otherwise returned as arrays
:param outputsuffix: Text string to add to the output filenames
:param inscale: Scaling approach for input covariates, could be 'None',
'standardize' (Default), 'minmax', or 'robminmax'.
:param outscale: Scaling approach for output responses, could be 'None',
'standardize' (Default), 'minmax', or 'robminmax'.
:param inscale: Scaling approach for input covariates, could be 'None' (Default),
'standardize', 'minmax', or 'robminmax'.
:param outscale: Scaling approach for output responses, could be 'None' (Default),
'standardize', 'minmax', or 'robminmax'.
All outputs are written to disk in the same format as the input. These are:
Expand All @@ -300,8 +300,8 @@ def estimate(covfile, respfile, **kwargs):
testresp = kwargs.pop('testresp',None)
alg = kwargs.pop('alg','gpr')
outputsuffix = kwargs.pop('outputsuffix','_estimate')
inscaler = kwargs.pop('inscaler','standardize')
outscaler = kwargs.pop('outscaler','standardize')
inscaler = kwargs.pop('inscaler','None')
outscaler = kwargs.pop('outscaler','None')
warp = kwargs.get('warp', None)

# convert from strings if necessary
Expand Down Expand Up @@ -531,8 +531,8 @@ def fit(covfile, respfile, **kwargs):
alg = kwargs.pop('alg','gpr')
savemodel = kwargs.pop('savemodel','True')=='True'
outputsuffix = kwargs.pop('outputsuffix','_fit')
inscaler = kwargs.pop('inscaler','standardize')
outscaler = kwargs.pop('outscaler','standardize')
inscaler = kwargs.pop('inscaler','None')
outscaler = kwargs.pop('outscaler','None')

if savemodel and not os.path.isdir('Models'):
os.mkdir('Models')
Expand Down

0 comments on commit 7fafacc

Please sign in to comment.