Python:实现ID3贪心算法
def majorityCnt(classList):
classCount ={
}
for vote in classList:
if vote not in classCount.keys(
def majorityCnt(classList):
classCount ={
}
for vote in classList:
if vote not in classCount.keys(