junxnone / aiwiki

AI Wiki
https://junxnone.github.io/aiwiki
17 stars 2 forks source link

ML AutoML Tools SIGOPT Options #142

Open junxnone opened 2 years ago

junxnone commented 2 years ago

Experiment Options

Parameters

Metrics

Name Description
name metrics 名字
objective 指定优化方向 maximize(default)/minimize
strategy 指定是 优化/存储/限制 - optimize(default)/store/constraint
threshold 上限/下限 对应于 constraint - maximize/minimize 限制值

yml define

name: MC Test_2
parameters:
- name: batch_size
  type: int
  bounds:
    min: 8
    max: 32
- name: lr
  bounds:
  type: double
    min: 0.00001
    max: 0.1
- name: optimizer
  type: categorical
  categorical_values: ["Adam", "SGD"]
- name: depth
  type: int
  grid: [3,5,7,9]
- name: l2_regularization
  type: double
  grid: [1e-5, 1e-3, 0.33, 0.999]
  transformation: log
metrics:
- name: accuracy
  objective: maximize
budget: 50

API

API Description
sigopt.params.your_params 获取 Suggestion 的参数
sigopt.log_model() 声明 Model
sigopt.log_dataset() 声明 Dataset
sigopt.log_metadata() 声明自定义 metadata
sigopt.log_metric("your_metrics", metrics) 上传 Observations 结果

Notebook