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

hex.ensemble.XGBoostMetalearnerProvider Maven / Gradle / Ivy

There is a newer version: 3.46.0.6
Show newest version
package hex.ensemble;

import hex.genmodel.utils.DistributionFamily;
import hex.schemas.XGBoostV3;

public class XGBoostMetalearnerProvider implements MetalearnerProvider {

    static class XGBoostMetalearner extends Metalearners.MetalearnerWithDistribution {
        public XGBoostMetalearner() {
            super(Algorithm.xgboost.name());
        }
    }

    @Override
    public String getName() {
        return Metalearner.Algorithm.xgboost.name();
    }

    @Override
    public XGBoostMetalearner newInstance() {
        return new XGBoostMetalearner();
    }

    @Override
    public XGBoostV3.XGBoostParametersV3 newParametersSchemaInstance() {
        return new XGBoostV3.XGBoostParametersV3();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy