tangledpath / ruby-fann

Ruby library for interfacing with FANN (Fast Artificial Neural Network)
https://github.com/tangledpath/ruby-fann
MIT License
496 stars 42 forks source link

One class classification using Ruby Fann? #19

Closed pbssubhash closed 7 months ago

pbssubhash commented 7 years ago

Hey, Just wondering if it's possible to use this gem for outlier classification or the one class classification wherein I only have data for positive or negative and I want to classify the coming data if it belongs to the group or not.

If not, any such in Ruby?

Any help is appreciated.

git-steven commented 7 months ago

Yes, just use 1.0 for true and 0.0 for false (or -1.0 for symmetric activation functions)