Sha256: d4d903385d492de5d4ed37ab8f4c4c136f844f8279dff38e8c24fe6592e09329
Contents?: true
Size: 1.05 KB
Versions: 40
Compression:
Stored size: 1.05 KB
Contents
class CreateEasyMLTunerJobs < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>] def change create_table :easy_ml_tuner_jobs do |t| t.json :config, null: false t.bigint :best_tuner_run_id t.bigint :model_id, null: false t.string :status t.string :direction, default: 'minimize' t.datetime :started_at t.datetime :completed_at t.jsonb :metadata t.string :wandb_url t.timestamps t.index :status t.index :started_at t.index :completed_at t.index :model_id t.index :best_tuner_run_id t.index :wandb_url end create_table :easy_ml_tuner_runs do |t| t.bigint :tuner_job_id, null: false t.json :hyperparameters, null: false t.float :value t.integer :trial_number t.string :status t.string :wandb_url t.timestamps t.index [:tuner_job_id, :value] t.index [:tuner_job_id, :trial_number], name: "idx_tuner_runs_and_trial_number" t.index :status t.index :wandb_url end end end
Version data entries
40 entries across 40 versions & 1 rubygems