Description
In the 10.3.2.0 version
When using the option use_complement_as_test = False, train_predictor() raise an exception linked to a version check
self = 10, msg = 'Version must have the format MAJOR.MINOR.PATCH[-PRE_RELEASE]'
version_str = '10'
def _raise_init_error(self, msg, version_str):
> raise ValueError(f"{msg}. Version string: '{version_str}'.")
E ValueError: Version must have the format MAJOR.MINOR.PATCH[-PRE_RELEASE]. Version string: '10'.
The version check uses an invalid version string:
|
if get_khiops_version() < KhiopsVersion("10"): |
should be at least KhiopsVersion("10.0.0")
see also:
|
latest_intro_version = KhiopsVersion("1.0") |
Description
In the 10.3.2.0 version
When using the option
use_complement_as_test = False, train_predictor() raise an exception linked to a version checkThe version check uses an invalid version string:
khiops-python/khiops/core/api.py
Line 274 in 49400ed
should be at least
KhiopsVersion("10.0.0")see also:
khiops-python/khiops/core/internals/task.py
Line 669 in 49400ed