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#
Returns the name of this class.
-
virtual std::vector<PlainTensorMetadata> getInputsPlainTensorMetadata() const override#
Returns a vector of PlainTensorMetadata objects.
The i-th element of this vector contains metadata relating to the i-th input of this PlainModel (such as shape and batch dimension). If this PlainModel is initialized for prediction, the returned vector describes inputs for the the predict() method. If this PlainModel is initialized for fitting, the returned vector describes the inputs for the fit() method.
-
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()#