protected function terminate(Labeled $dataset) : BinaryNode
    {
        [$mean, $variance] = Stats::meanVar($dataset->labels());

        return new Average($mean, $variance, $dataset->numRows());
    }
protected function terminate(Labeled $dataset) : BinaryNode
    {
        [$mean, $variance] = Stats::meanVar($dataset->labels());

        return new Average($mean, $variance, $dataset->numRows());
    }
protected function terminate ( Labeled $ dataset ) : BinaryNode { [ $ mean , $ variance ] = Stats :: meanVar ( $ dataset -> labels ( ) ) ; return new Average ( $ mean , $ variance , $ dataset -> numRows ( ) ) ; }
Terminate the branch with the most likely outcome.

@param \Rubix\ML\Datasets\Labeled $dataset
@return \Rubix\ML\Graph\Nodes\BinaryNode
Terminate the branch with the most likely outcome .