Skip to content

Commit

Permalink
Add ClassificationBinomialGradientBoostLearner
Browse files Browse the repository at this point in the history
  • Loading branch information
mdabros committed Feb 17, 2025
1 parent 2c34a9c commit f9e7085
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using SharpLearning.AdaBoost.Learners;
using SharpLearning.Containers.Matrices;
using SharpLearning.DecisionTrees.Learners;
using SharpLearning.GradientBoost.Learners;
using SharpLearning.RandomForest.Learners;

namespace SharpLearning.Benchmarks;
Expand All @@ -23,6 +24,7 @@ public class ClassificationLearners
readonly ClassificationAdaBoostLearner m_classificationAdaBoostLearner = new();
readonly ClassificationRandomForestLearner m_classificationRandomForestLearner = new();
readonly ClassificationExtremelyRandomizedTreesLearner m_classificationExtremelyRandomizedTreesLearner = new();
readonly ClassificationBinomialGradientBoostLearner m_classificationBinomialGradientBoostLearner = new();

[GlobalSetup]
public void GlobalSetup()
Expand Down Expand Up @@ -57,5 +59,11 @@ public void ClassificationExtremelyRandomizedTreesLearner_Learn()
{
m_classificationExtremelyRandomizedTreesLearner.Learn(m_features, m_targets);
}

[Benchmark]
public void ClassificationBinomialGradientBoostLearner_Learn()
{
m_classificationBinomialGradientBoostLearner.Learn(m_features, m_targets);
}
}
}
27 changes: 0 additions & 27 deletions src/SharpLearning.Benchmarks/Benchmarks.Regression.cs

This file was deleted.

38 changes: 0 additions & 38 deletions src/SharpLearning.Benchmarks/RegressionLearnerBenchmark.cs

This file was deleted.

0 comments on commit f9e7085

Please sign in to comment.