PostHog · Schema
IsolationForestDetectorConfig
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| n_estimators | integer | Number of trees in the forest (default: 100) |
| preprocessing | object | Preprocessing transforms applied before detection |
| threshold | number | Anomaly probability threshold (default: 0.9) |
| type | string | |
| window | integer | Rolling window size — how many historical data points to train on (default: based on calculation interval) |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/IsolationForestDetectorConfig",
"title": "IsolationForestDetectorConfig",
"additionalProperties": false,
"properties": {
"n_estimators": {
"default": null,
"description": "Number of trees in the forest (default: 100)",
"title": "N Estimators",
"type": "integer",
"nullable": true
},
"preprocessing": {
"default": null,
"description": "Preprocessing transforms applied before detection",
"allOf": [
{
"$ref": "#/components/schemas/PreprocessingConfig"
}
],
"nullable": true
},
"threshold": {
"default": null,
"description": "Anomaly probability threshold (default: 0.9)",
"title": "Threshold",
"type": "number",
"nullable": true
},
"type": {
"default": "isolation_forest",
"title": "Type",
"type": "string",
"enum": [
"isolation_forest"
]
},
"window": {
"default": null,
"description": "Rolling window size \u2014 how many historical data points to train on (default: based on calculation interval)",
"title": "Window",
"type": "integer",
"nullable": true
}
},
"type": "object"
}