aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xevaluate.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/evaluate.py b/evaluate.py
index 371ba36..8874912 100755
--- a/evaluate.py
+++ b/evaluate.py
@@ -50,10 +50,6 @@ def make_histogram(data, model, args):
leaves = np.apply_along_axis(np.bincount, axis=0, arr=leaves, minlength=args.leaves)
histogram[i][j] = leaves.reshape(hist_size)
- print(histogram[0][0].shape)
- plt.bar(np.arange(100), histogram[0][0].flatten())
- plt.show()
-
return histogram
def run_model (data, train, test, train_part, args):
@@ -124,15 +120,6 @@ def main():
print("Accuracy: ",acc[i][j])
args.seed = 1
- plt.plot(a,acc[0])
- acc[1][2]+=0.01
- acc[1][4]+=0.01
- acc[1][7]+=0.01
- acc[1][8]+=0.01
- acc[1][9]+=0.01
- acc[1][10]+=0.01
- acc[1][12]+=0.01
- acc[1][14]+=0.01
plt.plot(a,acc[1])
plt.legend(('Axis aligned','Two Pixels Test'), loc='best')
plt.ylabel('Normalized Classification Accuracy')