Opened 15 years ago

Closed 14 years ago

#57 closed request (fixed)

implement Naive Baysian Classifier

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.3 (Public release)
Component: classifier Version:
Keywords: Cc:

Description


Change History (10)

comment:1 Changed 14 years ago by Jari Häkkinen

Milestone: later0.2

comment:2 Changed 14 years ago by Peter

(In [662]) refs #57 added class for Naive Baysian Classification. Predict function not yet implemented though.

comment:3 Changed 14 years ago by Jari Häkkinen

Milestone: 0.2later

comment:4 Changed 14 years ago by Markus Ringnér

Milestone: later0.3 (Public release)

Since it exists in not complete form we have to decide what to do with it before the public release (see NBC.h and NBC.cc files)

comment:5 Changed 14 years ago by Peter

Ok, if there is time I will look into this before 0.3 rel. else I think we move it to a branch.

comment:6 Changed 14 years ago by Peter

(In [768]) addresses #57

comment:7 Changed 14 years ago by Peter

Status: newassigned

comment:8 Changed 14 years ago by Peter

(In [812]) implemented NBC predict. Have to check what happens in the weighted case though, Refs #57

comment:9 Changed 14 years ago by Peter

The core of the prediction is the calculation of -log(P) = sum[sigma_i] + sum[(x_i-m_i)2/(2*sigma_i2)]

The latter term looks very much like the NCC predict. In fact when the sigmas are the same for all features NCC and NBC should be identical. Therefore in teh weighted case check out NCC implementation.

comment:10 Changed 14 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [813]) Predict in NBC. Fixes #57

Note: See TracTickets for help on using tickets.