Skip to content

Instantly share code, notes, and snippets.

@esenthil2018
Created May 26, 2022 01:53
Show Gist options
  • Save esenthil2018/5dee7cdbf9b01c158b7cf8e4b48bbddd to your computer and use it in GitHub Desktop.
Save esenthil2018/5dee7cdbf9b01c158b7cf8e4b48bbddd to your computer and use it in GitHub Desktop.
# Store the variable as an artifact
train_artifact = lineapy.save(X, "train_data")
# Check object type
print(type(train_artifact))
# Store the variable as an artifact
test_artifact = lineapy.save(X_test, "test_data")
# Check object type
print(type(test_artifact))
# Store the variable as an artifact
y_artifact = lineapy.save(y, "y")
# Check object type
print(type(train_artifact))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment