GET
/
api
/
{projectId}
/
training
/
keras
/
{learnId}
Keras information
curl --request GET \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/training/keras/{learnId} \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "error": "<string>",
  "dependencies": {
    "classes": [
      "<string>"
    ],
    "blockNames": [
      "<string>"
    ],
    "featureCount": 123,
    "sampleCount": 123
  },
  "trained": true,
  "name": "<string>",
  "type": "anomaly",
  "script": "<string>",
  "minimumConfidenceRating": 123,
  "selectedModelType": "int8",
  "mode": "visual",
  "visualLayers": [
    {
      "type": "dense",
      "neurons": 123,
      "kernelSize": 123,
      "dropoutRate": 123,
      "columns": 123,
      "stack": 123,
      "enabled": true,
      "organizationModelId": 123
    }
  ],
  "trainingCycles": 123,
  "learningRate": 123,
  "batchSize": 123,
  "defaultBatchSize": 123,
  "shape": "<string>",
  "trainTestSplit": 123,
  "autoClassWeights": true,
  "useLearnedOptimizer": true,
  "augmentationPolicyImage": "none",
  "augmentationPolicySpectrogram": {
    "enabled": true,
    "warping": true,
    "freqMasking": "none",
    "timeMasking": "none",
    "gaussianNoise": "none"
  },
  "transferLearningModels": [
    {
      "name": "<string>",
      "shortName": "<string>",
      "abbreviatedName": "<string>",
      "description": "<string>",
      "hasNeurons": true,
      "hasDropout": true,
      "defaultNeurons": 123,
      "defaultDropout": 123,
      "defaultLearningRate": 123,
      "defaultTrainingCycles": 123,
      "hasImageAugmentation": true,
      "type": "dense",
      "learnBlockType": "anomaly",
      "organizationModelId": 123,
      "implementationVersion": 123,
      "repositoryUrl": "<string>",
      "author": "<string>",
      "blockType": "official",
      "customParameters": [
        {
          "name": "Scale axes",
          "value": "<string>",
          "defaultValue": "<string>",
          "type": "text",
          "help": "Divide axes by this number",
          "param": "scale-axes",
          "selectOptions": [
            {
              "value": "<string>",
              "selected": true,
              "optionLabel": "<string>",
              "priority": 123,
              "romEstimate": 123,
              "needsOps": [
                "<string>"
              ],
              "needsFeatures": [
                "<string>"
              ]
            }
          ],
          "readonly": true,
          "shouldShow": true,
          "showIf": {
            "parameter": "<string>",
            "operator": "eq",
            "value": "<string>"
          },
          "invalidText": "<string>",
          "section": "advanced",
          "multiline": true,
          "required": true,
          "hint": "<string>",
          "placeholder": "<string>",
          "showClickToSet": true
        }
      ],
      "displayCategory": "classical",
      "blockNoLongerAvailable": {
        "reasonMarkdown": "<string>",
        "reasonHtml": "<string>"
      }
    }
  ],
  "profileInt8": true,
  "skipEmbeddingsAndMemory": true,
  "akidaEdgeLearningConfig": {
    "enabled": true,
    "additionalClasses": 123,
    "neuronsPerClass": 123
  },
  "customValidationMetadataKey": "<string>",
  "showAdvancedTrainingSettings": true,
  "showAugmentationTrainingSettings": true,
  "customParameters": {},
  "anomalyCapacity": "low",
  "lastShownModelVariant": "int8",
  "blockParameters": {
    "backbone": "<string>",
    "numLayers": 123,
    "poolSize": 123,
    "samplingRatio": 123,
    "numNearestNeighbors": 123
  },
  "thresholds": [
    {
      "key": "min_score",
      "description": "Score threshold",
      "helpText": "Threshold score for bounding boxes. If the score for a bounding box is below this the box will be discarded.",
      "suggestedValue": 123,
      "suggestedValueText": "<string>",
      "value": 0.5
    }
  ]
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

learnId
integer
required

Learn Block ID, use the impulse functions to retrieve the ID

Response

200 - application/json

OK

The response is of type object.