The download_and_preprocessing.ipynb example demonstrates ClearML storing preprocessed tabular data as artifacts, and explicitly reporting the tabular data in the ClearML Web UI. When the script runs, it creates an experiment named
tabular preprocessing which is associated with the
Table Example project.
This tabular data is prepared for another script, train_tabular_predictor.ipynb, which trains a network with it.
The example code preprocesses the downloaded data using Pandas DataFrames, and stores it as three artifacts:
Categories per column- Number of unique values per column of data.
Outcome dictionary- Label enumeration for training.
Processed data- A dictionary containing the paths of the training and validation data.
Each artifact is uploaded by calling the Task.upload_artifact method. Artifacts appear in the ARTIFACTS tab.
The example code explicitly reports the data in Pandas DataFrames by calling the Logger.report_table method.
For example, the raw data is read into a Pandas DataFrame named
train_set, and the
head of the DataFrame is reported.
The tables appear in RESULTS > PLOTS.
A parameter dictionary is logged by connecting it to the Task using a call to the Task.connect method.
Parameter dictionaries appear in the General subsection.
Output to the console appears in RESULTS > CONSOLE.