Skip to content

Commit

Permalink
kmeans fix code error
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaromcib committed Dec 1, 2023
1 parent 6a9afa3 commit 201a5d7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions opennn/kmeans.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@

#include "../../opennn/opennn/opennn.h"

using namespace OpenNN;
using namespace opennn;

namespace OpenNN
namespace opennn
{


Expand Down
6 changes: 1 addition & 5 deletions opennn/kmeans.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,12 @@

// System includes

//#include <iostream>
//#include <fstream>
//#include <sstream>
//#include <string>
//#include <cstring>
//#include <time.h>
//#include <omp.h>
//#include <Eigen/Dense>
//#include "unsupported/Eigen/CXX11/Tensor"
//#include "config.h"

// OpenNN includes

Expand All @@ -50,7 +46,7 @@ using opennn::type;
using Eigen::Index;
using namespace std;

namespace OpenNN
namespace opennn
{

class KMeans
Expand Down
1 change: 0 additions & 1 deletion opennn/tensor_utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#define GET_VARIABLE_NAME(Variable) (#Variable)


namespace opennn
{

Expand Down
2 changes: 1 addition & 1 deletion opennn/tensor_utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
#include <vector>
#include <numeric>
#include <stdio.h>
#include <statistics.h>

// OpenNN includes

#include "config.h"
#include "opennn_strings.h"
#include "statistics.h"

#include "../eigen/unsupported/Eigen/KroneckerProduct"

Expand Down

0 comments on commit 201a5d7

Please sign in to comment.