EpistasisLab / scikit-mdr

A sklearn-compatible Python implementation of Multifactor Dimensionality Reduction (MDR) for feature construction.
MIT License
126 stars 26 forks source link

Update some tests for custom metrics #6

Closed TuanNguyen27 closed 8 years ago

TuanNguyen27 commented 8 years ago

Fixed older tests by adding hard-coded result arrays for testing fit and fit_transform.

Added custom metrics by importing accuracy_score, zero_one_loss from sklearn.

TuanNguyen27 commented 8 years ago

tentatively solved #3 and #5 (will need more tests as we expand on implementation for continuous features & multi-class classification)