Presentation on theme: "R for Classification Jennifer Broughton Shimadzu Research Laboratory Manchester, UK 2 nd May 2013."— Presentation transcript:
R for Classification Jennifer Broughton Shimadzu Research Laboratory Manchester, UK email@example.com 2 nd May 2013
Classification? Automatic Identification of Type (Class) of Object from Measured Variables (Features) Object TypeFeature1Feature2Feature3…….Feature n Label 1val[1,1]val[1,2]val[1,3]……. val[1,n] Label 2val[2,1]val[2,2]val[2,3]…….val[2,n] ………….…….…….…….……… Label mval[m,1]val[m.2]val[m,3]…….val[m,n] 2 of 17
Data Preparation & Investigation EDA Technique Box Plots PCA Decision Trees Clustering Training Set Best features to distinguish between classes Relationships between features Feature reduction 4 of 17
Training and Testing Classification Algorithm: Neural Network Support Vector Machine Random Forest Training Set (labelled) Test Set (unlabelled) Trained Classifier Classification Results Prediction Results + Labels Assess Predictions: Confusion Matrix ROC Curve (2 categories) …. 10 of 17
Using Classifiers in R Select Training Data Build Classifier Run Classifier classifier algorithm(formula, data, options) (boosting and nnet) classifier.pred predict(classifier, newdata, options) 11 of 17
Your consent to our cookies if you continue to use this website.