lynaghk / clj-liblinear

A Clojure wrapper for LIBLINEAR, a linear support vector machine library
http://keminglabs.com/clj-liblinear/
Eclipse Public License 1.0
28 stars 9 forks source link

a regression test #9

Closed daslu closed 10 years ago

daslu commented 10 years ago

Thank you for your quick replies to the recent issues!

Preparing for the changes, this pull request suggests some basic regression test.

To support the test, some auxiliary functions are added:

What do you think?

daslu commented 10 years ago

Sorry for working on this in my master branch, I will do the next tasks in separate branches.

I will add to this pull request some additional tests later today.

lynaghk commented 10 years ago

I don't think this is a sustainable way to test. Doing something with test.check would be much more robust to changes in numeric stacks later on.

However, the whole library would need to be overhauled before a decent testing story can be added. Closing this until that time.