Skip to content

Instantly share code, notes, and snippets.

@esenthil2018
Created May 27, 2022 19:47
Show Gist options
  • Save esenthil2018/be7443730562635592aee1fd5b0d0d31 to your computer and use it in GitHub Desktop.
Save esenthil2018/be7443730562635592aee1fd5b0d0d31 to your computer and use it in GitHub Desktop.
# Store the variable as an artifact
train_artifact = lineapy.save(train_features, "train_data")
# Check object type
print(type(train_artifact))
# Store the variable as an artifact
train_labels = lineapy.save(train_labels, "train_labels")
# Check object type
print(type(train_labels))
# Store the variable as an artifact
test_artifact = lineapy.save(test_features, "test_data")
# Check object type
print(type(test_artifact))
# Store the variable as an artifact
test_labels = lineapy.save(test_labels, "test_labels")
# Check object type
print(type(test_labels))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment