Commit Graph

43 Commits

Author SHA1 Message Date
0bce2051a8 Redesign component.evaluate 2021-04-02 08:10:08 -05:00
0c687692f7 Make all before/solve callbacks receive same parameters 2021-04-02 07:05:16 -05:00
ef556f94f0 Rename xy_sample to xy 2021-04-02 06:26:48 -05:00
bc8fe4dc98 Components: Switch from factory methods to prototype objects 2021-04-01 08:34:56 -05:00
59c734f2a1 Add ScikitLearnRegressor; move sklean classes to their own file 2021-04-01 07:54:14 -05:00
820a6256c2 Make classifiers and regressors clonable 2021-04-01 07:41:59 -05:00
ac29b5213f Objective: Add tests 2021-04-01 07:21:44 -05:00
b83911a91d Primal: Add end-to-end tests 2021-03-31 12:51:18 -05:00
db2f426140 Primal: reactivate before_solve_mip 2021-03-31 12:08:49 -05:00
fe7bad885c Make xy_sample receive features, not instances 2021-03-31 10:05:59 -05:00
8fc9979b37 Use instance.features in LazyStatic and Objective 2021-03-31 09:21:34 -05:00
5db4addfa5 Add instance-level features to instance.features 2021-03-31 09:14:06 -05:00
4f46866921 Primal: Use instance.features 2021-03-31 08:22:43 -05:00
12fca1f22b Extract all features ahead of time 2021-03-31 07:42:01 -05:00
ec69464794 Refactor primal 2021-03-30 21:44:13 -05:00
9cf28f3cdc Add variables to model features 2021-03-30 21:29:33 -05:00
1224613b1a Implement component.fit, component.fit_xy 2021-03-30 21:18:40 -05:00
205a972937 Add StaticLazyComponent.xy 2021-03-30 20:45:22 -05:00
07388d9490 Remove unused composite component 2021-03-30 17:25:50 -05:00
64a63264c7 Rename xy to xy_sample 2021-03-30 17:24:27 -05:00
e8adeb28a3 Add ObjectiveValueComponent.xy 2021-03-30 17:17:29 -05:00
9266743940 Add Component.xy and PrimalSolutionComponent.xy 2021-03-30 17:08:10 -05:00
75d1eee424 DropRedundant: Make x_y parallel 2021-03-30 10:06:55 -05:00
3b61a15ead Add after_solve_lp callback; make dict keys consistent 2021-03-30 10:05:28 -05:00
6ae052c8d0 Rename before/after_solve to before/after_solve_mip 2021-03-30 09:04:41 -05:00
bcaf26b18c Sklearn: Handle the special case when all labels are the same 2021-03-02 19:31:12 -06:00
b6ea0c5f1b ConstraintFeatures: Store lhs and sense 2021-03-02 18:14:36 -06:00
1397937f03 Add first model feature (constraint RHS) 2021-03-02 17:21:05 -06:00
31ca45036a Organize test fixtures; handle infeasibility in DropRedundant 2021-02-02 10:24:51 -06:00
8153dfc825 DropRedundant: Update for new classifier interface 2021-02-02 09:26:16 -06:00
9abcea05cd Objective: Use LP value as feature 2021-01-26 22:28:20 -06:00
fe47b0825f Remove unused extractors 2021-01-26 22:20:18 -06:00
603902e608 Refactor ObjectiveComponent 2021-01-26 22:16:46 -06:00
4d4e2a3eef Fix tests on Python 3.7 2021-01-25 18:13:03 -06:00
edd0c8d750 Remove RelaxationComponent 2021-01-25 18:12:52 -06:00
203afc6993 Primal: Compute statistics 2021-01-25 16:02:40 -06:00
b0b013dd0a Fix all tests 2021-01-25 15:19:58 -06:00
3ab3bb3c1f Refactor PrimalSolutionComponent 2021-01-25 14:54:58 -06:00
f68cc5bd59 Refactor thresholds 2021-01-25 09:52:49 -06:00
4da561a6a8 AdaptiveClassifier: Refactor and add tests 2021-01-25 08:59:06 -06:00
8dba65dd9c Start refactoring of classifiers 2021-01-22 11:35:29 -06:00
b87ef651e1 Document and simplify Classifier and Regressor 2021-01-22 09:06:04 -06:00
f90d78f802 Move tests to separate folder 2021-01-22 07:42:28 -06:00