Documentation ¶
Index ¶
- Constants
- Variables
- func ConvertCreateExperimentToDBModel(req *request.CreateExperimentRequest) (*models.Experiment, error)
- func ConvertCreateRunRequestToDBModel(experiment *models.Experiment, req *request.CreateRunRequest) (*models.Run, error)
- func ConvertLogBatchRequestToDBModel(runID string, req *request.LogBatchRequest) ([]models.Metric, []models.Param, []models.Tag, error)
- func ConvertLogMetricRequestToDBModel(runID string, req *request.LogMetricRequest) (*models.Metric, error)
- func ConvertLogParamRequestToDBModel(runID string, req *request.LogParamRequest) *models.Param
- func ConvertSetExperimentTagRequestToDBModel(experimentID int32, req *request.SetExperimentTagRequest) *models.ExperimentTag
- func ConvertSetRunTagRequestToDBModel(runID string, req *request.SetRunTagRequest) *models.Tag
- func ConvertUpdateExperimentToDBModel(experiment *models.Experiment, req *request.UpdateExperimentRequest) *models.Experiment
- func ConvertUpdateRunRequestToDBModel(run *models.Run, req *request.UpdateRunRequest) *models.Run
- func GenerateRandomName() (string, error)
Constants ¶
const ( TagKeyUser = "mlflow.user" TagKeyRunName = "mlflow.runName" TagKeySourceName = "mlflow.source.name" TagKeySourceType = "mlflow.source.type" )
supported tag keys.
Variables ¶
var ( NOUNS = []string{}/* 123 elements not displayed */ PREDICATES = []string{}/* 159 elements not displayed */ )
Functions ¶
func ConvertCreateExperimentToDBModel ¶
func ConvertCreateExperimentToDBModel(req *request.CreateExperimentRequest) (*models.Experiment, error)
ConvertCreateExperimentToDBModel converts request.CreateExperimentRequest into actual models.Experiment model.
func ConvertCreateRunRequestToDBModel ¶
func ConvertCreateRunRequestToDBModel( experiment *models.Experiment, req *request.CreateRunRequest, ) (*models.Run, error)
ConvertCreateRunRequestToDBModel converts request.CreateRunRequest into actual models.Run model.
func ConvertLogBatchRequestToDBModel ¶
func ConvertLogBatchRequestToDBModel( runID string, req *request.LogBatchRequest, ) ([]models.Metric, []models.Param, []models.Tag, error)
ConvertLogBatchRequestToDBModel converts request.LogBatchRequest into actual []models.Param, []models.Tag models.
func ConvertLogMetricRequestToDBModel ¶ added in v0.5.0
func ConvertLogMetricRequestToDBModel(runID string, req *request.LogMetricRequest) (*models.Metric, error)
ConvertLogMetricRequestToDBModel converts request.LogMetricRequest into actual models.Metric model.
func ConvertLogParamRequestToDBModel ¶
func ConvertLogParamRequestToDBModel(runID string, req *request.LogParamRequest) *models.Param
ConvertLogParamRequestToDBModel converts request.LogParamRequest into actual models.Param model.
func ConvertSetExperimentTagRequestToDBModel ¶
func ConvertSetExperimentTagRequestToDBModel( experimentID int32, req *request.SetExperimentTagRequest, ) *models.ExperimentTag
ConvertSetExperimentTagRequestToDBModel converts request.SetExperimentTagRequest into actual models.ExperimentTag model.
func ConvertSetRunTagRequestToDBModel ¶
func ConvertSetRunTagRequestToDBModel(runID string, req *request.SetRunTagRequest) *models.Tag
ConvertSetRunTagRequestToDBModel converts request.SetRunTagRequest into actual models.Tag model.
func ConvertUpdateExperimentToDBModel ¶
func ConvertUpdateExperimentToDBModel( experiment *models.Experiment, req *request.UpdateExperimentRequest, ) *models.Experiment
ConvertUpdateExperimentToDBModel converts request.UpdateExperimentRequest into actual models.Experiment model.
func ConvertUpdateRunRequestToDBModel ¶
ConvertUpdateRunRequestToDBModel converts request.UpdateRunRequest into actual models.Run model.
func GenerateRandomName ¶
GenerateRandomName generates random name for `run`.
Types ¶
This section is empty.