functime.cross_validation.train_test_split only supports test_size of type int. This is completely fine as long as all entities have the same cardinality. However if and when dealing with entities that have a different group size this can be problematic - e.g. a test size can be larger than total samples for one entity but not another.
Description
functime.cross_validation.train_test_split
only supportstest_size
of type int. This is completely fine as long as all entities have the same cardinality. However if and when dealing with entities that have a different group size this can be problematic - e.g. a test size can be larger than total samples for one entity but not another.Solution
Supporting float would: