Skip to content

calcShannonEntcalcShan()函数错误 #1

@zhanzecheng

Description

@zhanzecheng

self-learning-c45algorithm-final.ipynb文件中
应该改为:
if currentLabel not in labelCounts.keys():
labelCounts[currentLabel] = 1

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