{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://schema.rtemis.org/decomposition/nmf/v1/schema.json",
  "title": "rtemis NMFConfig",
  "description": "Non-negative Matrix Factorization. See setup_NMF.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "k": {
      "type": "integer",
      "minimum": 1,
      "default": 2,
      "description": "Number of components to extract."
    },
    "method": {
      "type": "string",
      "default": "brunet",
      "description": "NMF method (see `NMF::nmf`)."
    },
    "nrun": {
      "type": "integer",
      "minimum": 1,
      "default": 1,
      "description": "Number of runs to perform."
    }
  }
}
