Closed maxwest-uw closed 1 week ago
Before [93de9077] | After [75694c8a] | Ratio | Benchmark (Parameter) |
---|---|---|---|
149±0.6ms | 153±2ms | 1.03 | benchmarks.time_learn_loop('KNN', 'UncSampling') |
195M | 197M | 1.01 | benchmarks.peakmem_learn_loop('KNN') |
186M | 188M | 1.01 | benchmarks.peakmem_learn_loop('RandomForest') |
138±2ms | 140±2ms | 1.01 | benchmarks.time_feature_creation |
2.58±0.03s | 2.60±0.02s | 1.01 | benchmarks.time_learn_loop('RandomForest', 'UncSampling') |
151±0.8ms | 151±0.8ms | 1 | benchmarks.time_learn_loop('KNN', 'RandomSampling') |
2.58±0.01s | 2.58±0.02s | 1 | benchmarks.time_learn_loop('RandomForest', 'RandomSampling') |
Click here to view all benchmarks.
Change Description
Finishes up the refactor of reading and writing feature files by moving some of the file loading in
database.py
to the feature handling module. Resolves #78 . Everything should be ready now to start implementing loading features to and from MongoDB.Solution Description
Takes the loading code that we had in the
load_features_from_file
method and moves itfeature_handling_utils.py
. Maintains all the options for fileloading (even though we've moved to a more unified version of writing out features) to ensure backwards compatibility.Code Quality