Commit 3f4e1a11 authored by Jakob Wirbel's avatar Jakob Wirbel

Set NA weights to Zero (for feature selection stuff).

parent 44790f29
......@@ -794,6 +794,7 @@ setMethod("weight_matrix", "siamcat", function(siamcat, verbose=1) {
m.idx <- match(temp[[i]]$features, make.names(rownames(weight.mat)))
weight.mat[m.idx, i] <- temp[[i]]$feat.weights
weight.mat[] <- 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment