Presentation 9
Presentation 9
AHMAD, Bello
20210310014
1
Implementation of the Anchor paper
• Weka is a collection of machine learning algorithms and data
preprocessing tools for data mining tasks.
2
Dividing the dataset in subsets
• From the Anchor, three subsets were drive from the IoTID20 dataset
• Subset 1 Normal and DoS
• Subset 2 Normal and MITM
• Subset 3 Normal and Scan
3
Preprocess the subsets
• Each subset will be preprocess separately in order remove unwanted
instances and attribute for dimensionality reduction.
StringToNominal filter
• Converts a range of string attributes (unspecified number of values) to
nominal (set number of values).
NominalToBinary
• Converts all nominal attributes into binary numeric attributes. An attribute 4
Preprocess the subsets (Cont…)
Normalize
• Normalizes all numeric values in the given dataset (apart from the class
attribute, if set).
• OR
Standardize
• Standardizes all numeric attributes in the given dataset to have zero mean and
unit variance (apart from the class attribute, if set).
5
Attribute selection (Feature selection )
• Click the “Select attributes” tab to access the feature selection methods.
• Attribute Evaluator
• Search Method.
6
Attribute selection (Feature selection ) (Cont…)
7
Attribute selection (Feature selection ) (Cont…)
8
Attribute selection (Feature selection ) (Cont…)
• Subset 1
Subset Anchor (SF) This work(SF)
1 15 13
2 11 12
3 11 13
9
Classify
• Weka provides a range of classifiers that are suitable for different purposes
and scenarios.
10
Result obtained
11
Thank you
12