a09d1f3c4b979972c6594133c21b2783c9234482,mltsp/tests/test_featurize.py,,test_write_features_to_disk,#,50
Before Change
"test_featset01_features.csv"))
os.remove(pjoin(cfg.FEATURES_FOLDER,
"test_featset01_features_with_targets.csv"))
os.remove(pjoin(cfg.FEATURES_FOLDER,
"test_featset01_targets.npy"))
npt.assert_equal(feat_cont, "f1,f2\n21.0,0.15\n23.4,2.31\n")
npt.assert_equal(feat_class_cont,
"target,f1,f2\nc1,21.0,0.15\nc2,23.4,2.31\n")
After Change
featureset = xray.open_dataset(pjoin(cfg.FEATURES_FOLDER,
"test_featureset.nc"))
npt.assert_equal(list(featureset.data_vars), ["f1", "f2"])
npt.assert_equal(list(featureset.coords), ["target", "name"])
npt.assert_equal(featureset["f1"].values, [21.0, 23.4])
npt.assert_equal(featureset["f2"].values, [0.15, 2.31])
npt.assert_equal(featureset["target"].values, ["c1", "c2"])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: cesium-ml/cesium
Commit Name: a09d1f3c4b979972c6594133c21b2783c9234482
Time: 2015-11-10
Author: brettnaul@gmail.com
File Name: mltsp/tests/test_featurize.py
Class Name:
Method Name: test_write_features_to_disk
Project Name: cesium-ml/cesium
Commit Name: 586b49b07574f7812101248c94d73ef1fb2a5c12
Time: 2015-11-11
Author: brettnaul@gmail.com
File Name: mltsp/tests/test_predict.py
Class Name:
Method Name: test_do_model_predictions
Project Name: cesium-ml/cesium
Commit Name: bab05c83d16525b6f4f6177029fc653b95482b9b
Time: 2016-08-04
Author: brettnaul@gmail.com
File Name: cesium/tests/test_predict.py
Class Name:
Method Name: test_predict_optimized_model