Skip to content

Commit

Permalink
Added breast_cancer dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
makgyver committed Mar 7, 2019
1 parent a47703d commit 9e69741
Show file tree
Hide file tree
Showing 2 changed files with 684 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PRL/prl.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import math
import numpy as np

from .genK import *
from .genF import *
from .genP import *

Expand Down Expand Up @@ -205,7 +206,7 @@ def predict(self, gen_pref_test):
for i in range(gen_pref_test.n):
x = X[i,:]
sco = [0.0 for c in range(self.dim)]
for j, (p, k) in enumerate(self.col_list):
for j, (p, f) in enumerate(self.col_list):
if self.Q[j] > 0.0:
for c in range(self.dim):
if p[0][1] == c:
Expand Down
Loading

0 comments on commit 9e69741

Please sign in to comment.