I'm looking for a simple example of how to use one of the classifiers, and found the spam classification perceptron. I followed the README but it fails to compile, because class HasRing isn't defined anywhere:
cd $soft/HLearn/examples/spam_classification
ghc --make perceptron.hs
[1 of 1] Compiling Main ( perceptron.hs, perceptron.o )
perceptron.hs:38:10:
Not in scope: type constructor or class ‘HasRing’
I assume because it's out of date - are there any updated examples?
The type class HasRing only had a single type constraint within it. I moved the constraint outside the class and deleted the class, but didn't update the example. It should be fixed now.
I'm looking for a simple example of how to use one of the classifiers, and found the spam classification perceptron. I followed the README but it fails to compile, because class
HasRing
isn't defined anywhere:I assume because it's out of date - are there any updated examples?