refs #19527
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
cols = (cols + 1) / 2
stride = stride * 2
}
+ if cols%2 == 1 {
+ // we work with pairs of columns
+ cols++
+ }
log.Printf("creating full matrix (%d rows) and training matrix (%d rows) with %d cols, stride %d", len(cmd.cgnames), cmd.trainingSetSize, cols, stride)
mtxFull := mat.NewDense(len(cmd.cgnames), cols, nil)
mtxTrain := mat.NewDense(cmd.trainingSetSize, cols, nil)