KR-VS-KP Data Set (UCI)

Number of features = 36

​Total number of instances = 3196

Number of classes: 2


probability of class 0 in the whole set: 0.522215

probability of class 1 in the whole set: 0.477785

feature 0, with number of values = 2

feature 1, with number of values = 2

feature 2, with number of values = 2

feature 3, with number of values = 2

feature 4, with number of values = 2

feature 5, with number of values = 2

feature 6, with number of values = 2

feature 7, with number of values = 2

feature 8, with number of values = 2

feature 9, with number of values = 2

feature 10, with number of values = 2

feature 11, with number of values = 2

feature 12, with number of values = 2

feature 13, with number of values = 2

feature 14, with number of values = 3

feature 15, with number of values = 2

feature 16, with number of values = 2

feature 17, with number of values = 2

feature 18, with number of values = 2

feature 19, with number of values = 2

feature 20, with number of values = 2

feature 21, with number of values = 2

feature 22, with number of values = 2

feature 23, with number of values = 2

feature 24, with number of values = 2

feature 25, with number of values = 2

feature 26, with number of values = 2

feature 27, with number of values = 2

feature 28, with number of values = 2

feature 29, with number of values = 2

feature 30, with number of values = 2

feature 31, with number of values = 2

feature 32, with number of values = 2

feature 33, with number of values = 2

feature 34, with number of values = 2

feature 35, with number of values = 2


Naive Bayes trained on the whole data set:

0/1 loss if no feature was used (error of random):0.477785


feature: 0, with gini loss: 0.499012, with 0/1 loss: 0.477785 (when used alone for prediction)

class: 0

value: 0, prob: 0.887493

value: 1, prob: 0.112507

class: 1

value: 0, prob: 0.888162

value: 1, prob: 0.111838


feature: 1, with gini loss: 0.499007, with 0/1 loss: 0.477785 (when used alone for prediction)

class: 0

value: 0, prob: 0.928187

value: 1, prob: 0.0718133

class: 1

value: 0, prob: 0.93002

value: 1, prob: 0.0699804


feature: 2, with gini loss: 0.494924, with 0/1 loss: 0.462162 (when used alone for prediction)

class: 0

value: 0, prob: 0.978456

value: 1, prob: 0.021544

class: 1

value: 0, prob: 0.943754

value: 1, prob: 0.0562459


feature: 3, with gini loss: 0.498931, with 0/1 loss: 0.477785 (when used alone for prediction)

class: 0

value: 0, prob: 0.902454

value: 1, prob: 0.0975464

class: 1

value: 0, prob: 0.894702

value: 1, prob: 0.105298


feature: 4, with gini loss: 0.498263, with 0/1 loss: 0.474366 (when used alone for prediction)

class: 0

value: 0, prob: 0.683423

value: 1, prob: 0.316577

class: 1

value: 0, prob: 0.646828

value: 1, prob: 0.353172


feature: 5, with gini loss: 0.489285, with 0/1 loss: 0.43219 (when used alone for prediction)

class: 0

value: 0, prob: 0.472172

value: 1, prob: 0.527828

class: 1

value: 0, prob: 0.611511

value: 1, prob: 0.388489


feature: 6, with gini loss: 0.485653, with 0/1 loss: 0.415305 (when used alone for prediction)

class: 0

value: 0, prob: 0.709156

value: 1, prob: 0.290844

class: 1

value: 0, prob: 0.551341

value: 1, prob: 0.448659


feature: 7, with gini loss: 0.472034, with 0/1 loss: 0.391547 (when used alone for prediction)

class: 0

value: 0, prob: 0.873728

value: 1, prob: 0.126272

class: 1

value: 0, prob: 0.681491

value: 1, prob: 0.318509


feature: 8, with gini loss: 0.495401, with 0/1 loss: 0.453431 (when used alone for prediction)

class: 0

value: 0, prob: 0.658887

value: 1, prob: 0.341113

class: 1

value: 0, prob: 0.576194

value: 1, prob: 0.423806


feature: 9, with gini loss: 0.42712, with 0/1 loss: 0.316865 (when used alone for prediction)

class: 0

value: 0, prob: 0.862956

value: 1, prob: 0.137044

class: 1

value: 0, prob: 0.513407

value: 1, prob: 0.486593


feature: 10, with gini loss: 0.496703, with 0/1 loss: 0.469379 (when used alone for prediction)

class: 0

value: 0, prob: 0.536206

value: 1, prob: 0.463794

class: 1

value: 0, prob: 0.603663

value: 1, prob: 0.396337


feature: 11, with gini loss: 0.498897, with 0/1 loss: 0.477785 (when used alone for prediction)

class: 0

value: 0, prob: 0.889886

value: 1, prob: 0.110114

class: 1

value: 0, prob: 0.899281

value: 1, prob: 0.100719


feature: 12, with gini loss: 0.494079, with 0/1 loss: 0.445615 (when used alone for prediction)

class: 0

value: 0, prob: 0.733692

value: 1, prob: 0.266308

class: 1

value: 0, prob: 0.641596

value: 1, prob: 0.358404


feature: 13, with gini loss: 0.496719, with 0/1 loss: 0.473098 (when used alone for prediction)

class: 0

value: 0, prob: 0.999402

value: 1, prob: 0.000598444

class: 1

value: 0, prob: 0.989536

value: 1, prob: 0.0104644


feature: 14, with gini loss: 0.475094, with 0/1 loss: 0.444128 (when used alone for prediction)

class: 0

value: 0, prob: 0.743421

value: 1, prob: 0.208732

value: 2, prob: 0.0478469

class: 1

value: 0, prob: 0.839869

value: 1, prob: 0.0647059

value: 2, prob: 0.0954248


feature: 15, with gini loss: 0.48665, with 0/1 loss: 0.445913 (when used alone for prediction)

class: 0

value: 0, prob: 0.983244

value: 1, prob: 0.0167564

class: 1

value: 0, prob: 0.914977

value: 1, prob: 0.0850229


feature: 16, with gini loss: 0.498942, with 0/1 loss: 0.477785 (when used alone for prediction)

class: 0

value: 0, prob: 0.967086

value: 1, prob: 0.0329144

class: 1

value: 0, prob: 0.971223

value: 1, prob: 0.028777


feature: 17, with gini loss: 0.485548, with 0/1 loss: 0.432198 (when used alone for prediction)

class: 0

value: 0, prob: 0.614004

value: 1, prob: 0.385996

class: 1

value: 0, prob: 0.766514

value: 1, prob: 0.233486


feature: 18, with gini loss: 0.498581, with 0/1 loss: 0.477785 (when used alone for prediction)

class: 0

value: 0, prob: 0.98863

value: 1, prob: 0.0113704

class: 1

value: 0, prob: 0.994114

value: 1, prob: 0.0058862


feature: 19, with gini loss: 0.498985, with 0/1 loss: 0.477785 (when used alone for prediction)

class: 0

value: 0, prob: 0.8462

value: 1, prob: 0.1538

class: 1

value: 0, prob: 0.851537

value: 1, prob: 0.148463


feature: 20, with gini loss: 0.397386, with 0/1 loss: 0.339706 (when used alone for prediction)

class: 0

value: 0, prob: 0.64991

value: 1, prob: 0.35009

class: 1

value: 0, prob: 0.999346

value: 1, prob: 0.000654022


feature: 21, with gini loss: 0.493906, with 0/1 loss: 0.472829 (when used alone for prediction)

class: 0

value: 0, prob: 0.760622

value: 1, prob: 0.239378

class: 1

value: 0, prob: 0.841727

value: 1, prob: 0.158273


feature: 22, with gini loss: 0.495201, with 0/1 loss: 0.459975 (when used alone for prediction)

class: 0

value: 0, prob: 0.9617

value: 1, prob: 0.0383004

class: 1

value: 0, prob: 0.920863

value: 1, prob: 0.0791367


feature: 23, with gini loss: 0.497978, with 0/1 loss: 0.477785 (when used alone for prediction)

class: 0

value: 0, prob: 0.596649

value: 1, prob: 0.403351

class: 1

value: 0, prob: 0.640942

value: 1, prob: 0.359058


feature: 24, with gini loss: 0.49832, with 0/1 loss: 0.475597 (when used alone for prediction)

class: 0

value: 0, prob: 0.998205

value: 1, prob: 0.00179533

class: 1

value: 0, prob: 0.99346

value: 1, prob: 0.00654022


feature: 25, with gini loss: 0.498333, with 0/1 loss: 0.477785 (when used alone for prediction)

class: 0

value: 0, prob: 0.67684

value: 1, prob: 0.32316

class: 1

value: 0, prob: 0.710922

value: 1, prob: 0.289078


feature: 26, with gini loss: 0.490605, with 0/1 loss: 0.4506 (when used alone for prediction)

class: 0

value: 0, prob: 0.97307

value: 1, prob: 0.02693

class: 1

value: 0, prob: 0.913669

value: 1, prob: 0.0863309


feature: 27, with gini loss: 0.498946, with 0/1 loss: 0.477472 (when used alone for prediction)

class: 0

value: 0, prob: 0.999402

value: 1, prob: 0.000598444

class: 1

value: 0, prob: 0.998692

value: 1, prob: 0.00130804


feature: 28, with gini loss: 0.491182, with 0/1 loss: 0.463098 (when used alone for prediction)

class: 0

value: 0, prob: 0.999402

value: 1, prob: 0.000598444

class: 1

value: 0, prob: 0.968607

value: 1, prob: 0.0313931


feature: 29, with gini loss: 0.498221, with 0/1 loss: 0.477785 (when used alone for prediction)

class: 0

value: 0, prob: 0.949132

value: 1, prob: 0.0508677

class: 1

value: 0, prob: 0.965337

value: 1, prob: 0.0346632


feature: 30, with gini loss: 0.491087, with 0/1 loss: 0.466268 (when used alone for prediction)

class: 0

value: 0, prob: 0.77678

value: 1, prob: 0.22322

class: 1

value: 0, prob: 0.87312

value: 1, prob: 0.12688


feature: 31, with gini loss: 0.479943, with 0/1 loss: 0.4356 (when used alone for prediction)

class: 0

value: 0, prob: 0.987433

value: 1, prob: 0.0125673

class: 1

value: 0, prob: 0.897973

value: 1, prob: 0.102027


feature: 32, with gini loss: 0.432607, with 0/1 loss: 0.317806 (when used alone for prediction)

class: 0

value: 0, prob: 0.789946

value: 1, prob: 0.210054

class: 1

value: 0, prob: 0.435579

value: 1, prob: 0.564421


feature: 33, with gini loss: 0.498206, with 0/1 loss: 0.477785 (when used alone for prediction)

class: 0

value: 0, prob: 0.609216

value: 1, prob: 0.390784

class: 1

value: 0, prob: 0.648136

value: 1, prob: 0.351864


feature: 34, with gini loss: 0.488327, with 0/1 loss: 0.424987 (when used alone for prediction)

class: 0

value: 0, prob: 0.795332

value: 1, prob: 0.204668

class: 1

value: 0, prob: 0.665795

value: 1, prob: 0.334205


feature: 35, with gini loss: 0.499013, with 0/1 loss: 0.477785 (when used alone for prediction)

class: 0

value: 0, prob: 0.752843

value: 1, prob: 0.247157

class: 1

value: 0, prob: 0.75278

value: 1, prob: 0.24722