- VantageCloud Enterprise
- VantageCloud Lake
Setup and requirement information common to both platforms follows.
Use of Script and Apply Table Operators
- For systems with Teradata in-nodes Python packages (STO), use the Script table operator:
from teradataml import configure configure.table_operator = "script"
- For systems with the Apply table operator:
from teradataml import configure configure.table_operator = "apply"
If no configuration option is specified, teradataml checks the database version. If the version is 20 or higher, it will execute using the Apply table operator; otherwise, it will default to the Script table operator.
Version requirement
teradataml open-source machine learning functions support the classes, methods, and attributes of the classes in the underlying open source machine learning package if the underlying package version in Vantage and the version on the client are the same.
For example, in scikit-learn, for the class OneVsRestClassifier, an attribute intercept_ is supported on scikit-learn v0.24.2, whereas it is not supported on v1.1.3.
obj = OneVsRestClassifier(...) obj.fit(X, y) obj.intercept_This works fine with scikit-learn v0.24.2, but fails on scikit-learn v1.1.3 with AttributeError.
Same behavior will be seen with teradataml open-source machine learning functions.