Commit Graph

344 Commits

Author SHA1 Message Date
1bb0cab99a MLPPSoftmaxNet initial cleanup. 2023-02-11 09:17:02 +01:00
47155163b1 MLPPTanhReg initial cleanup. 2023-02-11 01:18:25 +01:00
e8d0b13eed Added old versions for all remaining classes. 2023-02-11 00:46:43 +01:00
14c0cede56 Fixed warnings in MLPPANN. 2023-02-10 23:10:08 +01:00
7e738f79ee Fixed warnings in MLPPBernoulliNB. 2023-02-10 22:46:16 +01:00
c37237aef8 Fixed warnings in MLPPCLogLogReg. 2023-02-10 22:40:20 +01:00
3036db18fb Fixed warnings in MLPPDualSVC. 2023-02-10 22:33:32 +01:00
1e793de7f7 Fixed warnings in MLPPExpReg. 2023-02-10 22:23:10 +01:00
d795b55baa Fixed warnings in MLPPGAN. 2023-02-10 22:19:06 +01:00
e22f26d074 Fixed warnings in MLPPGaussianNB. 2023-02-10 22:02:57 +01:00
97ac09d0d9 Fixed warnings in MLPPLinReg. 2023-02-10 21:55:21 +01:00
20892804ba Fixed warnings in MLPPLogReg. 2023-02-10 21:44:27 +01:00
73e22e5a7c Fixed warnings in MLPPMANN. 2023-02-10 21:41:05 +01:00
d467f1ccf1 Fixed warnings in MLPPMultinomialNB. 2023-02-10 21:35:43 +01:00
e51a976a10 Fix warnings in MLPPSoftmaxNet. 2023-02-10 21:26:46 +01:00
628e5124e9 Added TanhRegOld. 2023-02-10 21:01:12 +01:00
e191ab9a16 Fixed warnings in MLPPTanhReg. 2023-02-10 20:53:26 +01:00
4e30b31833 Initial cleanup pass on AutoEncoder. 2023-02-10 20:48:55 +01:00
e6e50025ad Added MLPPAutoEncoderOld. 2023-02-10 20:15:42 +01:00
3a56ed59e3 Fixed warnings in MLPPAutoEncoder. 2023-02-10 20:05:47 +01:00
17d3f486ae Cleaned up SoftmaxReg. 2023-02-10 19:31:54 +01:00
022a330ff6 Fix typo. 2023-02-10 19:31:47 +01:00
8544322ef0 Added SoftMaxRegOld. 2023-02-10 14:25:28 +01:00
1e2078f428 Fixed warnings in SoftMaxReg. 2023-02-10 14:15:49 +01:00
da6324830d Cleaned up SVC. 2023-02-10 14:03:48 +01:00
6465280167 Added SVCOld. 2023-02-10 09:16:49 +01:00
605a10d8f6 Fixed warnings in SVC. 2023-02-10 09:12:56 +01:00
62492c8fde Cleaned up ProbitReg. 2023-02-09 20:20:45 +01:00
9fb703f108 Added ProbitRegOld. 2023-02-09 17:12:14 +01:00
0289fcb70e Fixed warnings in ProbitReg. 2023-02-09 16:42:46 +01:00
d341f6f8d0 Cleaned up OutlierFinder. 2023-02-09 15:30:33 +01:00
8f7177aaac Added OutlierFinderOld. 2023-02-09 15:30:14 +01:00
5ff5afff48 Now MLPPData's helper classes use MLPPVector and MLPPMatrix. 2023-02-09 11:40:16 +01:00
8fe8070fce Cleaned up UniLinReg. 2023-02-09 02:27:04 +01:00
d4409491d7 Fix warnings in PCAOld. 2023-02-08 12:58:01 +01:00
c49d089791 Added UniLinRegOld. 2023-02-08 12:46:56 +01:00
ee727b327d Added bind for is_equal_approx in MLPPMatrix. 2023-02-08 01:43:48 +01:00
119f4ee102 Removed comment. 2023-02-08 01:43:35 +01:00
68db9a55f0 Clean up MLPPPCA. 2023-02-08 01:26:37 +01:00
e96431a577 Reworked svd in LinAlg. Also fixed the usage order of the parameters in a few helper methods. 2023-02-07 23:23:48 +01:00
b39e0acdf8 More reworks. 2023-02-07 22:10:16 +01:00
3a297ae5d4 Renamed the SDVResult struct. 2023-02-07 21:50:02 +01:00
34cf810bd7 Use a struct instead of touples in SVD aswell. 2023-02-07 21:46:59 +01:00
256b7c9c14 Added MLPPPCAOld. 2023-02-07 21:18:01 +01:00
48d979f6b8 Also split MLP and MLPOld into different files. 2023-02-07 17:39:42 +01:00
0025a8ae3d Also split layers and old layers into different files. 2023-02-07 17:36:03 +01:00
b7e9de484c Split MLPPWGAN and MLPPWGANOld into different files. 2023-02-07 17:16:00 +01:00
f8710e6432 Fixed MLPPWGAN's handle_ui. 2023-02-06 15:05:00 +01:00
7e71ea49d9 Fix index calculations in MLPPLinAlg::transposem. 2023-02-06 15:03:20 +01:00
a42cfac723 Split the wgan test. 2023-02-06 14:27:43 +01:00
bdfa69f1e9 Fixed crashes in the new wgan. 2023-02-06 14:24:56 +01:00
f9b998d5d0 Properly initialize the hidden and output layers. 2023-02-06 14:24:43 +01:00
879464fe0d Fix outer_product. 2023-02-06 14:24:11 +01:00
e594aec785 Fix crashes introduced when fixing warnings. 2023-02-06 12:45:15 +01:00
62e4b97291 Finished the initial port of MLPPWGAN. 2023-02-06 12:20:52 +01:00
f59b092d10 Added new helper methods to MLPPMatrix and MLPPVector. 2023-02-06 12:20:33 +01:00
e5810cda01 Work on porting WGAN. 2023-02-06 02:36:22 +01:00
35f4a01bac Initial cleanup. 2023-02-05 18:46:12 +01:00
8c3671fc8f Duplicate MLPPWGANOld as MLPPWGAN. 2023-02-05 18:16:34 +01:00
2177632163 Fix all warnings for MLPPWGANOld. 2023-02-05 18:14:37 +01:00
1d1611bc39 Renamed MLPPWGAN to MLPPWGANOld. 2023-02-05 17:05:46 +01:00
dc4da4681b Small improvements. 2023-02-05 13:14:09 +01:00
b8e3f41fda Fix more crashes and issues in MLPPMLP. Also added more tests for it. 2023-02-05 13:05:36 +01:00
e6afa5b715 Fixed a few crashes and issues. 2023-02-05 10:59:45 +01:00
4281746cfc Fix warning. 2023-02-05 10:02:35 +01:00
2b33f8a5ed Fix matmultm in LinAlg, and smaller improvements. 2023-02-05 09:50:39 +01:00
9142592077 Small improvements to MLPPVector. 2023-02-05 09:50:03 +01:00
8269406991 Fix indexing and smaller improvements to MLPPMatrix. 2023-02-05 09:49:50 +01:00
cfe5336a86 Added TODOs. 2023-02-05 01:47:59 +01:00
d8fb70b92d Fix warnings in MLP. 2023-02-05 01:34:14 +01:00
b2e99c2ef4 Fix warning. 2023-02-05 01:09:59 +01:00
fbc20cc749 Fully ported MLPPMLP. 2023-02-05 00:58:00 +01:00
7581be0e7f Ported mini batch creation methods in Utilities. 2023-02-04 18:49:58 +01:00
5f63aebc99 Initial cleanups to MLP. 2023-02-04 16:48:31 +01:00
a875cc9e70 Added a copy of MLPPMLPOld as MLPPMLP. 2023-02-04 16:13:54 +01:00
abe878ee72 Renamed MLPPMLP to MLPPMLPOld. 2023-02-04 15:59:27 +01:00
817b1e3b72 Warning fixes. 2023-02-04 13:59:26 +01:00
df75dc8e7f Added a new MultiOutputLayer implementation. 2023-02-04 13:53:36 +01:00
a34628e8c4 Renamed MultiOutputLayer to OldMultiOutputLayer. 2023-02-04 13:36:52 +01:00
53ad617681 Finished MLPPOutputLayer. 2023-02-04 13:30:33 +01:00
fd13337eb7 Added more helper methods to Cost. 2023-02-04 13:19:01 +01:00
b004a092b7 New initial OutputLayer implementation. 2023-02-04 12:44:00 +01:00
5e82d4a907 Added bindings for Cost. 2023-02-04 12:34:00 +01:00
3731e8f12f Added new api for Cost. 2023-02-04 12:20:25 +01:00
a0f6078afe Fix warning. 2023-02-04 01:43:19 +01:00
6132c85b46 Also added bindings for MLPPHiddenLayer. 2023-02-04 01:41:07 +01:00
1aa239720b Initial bindings for MLPPUtilities. 2023-02-04 01:18:50 +01:00
bbe334856b Use the new MLPPReg::RegularizationType instead of a String in MLPPHiddenLayer. 2023-02-04 00:58:48 +01:00
bda7a7aee4 Added bindings for MLPPReg. 2023-02-04 00:54:27 +01:00
6a5db4e60a Added new api to MLPPReg. 2023-02-04 00:49:16 +01:00
d33ceabe47 Swapped the x, y arguments of the getters/setters in MLPPMatrix. This is how all the code expects them already. 2023-02-04 00:48:59 +01:00
0fe6f73fb8 Initial implementation for the new HiddenLayer. 2023-02-03 20:02:59 +01:00
ac109ab441 Fixed the remaining warnings in Activation. 2023-02-03 02:40:30 +01:00
5ac7f4cf88 Fix shadowed declaration warnings in Activation. 2023-02-03 02:33:55 +01:00
25a92cd4e3 Fix signedness comparison warnings in Activation. 2023-02-03 02:31:13 +01:00
567808a939 Fix infinite recursion. 2023-02-03 02:26:35 +01:00
5c7840850b Also bound the activation functions directly. 2023-02-03 02:22:02 +01:00
fa4b7b6b56 Added bindings for Activation. 2023-02-03 02:08:48 +01:00
1aafbdf66a Use bool literals. 2023-02-03 01:59:27 +01:00
f6a32ca301 Implement the new helper methods in Activation. 2023-02-03 01:58:17 +01:00
06a986f31c Make activation function method names unique. 2023-02-02 23:22:27 +01:00
3ebbf76789 Ported the remaining activation methods. 2023-02-02 20:53:36 +01:00
0c731dccf3 More cleanups. 2023-02-02 02:19:16 +01:00
d26daf4c1a More cleanups. 2023-01-31 03:20:20 +01:00
9518694132 More work on Activations. 2023-01-31 02:37:20 +01:00
3db6f0faa4 Fixed getters in MLPPMatrix. 2023-01-31 02:37:06 +01:00
048dc20f6a INitial Activation rework. 2023-01-31 01:22:50 +01:00
a44d2c98a1 Initial HiddenLayer rework. 2023-01-31 01:22:13 +01:00
ea4978f535 Renamed MLPPHiddenLayer and MLPPOutputLayer. 2023-01-30 16:56:16 +01:00
27d187c67a Ported MLPPKMeans logic. 2023-01-29 15:46:55 +01:00
bd67fcecc6 MLPPKMeans initial api cleanup pass. 2023-01-28 14:35:05 +01:00
26117ac21d Small fixes to MLPPKNN. 2023-01-28 14:33:35 +01:00
02a44dddf7 Reworked and cleaned up MLPPKNN. Also registered it to the engine. 2023-01-28 01:02:57 +01:00
4deb34c852 Use real_t instead of doubles. 2023-01-27 13:01:16 +01:00
7a291b451a Added some extremely basic tests for the new Matrix and Vector classes. Also fixed a few smaller issues. 2023-01-27 02:57:33 +01:00
e32cae7330 Proper initial MLPPMatrix implementation. 2023-01-27 02:07:01 +01:00
20fdcd4acb Only crash when using the operators in MLPPVector. 2023-01-27 02:06:44 +01:00
862c66a846 More cleanups. 2023-01-26 17:32:19 +01:00
b568eca5fe Added missing bind. 2023-01-26 17:30:23 +01:00
eefded4f80 More cleanups to the matrix class. 2023-01-26 17:25:26 +01:00
1718f33c84 Rename _size to _data_size in MLPPMatrix. 2023-01-26 17:16:16 +01:00
5029a6e8ea Added MLPPVector as a base for MLPPMatrix. 2023-01-26 17:12:02 +01:00
db6e9ac257 Removed capacity support from MLPPVector. 2023-01-26 17:05:57 +01:00
a6b797b34b Rework normal getters and setters in MLPPVector. 2023-01-26 16:51:34 +01:00
3ee8949015 Implemented MLPPVector using LocalVector as a base. 2023-01-26 16:43:54 +01:00
cdbcac61eb Added Matrix and vector skeleton classes. 2023-01-26 16:02:45 +01:00
2dabbb42be Ported all tests. 2023-01-26 14:52:49 +01:00
c79bd2050d Restore some old optimization methods to MLPPLinReg. 2023-01-25 23:43:21 +01:00
9403f8efe2 Added loader methods that use the engine's FileAccess instead of ifstreams. 2023-01-25 18:27:14 +01:00
4f6b4d46de Prefixed the remaining classes with MLPP. 2023-01-25 01:09:37 +01:00
43e1b8d1fc Prefixed more classes with MLPP. 2023-01-25 00:54:50 +01:00
6fe1f32c3d Prefixed LinAlg with MLPP. 2023-01-25 00:29:02 +01:00
e399330a6c Prefixed more classes with MLPP. 2023-01-25 00:25:18 +01:00
d6e9d20c91 Prefixed more classes with MLPP. 2023-01-25 00:21:31 +01:00
0e9d8bcb41 Prefix Cost with MLPP. 2023-01-24 19:37:08 +01:00
1381b5f70e Prefix classes with MLPP. 2023-01-24 19:29:29 +01:00
18c4ae6ea1 Renamed Activation to MLPPActivation. 2023-01-24 19:23:30 +01:00
ab0d41203b Removed the MLPP namespace. 2023-01-24 19:20:18 +01:00
ffa44dfda5 Fixed remaining errors and added everything to the build. 2023-01-24 19:14:38 +01:00
4675ee8e58 Clang format. 2023-01-24 19:00:54 +01:00
284355ac6a Move comments below include guards. 2023-01-24 18:57:18 +01:00
db79c6215b Update include guard style. 2023-01-24 18:52:45 +01:00
3457ec73a1 Include cleanups. 2023-01-24 18:12:23 +01:00
6e76be22d9 Rename mlpp's files to follow the engine's style. 2023-01-23 22:44:17 +01:00