naive base classifier and scripts