code wiki / (root) / sketch_naive_bayes_test.nx

sketch_naive_bayes_test.nx

buildroot/runtime/sketch_naive_bayes_test.nx

3131 B85 linesdepth 6pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic sketch
docsdependenciesstructsconstsfunctions

about

sketch_naive_bayes_test.nx -- binary Naive Bayes classifier verification.

dependencies 3 imports · 0 importers

syscalls.nx sketch_naive_bayes.nx sketch_types.nx sketch_naive_bayes_test.nx

imports: syscalls.nxsketch_naive_bayes.nxsketch_types.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_nb_alloc nx_hmap_alloc nx_hmap_is_pow2 nx_nb_observe_class nx_nb_observe_feature nx_hmap_get nx_hmap_probe_find nx_hmap_hash nx_hmap_entry_at nx_hmap_entry_at ↻ nx_hmap_put nx_hmap_probe_insert nx_hmap_hash ↻ nx_hmap_entry_at ↻ nx_hmap_entry_at ↻ nx_nb_n_total nx_nb_n_class nx_nb_predict nx_nb_score_ppm nx_nb_log_class_prior_ppm nx_nb_log2_ppm nx_nb_log_feature_likeliho nx_hmap_get ↻ nx_nb_log2_ppm ↻ nx_nb_query nx_nb_predict ↻ nx_approx_new

structs

none

consts

none

functions

7func main() -> i64 {