Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb8ea0a commit 663df5eCopy full SHA for 663df5e
1 file changed
src/merec.jl
@@ -81,19 +81,9 @@ function merec(
81
fs::Array{F,1};
82
normalization::G = Normalizations.inversedividebycolumnmaxminnormalization
83
)::MERECResult where {F<:Function, G<:Function}
84
- mat = Matrix(decisionMat)
85
- row, col = size(mat)
86
-
87
- #NormalizeMatrix = zeros((row, col))
88
- #@inbounds for i = 1:row
89
- # for j = 1:col
90
- # if fs[j] == maximum
91
- # NormalizeMatrix[i, j] = minimum(mat[:, j]) / mat[i, j]
92
- # elseif fs[j] == minimum
93
- # NormalizeMatrix[i, j] = mat[i, j] / maximum(mat[:, j])
94
- # end
95
96
- #end
+
+ row, col = size(decisionMat)
97
NormalizeMatrix = normalization(decisionMat, fs)
98
99
0 commit comments