Intrusion Detection System With Ensemble Machine Learning Approaches Using VotingClassifier
Intrusion Detection System With Ensemble Machine Learning Approaches Using VotingClassifier
III. EXISTING SYSTEM The proposed intrusion detection system which used
ensemble method. The method we uses the combination of
Let’s Delve into the Available Methods: best available algorithm. Ensemble learning is a powerful
technique that combines multiple machine learning models to
Support Vector Machines (SVM): create a stronger, more robust predictor.
Support Vector Machine (SVM) presents itself as a
classification algorithm designed to identify the hyper plane Proposed Algorithm 1: Intrusion Detection model using
that maximizes the margin between distinct classes within the Ensemble Method.
dataset. This technique proves effective in handling linear and Input: Dataset
non-linear data through the utilization of kernel functions, Output: Model for Intrusion Detection
such as linear, radial basis function, polynomial, or sigmoid,
which aid in the transformation of data into a higher- Take the Dataset.
dimensional space. The computational complexity of SVMs Data preprocessing.
is notable, necessitating the consideration of feature reduction Feature Selection.
methods, such as Principal Component Analysis, to enhance
operational efficiency. It is essential to adjust certain hyper Cc = Find Correlation on Data components to select high
parameters when employing SVM, including the kernel type correlation values.
(for instance, linear, rbf, poly, sigmoid) and the regularization
parameter (C value). Classify Cc using train data
Decision Trees (DT): Logistic Regression, Decision Tree and SVM
Decision Trees (DTs) are algorithmic models rooted in
tree structures, which iteratively partition the dataset Use Ensemble Voting algorithm
according to distinct features in order to formulate decision Propose the Ensemble model
criteria. These models exhibit Proficiency in addressing tasks
Test the proposed Ensemble model by using test data
related to classification as well as regression analysis.
Compute the accuracy, precision, Recall
Decision Trees have a tendency to excessively fit the training
data, thus prompting the necessity for ensemble Return the model
methodologies to alleviate this particular drawback.
Performance Analysis:
Logistic Regression (LR):
Logistic Regression (LR) represents a straightforward True Positive (TP). A true positive outcome is one where
yet efficient classification methodology. The goal is to predict the model predicts a positive outcome correctly.
the likelihood of a binary outcome by analyzing different False Positive (FP). A false positive outcome is one where
input features. LR is renowned for its interpretability and the model predicts a positive outcome incorrectly.
performance, particularly in scenarios where the association True Negative (TN). A true negative outcome is one
between predictors and the response variable is close to being where the model predicts a negative outcome correctly.
linear. False Negative (FN). A false negative outcome is one
where the model predicts a negative outcome incorrectly.
Proposed System: Accuracy. Accuracy is simply the measure of how
In this work, to improve the efficiency of intrusion correctly the model predicts a data given.
detection system an ensemble algorithm based on the decision
tree, Support vector machine and linear regression is used.
The result shows that Ensemble methods work best when the
predictors are as independent from one another as possible.
To get diverse classifiers is to train those using very different Precision.
algorithms. This increases the chance that they improve the Precision is the proportion of positives out of the total
ensemble’s accuracy. The NSL-KDD data set is used to verify number of positives.
the superiority of the algorithm.
Recall.
Recall is the proportion of positives that was identified
correctly
F1-Score:
F1 Score is similar to accuracy but is a better metric
because it seeks to create a balance between precision and
recall especially when there is an uneven class. F1 Score is
given by : Fig 2 Performance Comparison with Previous Works
V. CONCLUSIONS
REFERANCES