TrainingRuns table
The TrainingRuns table in the FitStack - V2 schema has 36 columns, keyed by Id, with 1 foreign key to DatasetVersions. 2 columns in TrainingRunCallbackEvents and ModelDeployments reference it.
Columns (36)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| DatasetVersionId | uuid | not null, references DatasetVersions.Id | |
| Name | text | not null | |
| ModelType | integer | not null | |
| Status | integer | not null | `TrainingStatus`. |
| Epochs | integer | not null | |
| BatchSize | integer | not null | |
| LearningRate | double precision | not null | |
| Optimizer | text | not null | |
| EarlyStopping | boolean | not null | |
| EarlyStoppingPatience | integer | ||
| HyperparametersJson | text | ||
| CurrentEpoch | integer | not null | |
| CurrentPhase | text | ||
| ProcessedSamples | integer | ||
| TotalSamples | integer | ||
| LastProgressAt | timestamp with time zone | ||
| StartedAt | timestamp with time zone | ||
| CompletedAt | timestamp with time zone | ||
| ErrorMessage | text | ||
| MetricsJson | text | ||
| TrainingLogsUrl | text | ||
| BestModelPath | text | ||
| LastModelPath | text | ||
| ResultsCsvPath | text | ||
| DatasetManifestSha256 | character varying(64) | Proves which exact data the run consumed. | |
| DatasetManifestArchiveUri | character varying(1024) | ||
| LastCallbackAt | timestamp with time zone | ||
| LastCallbackEventId | uuid | ||
| CreatedByUserId | text | ||
| CreatedByEmail | text | ||
| LastModifiedByUserId | text | ||
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Indexes (1)
(DatasetVersionId)(IX_TrainingRuns_DatasetVersionId)
Relationships
TrainingRuns.DatasetVersionIdreferencesDatasetVersions.IdTrainingRunCallbackEvents.TrainingRunIdreferencesTrainingRunsModelDeployments.TrainingRunIdreferencesTrainingRuns