When Connected to VantageCloud Enterprise | teradataml OpenSourceML - When Client is Connected to VantageCloud Enterprise - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for Python
Release Number
20.00
Published
March 2024
Language
English (United States)
Last Update
2024-10-10
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
lifecycle
latest
Product Category
Teradata Vantage
Prerequisites to run teradataml open-source machine learning functions when your local machine is connected to VantageCloud Enterprise:
  • Execution of the teradataml open-source machine learning functions depends on the Script table operator.

    The Script table operator setup is done on Vantage.

  • Administrator provides the standard permissions required by Script table operator to the database user.
  • Version of the open-source package on your local machine should be the same as the one installed in Vantage as part of the Script table operator setup.

    You can use db_python_package_details() to check the version of installed packages.

If Teradata In-nodes Python Packages (STO) is installed on Vantage, there are additional requirements based on different versions of the Teradata In-nodes Python Packages.

  • For Teradata In-nodes Python Packages v1.0.x:
    • The Python executable is /opt/teradata/languages/Python/bin/python3.
      Set the following to make sure teradataml open-source machine learning functions could invoke the interpreter.
      from teradataml import configure
      configure.indb_install_location = "/opt/teradata/languages/Python/bin/python3"
    • scikit-learn version on your client is expected to be v0.24.2 as STO has scikit-learn version 0.24.2.
  • For Teradata In-nodes Python Packages v2.0.0:
    • The Python executable is present in the directory /var/opt/teradata. teradataml open-source machine learning functions use this location by default.
      If Vantage raises "python interpreter file not found" exception, set the following to make sure teradataml open-source machine learning functions could invoke the interpreter.
      from teradataml import configure
      
      configure.indb_install_location = "/usr/bin/tdpython3"
    • Upgrade or downgrade the scikit-learn library on your client to v1.1.3 to keep it similar to the scikit-learn version on STO v2.0.0.