mirror of
https://github.com/rmontanana/mdlp.git
synced 2025-08-15 07:25:56 +00:00
Update config variable names
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#define PROJECT_VERSION_MINOR @PROJECT_VERSION_MINOR @
|
||||
#define PROJECT_VERSION_PATCH @PROJECT_VERSION_PATCH @
|
||||
|
||||
static constexpr std::string_view project_name = "@PROJECT_NAME@";
|
||||
static constexpr std::string_view project_version = "@PROJECT_VERSION@";
|
||||
static constexpr std::string_view project_description = "@PROJECT_DESCRIPTION@";
|
||||
static constexpr std::string_view git_sha = "@GIT_SHA@";
|
||||
static constexpr std::string_view project_mdlp_name = "@PROJECT_NAME@";
|
||||
static constexpr std::string_view project_mdlp_version = "@PROJECT_VERSION@";
|
||||
static constexpr std::string_view project_mdlp_description = "@PROJECT_DESCRIPTION@";
|
||||
static constexpr std::string_view git_mdlp_sha = "@GIT_SHA@";
|
@@ -30,7 +30,7 @@ namespace mdlp {
|
||||
void fit_t(const torch::Tensor& X_, const torch::Tensor& y_);
|
||||
torch::Tensor transform_t(const torch::Tensor& X_);
|
||||
torch::Tensor fit_transform_t(const torch::Tensor& X_, const torch::Tensor& y_);
|
||||
static inline std::string version() { return { project_version.begin(), project_version.end() };; };
|
||||
static inline std::string version() { return { project_mdlp_version.begin(), project_mdlp_version.end() };; };
|
||||
protected:
|
||||
labels_t discretizedData = labels_t();
|
||||
cutPoints_t cutPoints; // At least two cutpoints must be provided, the first and the last will be ignored in transform
|
||||
|
Reference in New Issue
Block a user