Welcome to mirror list, hosted at ThFree Co, Russian Federation.

candidate.rb « ml « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e181217f01c367e111220e95da1f8e0d5cc3e7cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module Ml
  class Candidate < ApplicationRecord
    validates :iid, :experiment, presence: true

    belongs_to :experiment, class_name: 'Ml::Experiment'
    belongs_to :user
    has_many :metrics, class_name: 'Ml::CandidateMetric'
    has_many :params, class_name: 'Ml::CandidateParam'
  end
end