Icon

Census_Income Project

Annotations and comments
  • Apply one hot encoding to the categorical features in the test set
  • 1. Apply one hot encoding to the categorical features 2. Remove original categorical features
  • Remove original categorical features
  • Gini Index
  • Gain Ratio
  • Remove constant value columns
  • Remove columns with the correlation coefficient > 0.7
  • Calculate correlation matrix for features
  • 1. Project original features to the principal components 2. Preserve 80% of information 3. 16 first principal components should be kept
  • Project original features to the principal components Keep 16 first principal components
  • Compute PCA transformation
  • Keep only the columns kept in the training set
  • Add target
  • Keep 100 most important features
  • Top: features Bottom: target
  • Do the final filtering here
  • Choose the variable to optimize
  • Configure your set of columns here
  • Compute feature importance
  • Feature names
  • Get the list of 100 most important feature names
  • Train a forest of many shallow trees
  • work class
  • marital-status
  • occupation
  • Sex
  • Relationship
  • Remove columns with more than 10% missing values
  • Naive Bayes
  • Z-Score
  • Partition randomly 80% for training 20% for test

Nodes

Extensions

Links