We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66820b8 commit c1fbee7Copy full SHA for c1fbee7
algorithms/linfa-bayes/src/base_nb.rs
@@ -70,7 +70,7 @@ where
70
.mapv(|x| x.exp())
71
.sum_axis(Axis(1))
72
.mapv(|x| x.ln())
73
- .into_shape((n_samples, 1))
+ .into_shape_with_order((n_samples, 1))
74
.unwrap();
75
76
(log_prob_mat - log_prob_x, classes)
0 commit comments