朴素贝叶斯java代码
汽车有6个属性,每个属性都有几种类别,根据这6个属性来判断汽车的性价比Classvalue如何, ClassValues有以下几种情况unacc,acc, good,vgood buying( vhigh,high,med,low) maint(vhigh,high,med,low) doors( 2,3,4,5more) persons(2,4,more) lug_boot( small ,med,big) safety( low,med,high) ClassValues( unacc,acc, good,vgood)