Skip to content

Commit

Permalink
accord-netGH-765: NaiveBayes 'System.IndexOutOfRangeException' occurr…
Browse files Browse the repository at this point in the history
…ed in Accord.Statistics.dll when calling from sample application.
  • Loading branch information
cesarsouza committed Aug 11, 2017
1 parent 4f604d9 commit 0ea3629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Samples/MachineLearning/Naive Bayes/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ private void btnTestingRun_Click(object sender, EventArgs e)


// Get only the input vector values
double[][] inputs = table.Get(null, 0, 1).ToJagged();
double[][] inputs = table.Get(null, 0, 2).ToJagged();

// Get only the label outputs
int[] expected = new int[table.GetLength(0)];
Expand Down

0 comments on commit 0ea3629

Please sign in to comment.