123 Commits

Author SHA1 Message Date
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
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
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
Palash Tyagi
ef574892fa Add transpose method to Frame for matrix transposition 2025-07-06 00:22:41 +01:00
Palash Tyagi
30bff6ecf4 Add transpose method to Frame for matrix transposition 2025-07-06 00:22:10 +01:00
Palash Tyagi
9daf583a4d Implement matrix multiplication and dot product methods for SeriesOps in Frame<f64> 2025-07-05 21:07:46 +01:00
Palash Tyagi
1ebc3546d2 Refactor assertions for clarity in Matrix methods and update test cases for consistency 2025-07-05 21:07:32 +01:00
Palash Tyagi
ffe635f1c4 Add transpose method and corresponding tests for Matrix 2025-07-05 21:07:21 +01:00
Palash Tyagi
75f194b8c9 Implement matrix multiplication and dot product methods for FloatMatrix in SeriesOps trait 2025-07-05 20:44:16 +01:00
Palash Tyagi
bc5cc65897 Update documentation for to_vec method to improve clarity 2025-07-04 00:53:15 +01:00
Palash Tyagi
453e34ef82 Improve panic message for invalid Range index in Frame::new test 2025-06-22 05:19:52 +01:00
Palash Tyagi
092a7b7cce Validate range index length in Frame::new to prevent mismatches with matrix rows 2025-06-22 05:08:05 +01:00
Palash Tyagi
f1ab33ed96 Fix comments to remove placeholder text in usage examples for BDatesList and DatesList 2025-06-07 11:35:55 +01:00
Palash Tyagi
80196f8a53 Enhance element-wise and bitwise operation implementations for Frame<T> and Frame<bool> 2025-06-02 20:10:39 +01:00
Palash Tyagi
bc00035bc0 Add type alias for DateFreq to enhance clarity in business date frequency representation 2025-05-15 00:09:23 +01:00
Palash Tyagi
8f3bc6843b Refactor module exports in mod.rs for clarity and consistency 2025-05-15 00:09:11 +01:00
Palash Tyagi
127e178b79 Remove commented-out code and streamline module exports in dateutils 2025-05-15 00:08:58 +01:00
Palash Tyagi
52729e55be Clean up comments and improve code clarity 2025-05-15 00:00:56 +01:00
Palash Tyagi
c37659f09d removing unused comments and cleaning up the code structure 2025-05-14 23:54:11 +01:00
Palash Tyagi
629c9d84e2 Refactor groups method in BDatesList to use dates::group_dates_helper 2025-05-14 23:52:11 +01:00
Palash Tyagi
f5fd935475 Refactor groups method in DatesList to use a helper function for modularity 2025-05-14 23:51:36 +01:00
Palash Tyagi
86fec0a6b1 Remove outdated comments from tests to improve code clarity 2025-05-13 00:06:27 +01:00
Palash Tyagi
df28440dfd Refactor BDatesGenerator to utilize DatesGenerator for improved date handling and remove unused functions 2025-05-13 00:04:41 +01:00
Palash Tyagi
f4d52f0ce8 Make fields in DatesGenerator public for improved accessibility 2025-05-13 00:04:33 +01:00
Palash Tyagi
d8239114cf Refactor date utility exports for clarity and maintainability 2025-05-11 22:39:56 +01:00
Palash Tyagi
c1834c0141 Comment out unused date utility exports for clarity 2025-05-11 22:39:51 +01:00
Palash Tyagi
fb63b3fd3d refactored bdates to depend on dates util 2025-05-11 22:39:45 +01:00
Palash Tyagi
b1a2a2260d Make date utility functions public for improved accessibility 2025-05-11 22:39:08 +01:00
77983eef77
Merge branch 'main' into date_utils 2025-05-11 02:00:34 +01:00
Palash Tyagi
2e980a78fa Update documentation for Matrix struct to clarify indexing method 2025-05-11 00:46:46 +01:00
e2db5eb315
Merge branch 'main' into date_utils 2025-05-03 01:32:47 +01:00
Palash Tyagi
b17863dcdc Organize code structure by adding section comments 2025-05-03 01:18:24 +01:00
Palash Tyagi
ac0eed2d56 Add comprehensive arithmetic and boolean logic tests for Matrix operations 2025-05-03 01:17:01 +01:00
Palash Tyagi
73a30d45c5 Rename test matrix creation functions for clarity and consistency 2025-05-03 01:16:33 +01:00
Palash Tyagi
3cb68be062 Refactor element-wise arithmetic operations to use a centralized dimension check for improved error handling 2025-05-03 01:11:59 +01:00
Palash Tyagi
ca734fbedf Enhance bitwise operations for boolean matrices and implement logical NOT for both owned and borrowed matrices 2025-05-03 00:39:08 +01:00
Palash Tyagi
36a0846efa Enhance element-wise arithmetic operations for Matrix + Scalar to support in-place modifications and improve performance 2025-05-03 00:38:07 +01:00
Palash Tyagi
7f587a7b7e Enhance element-wise arithmetic operations for Matrix to support multiple ownership variants and improve in-place modifications 2025-05-03 00:37:06 +01:00
Palash Tyagi
a30a7101e8 Refactor element-wise comparison macro to improve naming consistency 2025-05-03 00:36:03 +01:00
Palash Tyagi
10c6116f8f Enhance element-wise comparison methods to optimize data handling 2025-05-03 00:35:34 +01:00