Skip to content

Commit

Permalink
big resnet.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericschreiber committed Nov 29, 2023
1 parent 98d5dbb commit e506246
Show file tree
Hide file tree
Showing 3 changed files with 8,539 additions and 4 deletions.
13 changes: 9 additions & 4 deletions task2/configs/preprocessing_configs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
from sklearn.impute import SimpleImputer
from sklearn.preprocessing import StandardScaler
from sklearn.ensemble import IsolationForest
from sklearn.feature_selection import SelectKBest, f_classif, VarianceThreshold
from sklearn.feature_selection import (
SelectKBest,
f_classif,
VarianceThreshold,
SelectPercentile,
)

import numpy as np

Expand Down Expand Up @@ -140,7 +145,7 @@
},
"param_grid": {},
},
"ericCombinedVarianceThrs": {
"ericCombinedVarianceThrsSelectPercentile": {
"order": [
"feature_extractor",
"imputer",
Expand All @@ -161,10 +166,10 @@
"variance_thresholder_hyperparams": {
"threshold": 0.01, # default is 0.0
},
"selector": SelectKBest,
"selector": SelectPercentile,
"selector_hyperparams": {
"score_func": f_classif,
"k": "all", # out of 286
"percentile": "90", # out of 286
},
"param_grid": {},
},
Expand Down
Loading

0 comments on commit e506246

Please sign in to comment.