OpenSearch/x-pack
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
..
dev-tools
docs [DOCS] Fix formatting of create API key API docs (#57138) 2020-05-27 08:34:51 -04:00
license-tools
plugin [ML] inference performance optimizations and refactor (#57674) (#57753) 2020-06-05 14:20:58 -04:00
qa [7.x] Add http proxy support for OIDC realm (#57039) (#57584) 2020-06-04 20:51:00 +03:00
snapshot-tool Use 3rd party task to run integration tests on external service (#56588) 2020-06-02 11:26:58 +02:00
test [7.x] Add http proxy support for OIDC realm (#57039) (#57584) 2020-06-04 20:51:00 +03:00
transport-client Always use archive base name as the pom artifact id (#56447) (#56467) 2020-05-08 16:11:19 -07:00
NOTICE.txt
README.md
build.gradle Include vendored code notices in distribution notice files (#57017) (#57569) 2020-06-04 10:34:24 -07:00

README.md

Elastic License Functionality

This directory tree contains files subject to the Elastic License. The files subject to the Elastic License are grouped in this directory to clearly separate them from files licensed under the Apache License 2.0.