Skip to content

Commit

Permalink
- updated for recent change in EJML
Browse files Browse the repository at this point in the history
- updated version of auto64fto32f
  • Loading branch information
lessthanoptimal committed Jan 8, 2017
1 parent 75c355f commit 3d0668c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .idea/copyright/deepboof.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/main/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
testCompile group: 'com.peterabeles', name: 'auto64fto32f', version: '1.0.1'
testCompile group: 'com.peterabeles', name: 'auto64fto32f', version: '1.1'
}

idea {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, Peter Abeles. All Rights Reserved.
* Copyright (c) 2016-2017, Peter Abeles. All Rights Reserved.
*
* This file is part of DeepBoof
*
Expand All @@ -18,7 +18,7 @@

package deepboof.visualization;

import org.ejml.data.DenseMatrix64F;
import org.ejml.data.RowMatrix_F64;

import java.util.List;

Expand All @@ -33,7 +33,7 @@ public class ConfusionFraction {
* N by N matrix of counts. Each element represents the fraction of times category 'row' was labeled
* 'col'. Thus, the diagonals are the fraction of the time that each category has been correctly labeled.
*/
public DenseMatrix64F M;
public RowMatrix_F64 M;

// precompute the sums along rows and columns
public double sumCols[];
Expand All @@ -54,7 +54,7 @@ public ConfusionFraction(List<String> labels) {

public ConfusionFraction(int N) {
this.N = N;
M = new DenseMatrix64F(N,N);
M = new RowMatrix_F64(N,N);
sumCols = new double[N];
}

Expand Down

0 comments on commit 3d0668c

Please sign in to comment.