Fit a classification or regression CART tree with depth and leaf limits, readabl
Fit a classification or regression CART tree with depth and leaf limits, readable rules, feature importance and optional predictions. Docs: https://www.brainiac.software/api/predictive-analytics/decision-tree-train
Answeringour last check, 2026-11-27
4 of 4checks answered this week
332 msmedian answer time
$0.03listed price per call
$0.03price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://www.brainiac.software/api/v1/predictive-analytics/decision-tree-train
| Category | Everything else |
|---|---|
| Provider host | www.brainiac.software |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.03 | 804 ms |
| 2026-11-26 | valid payment request | 402 | $0.03 | 287 ms |
| 2026-11-25 | valid payment request | 402 | $0.03 | 323 ms |
| 2026-11-24 | valid payment request | 402 | $0.03 | 341 ms |
Example input (from the provider)
{
"body": {
"columns": [
"age",
"income"
],
"maxDepth": 2,
"minSamplesLeaf": 1,
"predict": [
[
33,
66
]
],
"rows": [
[
25,
40
],
[
35,
60
],
[
45,
80
],
[
20,
20
],
[
50,
90
],
[
23,
30
],
[
40,
70
],
[
60,
100
],
[
30,
50
],
[
55,
95
]
],
"target": [
0,
0,
1,
0,
1,
0,
1,
1,
0,
1
],
"task": "classification"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"columns": {
"description": "columns supplied by the caller for this operation.",
"example": [
"age",
"income"
],
"items": {
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"type": "array"
},
"maxDepth": {
"description": "max Depth supplied by the caller for this operation.",
"example": 2,
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"minSamplesLeaf": {
"description": "min Samples Leaf supplied by the caller for this operation.",
"example": 1,
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"predict": {
"description": "predict supplied by the caller for this operation.",
"example": [
[
33,
66
]
],
"items": {
"items": {
"type": "number"
},
"type": "array"
},
"type": "array"
},
"rows": {
"description": "rows supplied by the caller for this operation.",
"example": [
[
25,
40
],
[
35,
60
],
[
45,
80
],
[
20,
20
],
[
50,
90
],
[
23,
30
],
[
40,
70
],
[
60,
100
],
[
30,
50
],
[
55,
95
]
],
"items": {
"items": {
"type": [
"number",
"null"
]
},
"type": "array"
},
"type": "array"
},
"target": {
"description": "target supplied by the caller for this operation.",
"example": [
0,
0,
1,
0,
1,
0,
1,
1,
0,
1
],
"items": {
"type": [
"number",
"string"
]
},
"type": "array"
},
"task": {
"description": "task supplied by the caller for this operation.",
"enum": [
"classification",
"regression"
],
"example": "classification",
"type": "string"
}
},
"required": [
"task",
"columns",
"rows",
"target"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}