Skip to content

Instantly share code, notes, and snippets.

@pankajmore
Created October 2, 2013 06:58
Show Gist options
  • Save pankajmore/6789961 to your computer and use it in GitHub Desktop.
Save pankajmore/6789961 to your computer and use it in GitHub Desktop.
(defn misclassify [w' dataset]
(matrix (filter #(>
(sel (mult
(last %)
(mmult w' ((comp trans matrix) %))) 0 0) 0) (to-list dataset))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment