pub struct Mlflow { /* private fields */ }
Implementations§
Source§impl Mlflow
impl Mlflow
Sourcepub fn new(uri: &str) -> Result<Mlflow>
pub fn new(uri: &str) -> Result<Mlflow>
Create a new Mlflow
instance.
§Examples
use mlflow_client::Mlflow;
let _mlflow = Mlflow::new("http://localhost:5000").unwrap();
Sourcepub fn experiments(&self) -> Result<Vec<MlflowExperiment>>
pub fn experiments(&self) -> Result<Vec<MlflowExperiment>>
Get all active experiments.
pub fn experiments_with( &self, options: SearchExperimentsOptions<'_>, ) -> Result<Vec<MlflowExperiment>>
pub fn experiment(&self, id: &str) -> Result<Option<MlflowExperiment>>
pub fn experiment_by_name(&self, name: &str) -> Result<Option<MlflowExperiment>>
pub fn create_experiment( &self, name: &str, options: CreateExperimentOptions<'_>, ) -> Result<MlflowExperiment>
pub fn create_experiment_if_not_exists( &self, name: &str, options: CreateExperimentOptions<'_>, ) -> Result<MlflowExperiment>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mlflow
impl RefUnwindSafe for Mlflow
impl Send for Mlflow
impl Sync for Mlflow
impl Unpin for Mlflow
impl UnwindSafe for Mlflow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more