Commits

Anonymous committed 652eadf

cosme

Comments (0)

Files changed (1)

 (* w x -> 1 | -1 *)
 let predict w x =
   let y = Vector.prod w x in
-  if y > 0.0 then 1
-  else -1;;
+  if y > 0.0 then 1 else -1;;
 
 (* vector -> float -> flost *)
 let pa x l =