Install Model and Python Script Files | Scoring with a model file | Teradata Open Analytics Framework - Install the Model and Python Script Files - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
tcl1683670667798
  1. Install the predictive model and Python script files into the user environment.
    demo_env.install_file(file_path = os.path.join(path_to_files, 'files', 'model.out'), replace = True)
    demo_env.install_file(file_path = os.path.join(path_to_files, 'files', 'scoring.py'), replace = True)

    Out:

    File 'model.out' replaced successfully in the remote user environment 'opaf_my_scoring_env'.
    File 'scoring.py' replaced successfully in the remote user environment 'opaf_my_scoring_env'.
  2. Verify the files have been installed correctly.
    demo_env.files

    Out:

          File             Size        Timestamp
    0    model.out         494848   2024-02-29T21:37:20Z
    1    scoring.py        5748     2024-02-29T21:37:15Z