Skip to content

HDDM: binary or real input #937

Answered by smastelini
sam-data-guy asked this question in Q&A
Discussion options

You must be logged in to vote

When I first checked this discussion, I assumed the documentation was wrong, but after refactoring the drift module and studying more about the detectors, I changed my mind.

Let me throw my two cents in: although the original paper states the input can be real-valued, all the math derivations and formulae assume a scenario using a 0-1 loss. In other words, a stream of bits that could be the result of checking whether or not a classifier correctly classifies an instance (0) or not (1).

The same goes for the MOA version (and, consequently, scikit-multiflow). The code expects data sampled from a Bernoulli distribution. Thus, the documentation is not wrong, and it took me ages to understand.

T…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@smastelini
Comment options

Comment options

You must be logged in to vote
1 reply
@MaxHalford
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by smastelini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants