Commit Graph
26661 Commits
Author SHA1 Message Date
Rishabh Garg 91c609af89 Made MSEGain::Evaluate static function 2021-07-27 08:42:50 +05:30
Rishabh Garg 1db1c7e64d Add documentation for fitnessFunnction Parameter 2021-07-24 17:43:20 +05:30
Rishabh Garg a4081bf0c8 Improved documentation. 2021-07-22 10:56:28 +05:30
Rishabh Garg 7a771b4e5a Made MADGain::Evaluate static 2021-07-20 21:07:22 +05:30
Rishabh Garg 4004828556 Merge branch 'refactor-tree' of ssh://github.com/RishabhGarg108/mlpack-1 into refactor-tree 2021-07-19 21:27:28 +05:30
Rishabh Garg 89c3d85f6e Change name of fitness function instance in tests 2021-07-19 21:26:53 +05:30
Rishabh GargandRyan Curtin bd0d6c8c58 Apply suggestions from code review
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2021-07-19 21:16:05 +05:30
Rishabh GargandRyan Curtin 7cfe63adf2 Pass reference to FitnessFunctions
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2021-07-19 21:12:47 +05:30
Rishabh Garg 071f223346 Merge branch 'master' of https://github.com/mlpack/mlpack into refactor-tree 2021-07-19 14:14:21 +05:30
jeffin sam 1fa385493a Merge pull request #3011 from RishabhGarg108/decision-tree
Add Decision Tree Regressor.
2021-07-19 10:30:20 +05:30
Ryan Curtin 28b065271c Merge pull request #3018 from mlpack/cli11-header-updates-2.0.0
Upgrade CLI11 to 2.0.0
2021-07-18 12:46:01 -04:00
Yashwants19 1e16d1194c Upgrade CLI11 to 2.0.0 2021-07-17 10:00:38 +00:00
Rishabh Garg 708eb5cfad Change responses.subvec() to responses.cols(). 2021-07-15 23:55:18 +05:30
Rishabh Garg f43a51b58d DecisionTreeRegressor::CalculatePrediction() => FitnessFunction::OutputLeafValue() 2021-07-14 20:06:22 +05:30
Rishabh Garg 52f4886efc Add FitnessFunction as parameter to public Train functions 2021-07-14 19:12:04 +05:30
Rishabh Garg ab5f440acc Add FitnessFunction as parameter to SplitIfBetter 2021-07-14 19:00:07 +05:30
Rishabh Garg 78845cadf5 Add FitnessFunction as parameter to private Train functions 2021-07-14 18:47:46 +05:30
Rishabh Garg 0858305c77 Made FitnessFunction::Evaluate a non-static member function. 2021-07-13 14:23:22 +05:30
Rishabh Garg 9a7290a47d Attempt to fix tuple error 2021-07-13 13:50:08 +05:30
Rishabh Garg 18e609efc0 Removed debugging print statement 2021-07-13 13:44:08 +05:30
Rishabh Garg ff5892cc7e Update comment 2021-07-13 13:44:08 +05:30
Rishabh Garg 0f4bd653cf Fix the SFINAE bug with @rcurtin's patch 2021-07-13 13:44:08 +05:30
Rishabh Garg 64c84846f0 Removing template function checks is failing too 2021-07-13 13:44:08 +05:30
Rishabh GargandRyan Curtin edb9879f2a Update HISTORY.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2021-07-13 13:44:08 +05:30
Rishabh Garg 1676677850 Change auto to std::tuple<double, double> 2021-07-13 13:43:37 +05:30
Rishabh Garg f6c8e1b3eb Add static keyword to function... Doesn't compile yet. 2021-07-13 13:43:17 +05:30
Rishabh Garg d0ecbf5f85 Add BinaryGains() to SFINAE check 2021-07-13 13:42:38 +05:30
Rishabh Garg ed21bb6a89 Update documentation. 2021-07-12 10:36:33 +05:30
Rishabh Garg af3e985d78 Fix style issues from code review 2021-07-12 10:36:33 +05:30
Rishabh Garg f9f43d4957 Add a log to HISTORY.md 2021-07-12 10:36:33 +05:30
Rishabh Garg d204474e8d Fix style warning 2021-07-12 10:36:33 +05:30
Rishabh Garg 8174764fe1 Finally after so many errors... Add SFINAE to resolve optimized and unoptimized overloads of SplitIfBetter 2021-07-12 10:36:33 +05:30
Rishabh Garg 451fa167ea Change names of functions 2021-07-12 10:36:33 +05:30
Rishabh Garg 16f5fc1a22 Return tuple from Evaluate method. 2021-07-12 10:36:33 +05:30
Rishabh Garg d25657755b Removed sumSquared vector to use O(1) space 2021-07-12 10:36:33 +05:30
Rishabh Garg 7aa4dc403c Update tolerance for failing test 2021-07-12 10:36:33 +05:30
Rishabh Garg 15c6f86de0 Create interface for MSEGain optimized version 2021-07-12 10:36:33 +05:30
Rishabh Garg 3051459e46 Replaced the use of double with templates to enable floats in responses 2021-07-12 10:36:33 +05:30
Rishabh Garg 1a171bcfef Fix style check warnings 2021-07-12 10:36:33 +05:30
Rishabh Garg f0f78cc65a Increased tolerance in tests having boston housing dataset. 2021-07-12 10:36:33 +05:30
Rishabh Garg fccba9fb52 Reogranised tests for readability and updated tolerances for some tests 2021-07-12 10:36:33 +05:30
Rishabh Garg d0bb744684 Added remaining tests 2021-07-12 10:36:33 +05:30
Rishabh Garg 561c14062d Removed numClasses from regression tree codebase 2021-07-12 10:36:33 +05:30
Rishabh Garg 9539af8cae Removed the debugging code and reverted back to the previous version. 2021-07-12 10:36:33 +05:30
Rishabh Garg 8d1c188883 Fixed loading the boston housing data (finally) :) 2021-07-12 10:36:33 +05:30
Rishabh Garg 60c2239210 Fixed tests from the crazy merge that unexpectedly happened 2021-07-12 10:36:33 +05:30
Rishabh Garg ffb68e0f7c Debugging code 2021-07-12 10:36:33 +05:30
Rishabh Garg 442cb4284d Removed headers from csv and fixed loading of boston dataset 2021-07-12 10:36:33 +05:30
Rishabh Garg db1fcdc26b Amend RandomBinaryNumericSplit signature to support regression 2021-07-12 10:36:33 +05:30
Rishabh Garg 17ae3872fd Optimised MSEGain computation using prefix sum of squares🚀 2021-07-12 10:32:56 +05:30