Codefactor review

This commit is contained in:
emeric
2022-05-25 21:04:35 +02:00
parent d13cb3e0ad
commit ee42e51b00
27 changed files with 2 additions and 34 deletions
@@ -30,7 +30,6 @@ namespace SOM
class DataNormalizer
{
public:
struct MinMax
{
InputVector::value_type min;
-1
View File
@@ -163,7 +163,6 @@ class InputVector
}
private:
friend class InputVector operator-(const InputVector& a, const InputVector& b)
{
if (!a.hasSameDimension(b.getNbDimensions()))
-2
View File
@@ -53,7 +53,6 @@ template <typename T>
class Matrix
{
public:
Matrix() = default;
Matrix(Coordinate width, Coordinate height)
@@ -109,7 +108,6 @@ class Matrix
}
private:
Coordinate _width {};
Coordinate _height {};
std::vector<T> _values;
-1
View File
@@ -40,7 +40,6 @@ std::ostream& operator<<(std::ostream& os, const InputVector& a);
class Network
{
public:
// Init a network with random values
Network(Coordinate width, Coordinate height, std::size_t inputDimCount);