Add smoothing parameter for compatibility with BayesNet
This commit is contained in:
@@ -70,7 +70,7 @@ namespace pywrap {
|
||||
fitted = true;
|
||||
return *this;
|
||||
}
|
||||
PyClassifier& PyClassifier::fit(torch::Tensor& X, torch::Tensor& y, const std::vector<std::string>& features, const std::string& className, std::map<std::string, std::vector<int>>& states)
|
||||
PyClassifier& PyClassifier::fit(torch::Tensor& X, torch::Tensor& y, const std::vector<std::string>& features, const std::string& className, std::map<std::string, std::vector<int>>& states, const bayesnet::Smoothing_t smoothing)
|
||||
{
|
||||
return fit(X, y);
|
||||
}
|
||||
|
Reference in New Issue
Block a user