All Downloads are FREE. Search and download functionalities are using the official Maven repository.

biz.k11i.xgboost.tree.DefaultRegTreeFactory Maven / Gradle / Ivy

There is a newer version: 0.3.20
Show newest version
package biz.k11i.xgboost.tree;

import biz.k11i.xgboost.util.ModelReader;

import java.io.IOException;

public final class DefaultRegTreeFactory implements RegTreeFactory {

  public static RegTreeFactory INSTANCE = new DefaultRegTreeFactory();

  @Override
  public final RegTree loadTree(ModelReader reader) throws IOException {
    RegTreeImpl regTree = new RegTreeImpl();
    regTree.loadModel(reader);
    return regTree;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy