Skip to main content

Installation

pip install truefoundry

Quick Example

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()

Available Modules

TrueFoundry ML Client

Run