2022-01-02 20:12:34 -05:00
|
|
|
"""!
|
2021-02-05 21:41:14 -08:00
|
|
|
* Copyright (c) 2020-2021 Microsoft Corporation. All rights reserved.
|
2021-04-08 09:29:55 -07:00
|
|
|
* Licensed under the MIT License.
|
2022-01-02 20:12:34 -05:00
|
|
|
"""
|
2021-02-05 21:41:14 -08:00
|
|
|
|
|
|
|
|
N_SPLITS = 5
|
|
|
|
|
RANDOM_SEED = 1
|
|
|
|
|
SPLIT_RATIO = 0.1
|
2022-06-14 00:52:42 -04:00
|
|
|
MEM_THRES = 4 * (1024**3)
|
2021-02-05 21:41:14 -08:00
|
|
|
SMALL_LARGE_THRES = 10000000
|
|
|
|
|
MIN_SAMPLE_TRAIN = 10000
|
|
|
|
|
CV_HOLDOUT_THRESHOLD = 100000
|
|
|
|
|
SAMPLE_MULTIPLY_FACTOR = 4
|
2022-06-14 00:52:42 -04:00
|
|
|
SEARCH_THREAD_EPS = 1.0
|
|
|
|
|
PENALTY = 1e10 # penalty term for constraints
|