Skip to content
Snippets Groups Projects
Select Git revision
  • 586b6b0b13691eaa54e0230e06fd17ef2741cfa9
  • master default protected
  • loss
  • producer
4 results

Classifier.cpp

Blame
  • Classifier.cpp 397 B
    #include "Classifier.hpp"
    
    Classifier::Classifier(const std::string & name, const std::string & topology, const std::string & tsFile)
    {
      this->name = name;
      this->transitionSet.reset(new TransitionSet(tsFile));
      this->nn = TestNetwork(transitionSet->size(), 5);
    }
    
    TransitionSet & Classifier::getTransitionSet()
    {
      return *transitionSet;
    }
    
    TestNetwork & Classifier::getNN()
    {
      return nn;
    }