Search in sources :

Example 1 with ScoreMatrix

use of edu.neu.ccs.pyramid.dataset.ScoreMatrix in project pyramid by cheng-li.

the class GBOptimizer method initialize.

/**
     * model specific initialization
     * should be called after constructor
     */
public void initialize() {
    if (boosting.getEnsemble(0).getRegressors().size() == 0) {
        addPriors();
    }
    this.scoreMatrix = new ScoreMatrix(dataSet.getNumDataPoints(), boosting.getNumEnsembles());
    this.initStagedScores();
    initializeOthers();
    updateOthers();
    this.isInitialized = true;
}
Also used : ScoreMatrix(edu.neu.ccs.pyramid.dataset.ScoreMatrix)

Aggregations

ScoreMatrix (edu.neu.ccs.pyramid.dataset.ScoreMatrix)1