Skip to content

Question about code 268-278, p and t probability calculated by different NB and logic for normalizing them #7

@TobyCello

Description

@TobyCello

@remykarem Hi Remy
Thank you for the fantastic work! I notice you calculated the probability for response to be in certain class p, t based on different NB, and tried to combine p, t to a final probability in code 268-278. Yet the usage of pt confused me a little, do they need to be weighted here? Extreme case would be, we have one categorical variable and rest 100+ continuous, pt will off-set the impact of continuous variable. Also could you provide more detailed guild in setting the self.priors?
Thank you very much for the sharing.
B.R.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions