Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelTrainer ¶
type ModelTrainer struct {
// contains filtered or unexported fields
}
func NewModelTrainer ¶
func NewModelTrainer( trainRepo train_repository.Repository, connRepo conn_repository.Repository, modelTrainingID string, ) *ModelTrainer
func (*ModelTrainer) SaveResult ¶
func (mt *ModelTrainer) SaveResult() error
This function saves a training result. To do this, it performs the following steps:
- It extracts the training entity from repository storage, for example, from the EDI server.
- It creates the training zip archive.
- It uploads the training zip archive to object storage.
- Finally, it saves the training entity results.
func (*ModelTrainer) Setup ¶
func (mt *ModelTrainer) Setup() (err error)
This function prepares a training environment. To do this, it performs the following steps:
- It extracts the training entity from repository storage, for example, from the EDI server.
- It downloads the source code of model training.
- The setup function downloads all training data.
- Finally, it saves the training entity to allow an ML toolchain to use it.
Click to show internal directories.
Click to hide internal directories.