presto-ml/src/main/java/io/prestosql/plugin/ml/LearnStateFactory.java/LearnStateFactory/createSingleState
class LearnStateFactory:    @Override
    public LearnState createSingleState()
    {
        return new SingleLearnState();
    }