Skip to content

Commit 2d562f9

Browse files
PRERITARYACopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 37325bb commit 2d562f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

machine_learning/gaussian_naive_bayes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
Gaussian PDF:
2222
P(x | mean, var) = exp(-0.5 * ((x - mean)^2 / var)) / sqrt(2 * pi * var)
2323
24-
Time Complexity: O(n * k * d) for training, O(k * d) for prediction
24+
Time Complexity: O(n * d) for training, O(k * d) per sample for prediction
2525
where n = samples, k = classes, d = features
2626
2727
References:

0 commit comments

Comments
 (0)