Documentation Index
Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
Use this file to discover all available pages before exploring further.
TrueFoundry ML client reference for tracking experiments, logging artifacts, and managing models programmatically.
Documentation Index
Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
Use this file to discover all available pages before exploring further.
pip install truefoundry
from truefoundry.ml import get_client
# Initialize the client
client = get_client()
# Create a run
run = client.create_run(
ml_repo="my-classification-project",
run_name="svm-with-rbf-kernel"
)
# Log metrics and parameters
run.log_metrics({"accuracy": 0.95, "loss": 0.1})
run.log_params({"learning_rate": 0.01, "epochs": 100})
# End the run
run.end()
Was this page helpful?