Refactor into library
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
#include "PyWrap.h"
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <boost/python/numpy.hpp>
|
||||
|
||||
@@ -117,7 +116,6 @@ namespace pywrap {
|
||||
void PyWrap::setHyperparameters(const clfId_t id, const json& hyperparameters)
|
||||
{
|
||||
// Set hyperparameters as attributes of the class
|
||||
std::cout << "Building dictionary of arguments" << std::endl;
|
||||
PyObject* pValue;
|
||||
PyObject* instance = getClass(id);
|
||||
for (const auto& [key, value] : hyperparameters.items()) {
|
||||
|
Reference in New Issue
Block a user