src.fairreckitlib.data.split.split_constants
This module contains splitting constants that are used in other modules.
Constants:
KEY_SPLITTING: key that is used to identify splitters.
KEY_SPLIT_TEST_RATIO: key that is used to identify the splitter test ratio.
SPLIT_RANDOM: name of the random splitter.
SPLIT_TEMPORAL: name of the temporal splitter.
DEFAULT_SPLIT_NAME: the name of the default splitter.
DEFAULT_SPLIT_TEST_RATIO: the default split test ratio.
MIN_TEST_RATIO: the minimum allowed split test ratio.
MAX_TEST_RATIO: the maximum allowed split test ratio.
This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course. © Copyright Utrecht University (Department of Information and Computing Sciences)
1"""This module contains splitting constants that are used in other modules. 2 3Constants: 4 5 KEY_SPLITTING: key that is used to identify splitters. 6 KEY_SPLIT_TEST_RATIO: key that is used to identify the splitter test ratio. 7 SPLIT_RANDOM: name of the random splitter. 8 SPLIT_TEMPORAL: name of the temporal splitter. 9 DEFAULT_SPLIT_NAME: the name of the default splitter. 10 DEFAULT_SPLIT_TEST_RATIO: the default split test ratio. 11 MIN_TEST_RATIO: the minimum allowed split test ratio. 12 MAX_TEST_RATIO: the maximum allowed split test ratio. 13 14This program has been developed by students from the bachelor Computer Science at 15Utrecht University within the Software Project course. 16© Copyright Utrecht University (Department of Information and Computing Sciences) 17""" 18 19SPLIT_RANDOM = 'random' 20SPLIT_TEMPORAL = 'temporal' 21 22KEY_SPLITTING = 'splitting' 23KEY_SPLIT_TEST_RATIO = 'test_ratio' 24 25DEFAULT_SPLIT_NAME = SPLIT_RANDOM 26DEFAULT_SPLIT_TEST_RATIO = 0.2 27 28MIN_TEST_RATIO = 0.01 29MAX_TEST_RATIO = 0.99