... | ... | @@ -3,7 +3,9 @@ |
|
|
An implementation of the AdaBoost MH (Adaptive Boosting) algorithm for classification.
|
|
|
|
|
|
```prolog
|
|
|
%% kleines Nutzung Beispiel
|
|
|
:- use_module('path/to/.../src/methods/adaboost/adaboost_test.pl').
|
|
|
|
|
|
%% usage example
|
|
|
adaboost_initModelWithTraining([5.1,3.5,1.4, 4.9,3.0,1.4, 4.7,3.2,1.3, 4.6,3.1,1.5], 3, [0,0,1,0], 2, perceptron, 50, 0.0001),
|
|
|
adaboost_classify([3,2,0, 5,1,4, 0,0,4, 3,3,5, 0,5,5, 2,5,5], 3, PredictionList, ProbabilitiesList, _).
|
|
|
```
|
... | ... | |