GithubHelp home page GithubHelp logo

Naive Bayes classifier about hlearn HOT 2 OPEN

mikeizbicki avatar mikeizbicki commented on June 20, 2024
Naive Bayes classifier

from hlearn.

Comments (2)

mikeizbicki avatar mikeizbicki commented on June 20, 2024

Anything explicitly using probability distributions has still been removed because I still haven't had time to flesh out what I think the proper interface should be, and I don't want to spend time maintaining a less-than-perfect interface.

Is there a particular reason you want naive bayes? Usually, logisitic regression will outperform it, and that is currently implemented (although admittedly not super well documented).

Actually, if you're serious about wanting good machine learning results, you'll be better off with a non-Haskell library for now. I should have brought this up earlier, but I generally strongly warn people against using HLearn in its current state. The interface to most learning algorithms is pretty different from the interfaces provided by other libraries; it's still not super well documented; and I can't promise being able to spend much time helping you through the quirks. I'd really only recommend it at this point if you're interested in exploring alternative design spaces of what machine learning systems could look like.

from hlearn.

UnkindPartition avatar UnkindPartition commented on June 20, 2024

At the moment I'm dealing with multi-class classification. I vaguely know that I can use logistic regression for predicting each class separately, but I don't know how well it works in practice (in terms of performance and accuracy). I am very new to machine learning.

I did a prototype in R, but on the real data (~10M observations), R runs out of memory. Streaming is a strength of Haskell (and HLearn), and the algorithm itself is straightforward, so I thought this would be a good fit.

Thanks for the warning though. I guess I may naively try to code a naive Bayes classifier myself and see where this leads me.

from hlearn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.