forked from bigbio/fslite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request bigbio#10 from enriquea/main
added fs pipeline & code clean-up
- Loading branch information
Showing
14 changed files
with
1,336 additions
and
409 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,3 +132,4 @@ dmypy.json | |
local/ | ||
testscripts/ | ||
.idea/* | ||
/benchmarking/ |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Define constants for the project | ||
|
||
|
||
# Define univariate feature selection methods constants | ||
ANOVA = 'anova' | ||
UNIVARIATE_CORRELATION = 'u_corr' | ||
F_REGRESSION = 'f_regression' | ||
|
||
# Define dict with univariate feature selection methods and brief description | ||
UNIVARIATE_METHODS = { | ||
ANOVA: 'ANOVA univariate feature selection (F-classification)', | ||
UNIVARIATE_CORRELATION: 'Univariate Correlation', | ||
F_REGRESSION: 'Univariate F-regression' | ||
} | ||
|
||
# Define multivariate feature selection methods constants | ||
MULTIVARIATE_CORRELATION = 'm_corr' | ||
MULTIVARIATE_VARIANCE = 'variance' | ||
|
||
# Define dict with multivariate feature selection methods and brief description | ||
MULTIVARIATE_METHODS = { | ||
MULTIVARIATE_CORRELATION: 'Multivariate Correlation', | ||
MULTIVARIATE_VARIANCE: 'Multivariate Variance' | ||
} | ||
|
||
# Define machine learning wrapper methods constants | ||
|
||
# binary classification | ||
RF_BINARY = 'rf_binary' | ||
LSVC_BINARY = 'lsvc_binary' | ||
FM_BINARY = 'fm_binary' # TODO: implement this method | ||
|
||
# multilabel classification | ||
RF_MULTILABEL = 'rf_multilabel' | ||
LR_MULTILABEL = 'lg_multilabel' # TODO: implement this method | ||
|
||
# regression | ||
RF_REGRESSION = 'rf_regression' | ||
FM_REGRESSION = 'fm_regression' # TODO: implement this method | ||
|
||
|
||
# Define dict with machine learning wrapper methods and brief description | ||
ML_METHODS = { | ||
RF_BINARY: 'Random Forest Binary Classifier', | ||
LSVC_BINARY: 'Linear SVC Binary Classifier', | ||
FM_BINARY: 'Factorization Machine Binary Classifier', | ||
|
||
RF_MULTILABEL: 'Random Forest Multi-label Classifier', | ||
LR_MULTILABEL: 'Logistic Regression Multi-label Classifier', | ||
|
||
RF_REGRESSION: 'Random Forest Regression', | ||
FM_REGRESSION: 'Factorization Machine Regression' | ||
} |
This file contains 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
Oops, something went wrong.