This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: UTF-8 | |
import sys | |
import os | |
import cv2 | |
param = sys.argv | |
if (len(param) < 2): | |
print 'require an argument of file path.' | |
quit() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- train.c 2012-10-29 01:46:32.000000000 +0900 | |
+++ train-new.c 2013-02-12 19:53:21.000000000 +0900 | |
@@ -135,10 +135,14 @@ | |
void do_cross_validation() | |
{ | |
int i; | |
- int total_correct = 0; | |
double total_error = 0; | |
double sumv = 0, sumy = 0, sumvv = 0, sumyy = 0, sumvy = 0; | |
double *target = Malloc(double, prob.l); |