File size: 1,384 Bytes
6e84b36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
  "title": "Iris Flower Species Predictor",
  "description": "This Decision Tree model predicts the species of an Iris flower based on its sepal and petal measurements.",
  "model_type": "DecisionTreeClassifier",
  "framework": "scikit-learn",
  "author": "Sonia G",
  "license": "MIT",
  "input_schema": {
    "type": "object",
    "properties": {
      "sepal_length": {
        "type": "number",
        "description": "Sepal length in cm"
      },
      "sepal_width": {
        "type": "number",
        "description": "Sepal width in cm"
      },
      "petal_length": {
        "type": "number",
        "description": "Petal length in cm"
      },
      "petal_width": {
        "type": "number",
        "description": "Petal width in cm"
      }
    },
    "required": [
      "sepal_length",
      "sepal_width",
      "petal_length",
      "petal_width"
    ]
  },
  "output_schema": {
    "type": "string",
    "description": "Predicted Iris species (setosa, versicolor, or virginica)"
  },
  "examples": [
    {
      "input": {
        "sepal_length": 5.1,
        "sepal_width": 3.5,
        "petal_length": 1.4,
        "petal_width": 0.2
      },
      "output": "setosa"
    },
    {
      "input": {
        "sepal_length": 6.7,
        "sepal_width": 3.1,
        "petal_length": 4.7,
        "petal_width": 1.5
      },
      "output": "versicolor"
    }
  ]
}