|
8b17695163
|
Conan create fixed
|
2025-07-16 17:49:20 +02:00 |
|
|
9338c818fd
|
Add file name validation and other optimizations
|
2025-06-27 22:40:32 +02:00 |
|
|
7a69526409
|
Added summary of ArffFile and tests
|
2025-06-27 19:48:56 +02:00 |
|
|
9c1c427620
|
Enhance error handling with exceptions and add tests
|
2025-06-27 19:02:52 +02:00 |
|
|
c408352daa
|
Eliminate redundant memory and enhance memory usage
1. Eliminated Redundant Memory Usage
- Before: Maintained both X (float) and Xs (string) vectors simultaneously → 2x memory usage
- After: Use temporary categoricalData only during processing, deallocated automatically → ~50% memory reduction
2. Implemented Memory Pre-allocation
- Before: Vectors grew dynamically causing memory fragmentation
- After: X.assign(numFeatures, std::vector<float>(numSamples)) pre-allocates all memory upfront
- Benefit: Eliminates reallocation overhead and memory fragmentation
3. Added Robust Exception Handling
- Before: stof(token) could crash on malformed data
- After: Wrapped in try-catch with descriptive error messages
- Improvement: Prevents crashes and provides debugging information
4. Optimized String Processing
- Before: type += type_w + " " caused O(n²) string concatenation
- After: Used std::ostringstream for efficient string building
- Benefit: Better performance on files with complex attribute types
|
2025-06-27 18:20:06 +02:00 |
|
|
18c79f6d48
|
Update cmake coverage module
|
2025-01-09 10:10:01 +01:00 |
|
|
eff7a33f96
|
Remove catch2 git submodule
|
2024-07-21 21:32:37 +02:00 |
|
|
cf32b9ae58
|
Fix numeric_features problem
|
2024-06-12 21:59:59 +02:00 |
|
|
9e1ef5bce2
|
Complete adding string features
|
2024-06-12 21:10:53 +02:00 |
|
|
00068c05ed
|
Implement string features
|
2024-06-12 18:17:03 +02:00 |
|
|
40ac38011a
|
Commit Inicial
|
2024-05-21 12:44:33 +02:00 |
|