Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 663df5e

Browse files
committed
remove unnecessary code from Merec
1 parent fb8ea0a commit 663df5e

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

src/merec.jl

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,9 @@ function merec(
8181
fs::Array{F,1};
8282
normalization::G = Normalizations.inversedividebycolumnmaxminnormalization
8383
)::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-
# end
96-
#end
84+
85+
row, col = size(decisionMat)
86+
9787
NormalizeMatrix = normalization(decisionMat, fs)
9888

9989

0 commit comments

Comments
 (0)