a03930f6a94bb772222d00b819c3ff824e28ddcc,cesium/tests/test_build_model.py,,test_fit_optimize,#,69
Before Change
@with_setup(teardown=remove_output)
def test_fit_optimize():
Test hypeparameter optimization
fset = xr.open_dataset(pjoin(DATA_PATH, "asas_training_subset_featureset.nc"))
model = build_model.MODELS_TYPE_DICT["RandomForestClassifier"]()
model_options = {"criterion": "gini", "bootstrap": True}
model = build_model.MODELS_TYPE_DICT["RandomForestClassifier"]\
(**model_options)
After Change
@with_setup(teardown=remove_output)
def test_fit_optimize():
Test hypeparameter optimization
fset = sample_featureset(10, ["amplitude", "maximum", "minimum", "median"],
["class1", "class2"])
model_options = {"criterion": "gini", "bootstrap": True}
model = build_model.MODELS_TYPE_DICT["RandomForestClassifier"]\
(**model_options)
feature_df = build_model.rectangularize_featureset(fset)
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 7
Instances
Project Name: cesium-ml/cesium
Commit Name: a03930f6a94bb772222d00b819c3ff824e28ddcc
Time: 2016-08-30
Author: brettnaul@gmail.com
File Name: cesium/tests/test_build_model.py
Class Name:
Method Name: test_fit_optimize
Project Name: cesium-ml/cesium
Commit Name: a03930f6a94bb772222d00b819c3ff824e28ddcc
Time: 2016-08-30
Author: brettnaul@gmail.com
File Name: cesium/tests/test_predict.py
Class Name:
Method Name: test_model_regression
Project Name: cesium-ml/cesium
Commit Name: a03930f6a94bb772222d00b819c3ff824e28ddcc
Time: 2016-08-30
Author: brettnaul@gmail.com
File Name: cesium/tests/test_build_model.py
Class Name:
Method Name: test_fit_existing_model
Project Name: cesium-ml/cesium
Commit Name: a03930f6a94bb772222d00b819c3ff824e28ddcc
Time: 2016-08-30
Author: brettnaul@gmail.com
File Name: cesium/tests/test_predict.py
Class Name:
Method Name: test_model_classification
Project Name: cesium-ml/cesium
Commit Name: a03930f6a94bb772222d00b819c3ff824e28ddcc
Time: 2016-08-30
Author: brettnaul@gmail.com
File Name: cesium/tests/test_build_model.py
Class Name:
Method Name: test_fit_existing_model_optimize
Project Name: cesium-ml/cesium
Commit Name: a03930f6a94bb772222d00b819c3ff824e28ddcc
Time: 2016-08-30
Author: brettnaul@gmail.com
File Name: cesium/tests/test_predict.py
Class Name:
Method Name: test_predict_optimized_model