import { RegressorBase } from '../../base'; import { Params } from '../../base/estimator'; import { XGBoostProps } from './xgboostBase'; export interface XGBoostRegressorProps extends XGBoostProps { } /** * XGBoost with the reg:squarederror objective. * The default base_score = 0.5 matches the xgboost library. */ export declare class XGBoostRegressor extends RegressorBase { private params; private trees; private baseMargin; private fitted; private nFeatures; constructor(props?: XGBoostRegressorProps); getParams(): Params; fit(trainX: number[][], trainY: number[]): void; predict(testX: number[][]): number[]; get featureImportances(): number[]; }