XGBoostPlain#
- class XGBoostPlain#
A class representing a plaintext XGBoost model
-
class XGBoostPlain : public helayers::PlainModel#
A class representing a plaintext XGBoost model.
Public Functions
-
XGBoostPlain()#
-
virtual std::shared_ptr<HeModel> getEmptyHeModel(const HeContext &he) const override#
Returns an empty (not initialized) HE model from the underlying type corresponding to this plain model.
- Parameters:
he – The HE context.
-
inline virtual std::string getClassName() const override#
Retunrs the name of this class.
-
virtual std::vector<std::vector<DimInt>> getInputShapesForPredict() const override#
Returns the expected shapes of the inputs for predict.
If batch dimension is applicable, the value of the batch dimension is set to zero.
-
virtual void debugPrint(const std::string &title = "", Verbosity verbosity = VERBOSITY_REGULAR, std::ostream &out = std::cout) const override#
Prints the content of this object.
- Parameters:
title – Text to add to the print
verbosity – Verbosity level
out – Output stream
-
XGBoostPlain()#