q-optimize/c3

View on GitHub
c3/schemas/optimizer.json

Summary

Maintainability
Test Coverage
{
  "definitions": {},
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "http://example.com/root.json",
  "type": "object",
  "title": "The Root Schema",
  "required": [
    "dir_path",
    "algorithm",
    "sampling",
    "batch_size",
    "estimator",
    "callback_est",
    "callback_figs",
    "exp_opt_map"
  ],
  "properties": {
    "dir_path": {
      "$id": "#/properties/dir_path",
      "type": "string",
      "title": "The Dir_path Schema",
      "default": "",
      "examples": [
        "/localdisk/c3logs/"
      ],
      "pattern": "^(.*)$"
    },
    "algorithm": {
      "$id": "#/properties/algorithm",
      "type": "string",
      "title": "The Algorithm Schema",
      "default": "",
      "examples": [
        "lbfgs",
        "cmaes",
        "oneplusone",
        "powell"
      ],
      "pattern": "^(.*)$"
    },
    "sampling": {
      "$id": "#/properties/sampling",
      "type": "string",
      "title": "The Sampling Schema",
      "default": "",
      "examples": [
        "even",
        "random",
        "from_start",
        "from_end"
      ],
      "pattern": "^(.*)$"
    },
    "batch_size": {
      "$id": "#/properties/batch_size",
      "type": "integer",
      "title": "The Batch_size Schema",
      "default": 0,
      "examples": [
        90
      ]
    },
    "estimator": {
      "$id": "#/properties/estimator",
      "type": "string",
      "title": "The Estimator Schema",
      "default": "",
      "examples": [
        "rms"
      ],
      "pattern": "^(.*)$"
    },
    "callback_est": {
      "$id": "#/properties/callback_est",
      "type": "array",
      "title": "The Callback_est Schema"
    },
    "callback_figs": {
      "$id": "#/properties/callback_figs",
      "type": "array",
      "title": "The Callback_figs Schema",
      "items": {
        "$id": "#/properties/callback_figs/items",
        "type": "string",
        "title": "The Items Schema",
        "default": "",
        "examples": [
          "exp_vs_sim"
        ],
        "pattern": "^(.*)$"
      }
    },
    "exp_opt_map": {
      "$id": "#/properties/exp_opt_map",
      "type": "array",
      "title": "The Exp_opt_map Schema",
      "items": {
        "$id": "#/properties/exp_opt_map/items",
        "type": "array",
        "title": "The Items Schema",
        "items": {
          "$id": "#/properties/exp_opt_map/items/items",
          "type": "string",
          "title": "The Items Schema",
          "default": "",
          "examples": [
            "meas_rescale",
            "meas_offset"
          ],
          "pattern": "^(.*)$"
        }
      }
    }
  }
}