Install Python Script File | Predict next value using Keras | Open Analytics Framework - Installing Python Script Files - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
  1. Install the Python script into the user environment.
    demo_env.install_file(file_path = os.path.join(path_to_files, 'files', 'keras.py'), replace = True)
  2. Verify the files have been installed correctly.
    demo_env.files
  3. Load the data into VantageCloud Lake.
    types = OrderedDict((text=VARCHAR))
    test_data = read_csv(os.path.join(path_to_files, 'files', 'ex2data.csv'),
                         table_name='sample_dataSet_py',
                         types=types,
                         save_errors=True, catch_errors_warnings=True
                         )