Commit Graph

34 Commits

Author SHA1 Message Date
Ricardo Montañana Gómez
638bb2a59e Discretizer (#8)
* Add better check in testKBins.py

* Add Discretizer base class for Both discretizers

* Refactor order of constructors init
2024-06-05 17:53:08 +02:00
6b68a41c42 Implement BinDisc and tests 2024-06-05 10:45:11 +02:00
5708dc3de9 Fix initialization mistake in transform 2023-08-01 17:30:37 +02:00
5679d607e5 Add transform method to discretize values using CutPoints 2023-07-06 16:06:52 +02:00
a1f26a257c Reformat code and update version 2023-04-25 10:48:59 +02:00
e689d1f69c refactor computing max_cuts 2023-04-14 11:53:16 +02:00
d77d27459b refactor system types in library
Add new test taken from join_fit in FImdlp python
Update instructions in README
2023-04-11 19:24:31 +02:00
da41a9317d Refactor github build action 2023-04-01 17:53:00 +02:00
42e83b3d26 move limits include to CPPFImdlp header 2023-03-22 18:17:11 +01:00
cfade7a556 Remove unneeded loop in sortIndices
Add some static casts
2023-03-19 19:13:37 +01:00
f0845c5bd1 Fix mistake in class type of ArffFiles
Add some type casting to CPPFImdlp
Add additional path to datasets in tests
Fix some smells in sample
Join CMakeLists
2023-03-18 18:40:10 +01:00
14860ea0b9 Fix smell and add new test 2023-03-13 17:17:31 +01:00
d9a6f528f6 Fix 2 code smell 2023-03-13 16:56:09 +01:00
7551b0d669 Refactor constructor 2023-03-13 01:36:29 +01:00
ffb8df4d1c Add max_cutpoints Hyperparameter 2023-03-13 01:17:04 +01:00
747f610ce9 Remove unneeded code in CPPFImdlp 2023-02-27 00:53:00 +01:00
a7d13f602d set min_length as protected 2023-02-26 12:07:52 +01:00
4a9664c4aa Fix depth init in fit 2023-02-26 11:26:37 +01:00
d6cece1006 Add max_depth and min_length as hyperparams 2023-02-25 18:16:20 +01:00
cd04f97fd0 Remove exception of valuecutpoint it's not needed 2023-02-22 11:55:31 +01:00
458a313aee Add limits header 2023-02-22 11:32:37 +01:00
79c029832a Fix a sign mistake in valueCutPoint 2023-02-21 18:49:57 +01:00
dec1295933 Remove alternative and Classic
Refactor ValueCutPoint
Reefactor sameValues in getCandidate
2023-02-20 18:23:05 +01:00
04c1772019 Add same_values to getCandidate and fine tune ValueCutPoint 2023-02-15 13:07:03 +01:00
e37702dcb0 Fix mistake in final cut value 2023-02-14 23:03:23 +01:00
Ricardo Montañana Gómez
1b89f5927c feat: ♻️ Add Classic algorithm as #2 to compare performance 2023-01-13 11:44:17 +01:00
13ebb43bf3 style: 🎨 Remove unused variable 2022-12-22 11:01:06 +01:00
f449f438ef Refactor Algorithm 2022-12-21 11:33:55 +01:00
dd1e67ec78 Refactor testing 2022-12-20 01:24:49 +01:00
50543e4921 feat: 🎨 Refactor algorithm to accept 3 types of computation 2022-12-15 12:08:33 +01:00
264105ba56 Merge branch 'main' of github.com:rmontanana/mdlp 2022-12-13 15:46:53 +01:00
bd6660b0e9 feat: Use stable_sort to sort indices 2022-12-13 15:46:49 +01:00
a78cbc8756 Add header to module 2022-12-11 00:45:09 +01:00
7d940171b5 Initial commit 2022-12-10 21:23:09 +01:00