Add tests for Classifier class

This commit is contained in:
2024-04-08 01:25:14 +02:00
parent 9014649a0d
commit 50543e7929
6 changed files with 73 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ namespace bayesnet {
std::vector<std::string> show() const override;
std::vector<std::string> topological_order() override;
std::vector<std::string> getNotes() const override { return notes; }
void dump_cpt() const override;
std::string dump_cpt() const override;
void setHyperparameters(const nlohmann::json& hyperparameters) override; //For classifiers that don't have hyperparameters
protected:
bool fitted;