Skip to content

Commit

Permalink
[DOCS] Adds explain DFA examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
szabosteve committed Apr 18, 2024
1 parent d13385d commit 68f8f2e
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"summary": "A succesful response for explaining a data frame analytics job configuration.",
"value": {
"field_selection": [
{
"field": "number_of_bedrooms",
"mappings_types": ["integer"],
"is_included": true,
"is_required": false,
"feature_type": "numerical"
},
{
"field": "postcode",
"mappings_types": ["text"],
"is_included": false,
"is_required": false,
"reason": "[postcode.keyword] is preferred because it is aggregatable"
},
{
"field": "postcode.keyword",
"mappings_types": ["keyword"],
"is_included": true,
"is_required": false,
"feature_type": "categorical"
},
{
"field": "price",
"mappings_types": ["float"],
"is_included": true,
"is_required": true,
"feature_type": "numerical"
}
],
"memory_estimation": {
"expected_memory_without_disk": "128MB",
"expected_memory_with_disk": "32MB"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"summary": "A request for explaining a data frame analytics job configuration.",
"value": {
"source": {
"index": "houses_sold_last_10_yrs"
},
"analysis": {
"regression": {
"dependent_variable": "price"
}
}
}
}

0 comments on commit 68f8f2e

Please sign in to comment.