kibana/x-pack/packages/ml/chi2test
Walter Rafelsberger 1b9993eb07
[ML] Move chi2test to package (#167237)
The `chi2test` utils so fare were only used within data comparison view.
We plan to use it with other plugins, so moving it so a separate package
in this PR. `SIGNIFICANCE_LEVELS` was updated to include some more
digits.
2023-09-27 18:43:27 +02:00
..
compute_chi_2_pvalue.test.ts
compute_chi_2_pvalue.ts
constants.ts
critical_table_lookup.ts
index.ts
jest.config.js
kibana.jsonc
package.json
README.md
tsconfig.json
types.ts

@kbn/ml-chi2test

computeChi2PValue computes the p-value for how similar the datasets are. Returned value ranges from 0 to 1, with 1 meaning the datasets are identical.