The **run** method returns a solution object, consisting of p weights and w weights to use with the WOWA operator, plus the total distance between the expected aggregated values that are given as parameter, and the aggregated values computed by WOWA using these weights.
The method **run** can be used with ArrayList as the above example or with file name. One of these json file names contains the data and the second contains the expected results.
### Parameters description
-**population_size** : size of the population in the algorithm. Suggested value : 100
...
...
@@ -156,17 +157,23 @@ For each tested fold, the Area Under the Curve is also computed to evaluate the
As output, the method **runKFold** return a HashMap that contains the best solution for each fold and the AUC corresponding to this solution.
The method **runKFold** takes as argument the dataset (data and expected result) the number of folds used in the cross validation and a value that can increase the number of alert is this number is to low.
This method is interesting to increase the penalty to do not detect an alert.
As for a classical learning, the method **runKFold** can be used as the example above or with json files. In this case, the arguments are String that are the file names.
## References
-[The WOWA operator : a review (V. Torra)](https://gitlab.cylab.be/cylab/wowa-training/raw/c3c3785c767ab8258df0fc585aec1e8d463851cd/doc/Torra%20-%202011%20-%20The%20WOWA%20Operator%20A%20Review.1007_978-3.pdf)