Skip to content

Commit

Permalink
Moved --regressor option from the Fourier to the Regressor group
Browse files Browse the repository at this point in the history
  • Loading branch information
dwysocki committed Jan 21, 2016
1 parent 3fbbc78 commit 2c08caa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/plotypus/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,6 @@ def get_args():
default=(2, 20), metavar=('MIN', 'MAX'),
help='range of degrees of fourier fits to use '
'(default = 2 20)')
fourier_group.add_argument('-r', '--regressor', type=import_name,
default=sklearn.linear_model.LassoLarsIC,
help='type of regressor to use, loads any Python object named like '
'*module.submodule.etc.object_name*, though it must behave like a '
'scikit-learn regressor '
'(default = "sklearn.linear_model.LassoLarsIC")')
fourier_group.add_argument('--selector',
choices=['Baart', 'GridSearch'],
default='GridSearch',
Expand All @@ -296,6 +290,12 @@ def get_args():

## Regressor Group #######################################################

fourier_group.add_argument('-r', '--regressor', type=import_name,
default=sklearn.linear_model.LassoLarsIC,
help='type of regressor to use, loads any Python object named like '
'*module.submodule.etc.object_name*, though it must behave like a '
'scikit-learn regressor '
'(default = "sklearn.linear_model.LassoLarsIC")')
regressor_group.add_argument('--regressor-options', type=str, nargs='+',
default=[], metavar="KEY VALUE",
help='list of key value pairs to pass to regressor object. '
Expand Down

0 comments on commit 2c08caa

Please sign in to comment.