forked from enviPath/enviPy
Experimental App Domain (#43)
Backend App Domain done, Frontend missing Co-authored-by: Tim Lorsbach <tim@lorsba.ch> Reviewed-on: enviPath/enviPy#43
This commit is contained in:
@ -261,7 +261,7 @@ CELERY_ACCEPT_CONTENT = ['json']
|
||||
CELERY_TASK_SERIALIZER = 'json'
|
||||
|
||||
MODEL_BUILDING_ENABLED = os.environ.get('MODEL_BUILDING_ENABLED', 'False') == 'True'
|
||||
|
||||
APPLICABILITY_DOMAIN_ENABLED = os.environ.get('APPLICABILITY_DOMAIN_ENABLED', 'False') == 'True'
|
||||
DEFAULT_RF_MODEL_PARAMS = {
|
||||
'base_clf': RandomForestClassifier(
|
||||
n_estimators=100,
|
||||
@ -275,14 +275,14 @@ DEFAULT_RF_MODEL_PARAMS = {
|
||||
'num_chains': 10,
|
||||
}
|
||||
|
||||
DEFAULT_DT_MODEL_PARAMS = {
|
||||
DEFAULT_MODEL_PARAMS = {
|
||||
'base_clf': DecisionTreeClassifier(
|
||||
criterion='entropy',
|
||||
max_depth=3,
|
||||
min_samples_split=5,
|
||||
min_samples_leaf=5,
|
||||
# min_samples_leaf=5,
|
||||
max_features='sqrt',
|
||||
class_weight='balanced',
|
||||
# class_weight='balanced',
|
||||
random_state=42
|
||||
),
|
||||
'num_chains': 10,
|
||||
@ -322,4 +322,5 @@ FLAGS = {
|
||||
'PLUGINS': PLUGINS_ENABLED,
|
||||
'SENTRY': SENTRY_ENABLED,
|
||||
'ENVIFORMER': ENVIFORMER_PRESENT,
|
||||
'APPLICABILITY_DOMAIN': APPLICABILITY_DOMAIN_ENABLED,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user