Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

May you share code example to use this file regressor_finder.py on simple data pls #12

Open
Sandy4321 opened this issue Jul 29, 2018 · 0 comments

Comments

@Sandy4321
Copy link

after this change in regressor_finder.py
if isinstance(r.Algorithm, str): # July29

elif isinstance(r.Args, str):  #July29 

the output is
[print(x) for x in regressors]
{'name': 'isotonic.IsotonicRegression', 'args': [{'name': 'increasing', 'value': '[True, False]'}, {'name': 'out_of_bounds ', 'value': "['nan', 'clip']"}, {'name': 'y_min', 'value': '[None]'}, {'name': 'y_max', 'value': '[None]'}]}
{'name': 'linear_model.ARDRegression', 'args': [{'name': 'n_iter', 'value': '[100-2000]'}, {'name': 'tol', 'value': '[1e-4-1]'}, {'name': 'alpha_1', 'value': '[1e-7-1]'}, {'name': 'alpha_2', 'value': '[1e-7-1]'}, {'name': 'lambda_1', 'value': '[1e-7-1]'}, {'name': 'lambda_2', 'value': '[1e-7-1]'}, {'name': 'compute_score ', 'value': '[True,False]'}, {'name': 'threshold_lambda ', 'value': nan}, {'name': 'fit_intercept ', 'value': '[True,False]'}, {'name': 'normalize ', 'value': '[True,False]'}]}
{'name': 'linear_model.LinearRegression', 'args': []}
{'name': 'cross_decomposition.PLSRegression', 'args': []}
{'name': 'ensemble.AdaBoostRegressor', 'args': []}
{'name': 'ensemble.BaggingRegressor', 'args': []}
{'name': 'ensemble.ExtraTreesRegressor', 'args': []}
{'name': 'ensemble.GradientBoostingRegressor', 'args': []}
{'name': 'ensemble.RandomForestRegressor', 'args': []}
{'name': 'linear_model.PassiveAggressiveRegressor', 'args': []}
{'name': 'linear_model.SGDRegressor', 'args': []}
{'name': 'neighbors.KNeighborsRegressor', 'args': []}
{'name': 'neighbors.RadiusNeighborsRegressor', 'args': []}
{'name': 'tree.DecisionTreeRegressor', 'args': []}
[None, None, None, None, None, None, None, None, None, None, None, None, None, None]

May you share code example to use this file regressor_finder.py on simple data pls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant