analyze_removed_questions: Analyze effect of removal of questions on accuracy with...

Description Usage Arguments Value

Description

Removes questions based on their importance value (starting from least important), runs Random Forest, and analyzes accuracy.

Usage

1
analyze_removed_questions(data, imp_num, party_col)

Arguments

data

The dataset with questions and party affiliation.

imp_num

Question numbers from least important to most important as vector.

party_col

Column name of party affiliation.

Value

Data frame with class error by removed question.


tjpajala/vaalikone documentation built on May 26, 2019, 9:34 a.m.