Skip to content

Commit dde10ae

Browse files
committed
Add 4 machine learning algorithms with comprehensive tests
- Decision Tree Pruning: Implements decision tree with reduced error and cost complexity pruning - Logistic Regression Vectorized: Vectorized implementation with support for binary and multiclass classification - Naive Bayes with Laplace Smoothing: Handles both discrete and continuous features with Laplace smoothing - PCA from Scratch: Principal Component Analysis implementation with sklearn comparison All algorithms include: - Comprehensive docstrings with examples - Doctests (145 total tests passing) - Type hints throughout - Modern NumPy API usage - Comparison with scikit-learn implementations - Ready for TheAlgorithms/Python contribution
1 parent 788d95b commit dde10ae

File tree

4 files changed

+2251
-0
lines changed

4 files changed

+2251
-0
lines changed

0 commit comments

Comments
 (0)