This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extern crate timely; | |
| extern crate differential_dataflow; | |
| use timely::dataflow::operators::probe::Handle; | |
| use differential_dataflow::input::Input; | |
| use differential_dataflow::operators::*; | |
| fn main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extern crate timely; | |
| extern crate differential_dataflow; | |
| use serde::{Serialize, Deserialize}; | |
| use timely::dataflow::operators::probe::Handle; | |
| use differential_dataflow::input::Input; | |
| use differential_dataflow::operators::*; | |
| use differential_dataflow::difference::{Abelian, IsZero, Monoid, Semigroup}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import ... | |
| def hpo(train_data, test_data, feature_transformation): | |
| best_accuracy = 0.0 | |
| best_regularizer = None | |
| for regularizer in [None, 'l1', 'l2']: | |
| pipeline = Pipeline([ |
OlderNewer