520 Commits

Author SHA1 Message Date
Palash Tyagi
122a972a33 Add statistical distribution functions for matrices 2025-07-07 21:22:09 +01:00
Palash Tyagi
2a63e6d5ab Enhance Matrix implementation with generic filled method and add NaN support 2025-07-07 21:20:57 +01:00
Palash Tyagi
e48ce7d6d7 Add descriptive statistics functions and module integration 2025-07-07 00:38:09 +01:00
Palash Tyagi
a08fb546a9 fixed typo 2025-07-07 00:02:24 +01:00
Palash Tyagi
e195481691 Refactor row access method to row_copy_from_slice for better clarity and functionality 2025-07-07 00:02:08 +01:00
Palash Tyagi
87d14bbf5f Moved activations module and update imports in dense_nn and logreg 2025-07-06 23:50:32 +01:00
Palash Tyagi
4f8a27298c Add mutable row access method and corresponding tests for Matrix 2025-07-06 22:21:03 +01:00
Palash Tyagi
4648800a09 fixed incorrectly commited file 2025-07-06 21:16:57 +01:00
Palash Tyagi
96f434bf94 Add tests for DenseNN training and MSE loss calculation 2025-07-06 20:48:04 +01:00
Palash Tyagi
46abeb12a7 applied formatting 2025-07-06 20:43:01 +01:00
Palash Tyagi
75d07371b2 Increase training epochs from 5000 to 10000 for improved model performance 2025-07-06 20:16:06 +01:00
Palash Tyagi
70d2a7a2b4 Refactor GaussianNB implementation for improved clarity and stability, including enhanced variance handling and additional unit tests 2025-07-06 20:13:59 +01:00
Palash Tyagi
261d0d7007 Refactor DenseNN implementation to enhance activation function handling and improve training process 2025-07-06 20:03:16 +01:00
Palash Tyagi
005c10e816 Enhance activation function tests with edge cases for sigmoid, relu, and their derivatives 2025-07-06 20:00:54 +01:00
Palash Tyagi
4c626bf09c Add leaky_relu and dleaky_relu functions with corresponding unit tests 2025-07-06 20:00:17 +01:00
Palash Tyagi
ab6d5f9f8f Refactor test module imports in LinReg to improve clarity 2025-07-06 19:17:09 +01:00
Palash Tyagi
1c8fcc0bad Refactor LogReg implementation for improved readability by adjusting formatting and organizing imports 2025-07-06 19:17:03 +01:00
Palash Tyagi
2ca496cfd1 Add repeat_rows method to Matrix and corresponding unit test 2025-07-06 19:16:46 +01:00
Palash Tyagi
85154a3be0 Add shape method to Matrix and corresponding unit test 2025-07-06 18:58:38 +01:00
Palash Tyagi
54a266b630 Add unit tests for logistic regression fit and predict methods 2025-07-06 18:52:49 +01:00
Palash Tyagi
4ddacdfd21 Add unit tests for linear regression fit and predict methods 2025-07-06 18:52:15 +01:00
Palash Tyagi
37b20f2174 Add unit tests for activation functions: sigmoid, relu, dsigmoid, and drelu 2025-07-06 17:51:43 +01:00
Palash Tyagi
b279131503 Add model modules for linear regression, logistic regression, dense neural network, k-means, PCA, and Gaussian Naive Bayes 2025-07-06 17:43:17 +01:00
Palash Tyagi
eb948c1f49 Add Gaussian Naive Bayes implementation with fit and predict methods 2025-07-06 17:43:04 +01:00
Palash Tyagi
d4c0f174b1 Add PCA implementation with fit and transform methods 2025-07-06 17:42:56 +01:00
Palash Tyagi
b6645fcfbd Add Gaussian Naive Bayes implementation with fit and predict methods 2025-07-06 17:42:45 +01:00
Palash Tyagi
b1b7e63fea Add Dense Neural Network implementation with forward and training methods 2025-07-06 17:42:08 +01:00
Palash Tyagi
e2c5e65c18 move rand from dev-deps to deps 2025-07-06 17:41:56 +01:00
Palash Tyagi
be41e9b20e Add logistic regression model implementation 2025-07-06 17:41:14 +01:00
Palash Tyagi
1501ed5b7a Add linear regression model implementation 2025-07-06 17:40:55 +01:00
Palash Tyagi
dbbf5f9617 Add activation functions: sigmoid, dsigmoid, relu, and drelu 2025-07-06 17:40:41 +01:00
Palash Tyagi
6718cf5de7 Add compute module and update lib.rs to include it 2025-07-06 17:40:04 +01:00
Palash Tyagi
f749b2c921 Add method to retrieve a specific row from the matrix and corresponding tests 2025-07-06 17:38:24 +01:00
Palash Tyagi
04637ef4d0 Add methods to create zero, one, and filled matrices for f64 type 2025-07-06 17:05:46 +01:00
11330e464b
Merge pull request #56 from Magnus167/add-examples
Add examples for map and zip methods in README
2025-07-06 11:34:42 +01:00
Palash Tyagi
162a09fc22 Add examples for map and zip methods in README 2025-07-06 11:33:38 +01:00
5db5475a61
Merge pull request #55 from Magnus167/map-zip
Implement `map` and `zip` methods for SeriesOps and Frame
2025-07-06 10:56:11 +01:00
Palash Tyagi
2da1e9bf04 Fix dimension mismatch assertion in zip method and add panic test for incompatible matrices 2025-07-06 10:54:23 +01:00
Palash Tyagi
601dc66d7d Add panic test for frame_zip method with incompatible dimensions 2025-07-06 10:47:21 +01:00
Palash Tyagi
073a22b866 Add frame_map and frame_zip methods to Frame struct with corresponding tests 2025-07-06 01:55:49 +01:00
Palash Tyagi
ffa1a76df4 Implement map and zip methods for SeriesOps trait and add corresponding tests 2025-07-06 01:55:45 +01:00
Palash Tyagi
621632b7d2 Implement map and zip methods for SeriesOps trait and add corresponding tests 2025-07-06 01:55:35 +01:00
Palash Tyagi
64e578fae2 Add examples for matrix multiplication, dot product, and transpose in README 2025-07-06 01:21:30 +01:00
f44bb5b205
Merge pull request #54 from Magnus167/fix-benchmark
Update benchmarks and fix README formatting
2025-07-06 01:00:48 +01:00
Palash Tyagi
fde9c73a66 Fix README formatting by commenting out logo image line 2025-07-06 00:53:31 +01:00
Palash Tyagi
85e0eb7e67 Update benchmarks to use Axis enum for apply_axis method 2025-07-06 00:53:27 +01:00
b8e64811ed
Merge pull request #53 from Magnus167/matrix-ops-enhancement
Updates to matrix operations for SeriesOps trait
2025-07-06 00:46:09 +01:00
Palash Tyagi
2ac2db258f Add tests for matrix multiplication and transpose operations in Frame 2025-07-06 00:38:22 +01:00
Palash Tyagi
7a68d13eb3 Change transpose method to take an immutable reference 2025-07-06 00:38:14 +01:00
Palash Tyagi
f39c678192 Add test for matrix multiplication error handling and create 4x4 test matrix with NaNs 2025-07-06 00:38:07 +01:00