OpenSearch/x-pack/plugin
Benjamin Trent 9666a895f7
[ML] inference performance optimizations and refactor (#57674) (#57753)
This is a major refactor of the underlying inference logic.

The main refactor is now we are separating the model configuration and
the inference interfaces.

This has the following benefits:
 - we can store extra things with the model that are not
   necessary for inference (i.e. treenode split information gain)
 - we can optimize inference separate from model serialization and storage.
 - The user is oblivious to the optimizations (other than seeing the benefits).

A major part of this commit is removing all inference related methods from the
trained model configurations (ensemble, tree, etc.) and moving them to a new class.

This new class satisfies a new interface that is ONLY for inference.

The optimizations applied currently are:
- feature maps are flattened once
- feature extraction only happens once at the highest level
  (improves inference + feature importance through put)
- Only storing what we need for inference + feature importance on heap
2020-06-05 14:20:58 -04:00
..
analytics IndexFieldData should hold the ValuesSourceType (#57373) (#57532) 2020-06-02 12:16:53 -04:00
async-search Stop async search maintenance service on restart (#56982) 2020-05-26 09:30:33 +02:00
autoscaling Migrate remaining ESIntegTestCases to internalClusterTest (#56479) (#56563) 2020-05-11 21:06:04 -07:00
ccr Add History UUID Index Setting (#56930) (#57104) 2020-05-25 11:26:03 +02:00
core [ML] inference performance optimizations and refactor (#57674) (#57753) 2020-06-05 14:20:58 -04:00
deprecation Add xpack setting deprecations to deprecation API (#56290) 2020-05-07 10:28:17 -04:00
enrich Fix enrich coordinator to reject documents instead of deadlocking (#56247) (#57179) 2020-05-27 15:32:13 -04:00
eql Change error message for comp against fields (#57126) 2020-05-26 17:57:51 +02:00
frozen-indices [7.x] Add new circuitbreaker plugin and refactor CircuitBreakerService (#55695) (#57359) 2020-05-29 12:13:46 -04:00
graph Merge significant_terms into the terms package (backport of #56699) (#56715) 2020-05-13 17:36:21 -04:00
identity-provider Disable testing conventions for idp in fips (#57663) (#57676) 2020-06-04 20:51:38 +03:00
ilm Revert "Restore xpack.ilm.enabled and xpack.slm.enabled settings (#57383)" 2020-06-04 16:25:05 -04:00
logstash Deprecated xpack "enable" settings should be no-ops (#55416) (#56167) 2020-05-05 10:40:49 -04:00
mapper-constant-keyword IndexFieldData should hold the ValuesSourceType (#57373) (#57532) 2020-06-02 12:16:53 -04:00
mapper-flattened IndexFieldData should hold the ValuesSourceType (#57373) (#57532) 2020-06-02 12:16:53 -04:00
ml [ML] inference performance optimizations and refactor (#57674) (#57753) 2020-06-05 14:20:58 -04:00
monitoring [7.x] Ensure type exists for all monitoring configuration (#57399) (#57704) 2020-06-05 10:47:11 -05:00
ql SQL: Make CASTing string to DATETIME more lenient (#57451) (#57509) 2020-06-02 10:54:03 +02:00
rollup Merge significant_terms into the terms package (backport of #56699) (#56715) 2020-05-13 17:36:21 -04:00
search-business-rules Migrate remaining ESIntegTestCases to internalClusterTest (#56479) (#56563) 2020-05-11 21:06:04 -07:00
searchable-snapshots Remove more //NORELEASE (#57517) 2020-06-05 15:34:06 +02:00
security [7.x] Add http proxy support for OIDC realm (#57039) (#57584) 2020-06-04 20:51:00 +03:00
spatial Include vendored code notices in distribution notice files (#57017) (#57569) 2020-06-04 10:34:24 -07:00
sql Remove duplicate ssl setup in sql/qa projects (#57319) (#57643) 2020-06-04 14:53:23 +02:00
src/test [7.x] Ensure type exists for all monitoring configuration (#57399) (#57704) 2020-06-05 10:47:11 -05:00
transform [Transform] use old roles only together with old endpoints (#57710) 2020-06-05 10:08:05 +02:00
vectors Remove the 'array value parser' marker interface. (#57571) (#57622) 2020-06-03 11:30:14 -07:00
voting-only-node Convert remaining license methods to isAllowed (#55908) (#55991) 2020-04-30 15:52:22 -07:00
watcher Revert "Restore xpack.ilm.enabled and xpack.slm.enabled settings (#57383)" 2020-06-04 16:25:05 -04:00
wildcard IndexFieldData should hold the ValuesSourceType (#57373) (#57532) 2020-06-02 12:16:53 -04:00
build.gradle Convert remaining compilerJavaHome reference 2020-05-27 17:04:04 -07:00