SlideShare a Scribd company logo
1 of 17
Electrical Grid Stability
Simulated Data Set analysis
using R
Ramandeep Kaur Bagri
Problem formulation
• This is classification/Regression problem, this presentation will only
cover classification of electrical grid stability into two classes;
1. Stable
2. Unstable
Introduction to dataset
• It is collected from UCI machine learning repository named as Electrical
Grid Stability Simulated Data.
• Electrical Grid data set in which we have different attributes for examine
the stability of the system.
• The analysis is performed for different sets of input values using the
methodology Naïve Bayes, Random forest and decision tree for classify
the system stability.
• Further, if you are interested about the dataset refer to; Schäfer,
Benjamin, et al. 'Taming instabilities in power grid networks by
decentralized control.
• We will examine the response of the system stability depends on 10,000
observations and 13 attributes, 1 classes attribute (stab).
Attributes Information
• Total - 14 predictive attributes, 1target attribute(2classes)
• tau[x] : Reaction time of participant (real from the range [0.5,10]s).
• p[x] : Nominal power consumed(negative)/produced(positive)(real).
• g[x] : Coefficient (gamma) proportional to price elasticity (real from
the range [0.05,1]s^-1).
• stab: The maximal real part of the characteristic equation root (if
positive - the system is linearly unstable)(real)
• stabf: The stability label of the system (stable/unstable)
Head of the dataset
Summary of dataset
Preprocessing
• Zero N/A values
• Problem: Overfitting of the
same attributes
• Sensitivity of P(x) cannot be
ignored
• Method of choosing attributes
is analyzing summary
characteristics, mean and
quartile values are considered.
Preprocessing Continue
• Null the following attributes by analyzing the summary characteristics:
• Tau4
• P3
• G2
• Considered attributes; summary (Talk about p4-p2);
Classes Distribution
• Distribution of classes:
• Stable
• Unstable
Relation between attributes (g1 p1 p2 stabf
tau2) and classes
• Attributes-g1 p1 p2 tau2, Class – Stable, Unstable
• Attributes-Tau 1 g1 p1, Class- Stable, Unstable
• Pink: Unstable
• Light Blue: Stable
Analyzing the both classes among attribute
• Pink - Unstable (Class)
• Blue - Stable (Class)
• G1 p2 p1 – Classes: Stable, Unstable • P1, Tau2, P2 – Classes: Stable, Unstable
Splitting the dataset
• Training Data Set: 95% [9091 11] • Testing Data Set: 5% [909 11]
Naïve Bayes Results
• Accuracy = 97.03%
• Precision [How many selected items are
relevant OR TP/(TP+FP)]= = 0.9558
• Recall [How many items are selected
relevant OR TP/TP+FN]= 0.9589
• F1 (Harmonic mean of precision and recall)=
(2 * 0.9558 * 0.9589) / (0.9558 + 0.9589) =
0.9573475
Random Forest Results
• Accuracy = 100%
• Precision [How many selected
items are relevant OR
TP/(TP+FP)]= 1
• Recall [How many items are
selected relevant OR TP/TP+FN]=
1
• F1 = (2 * 1* 1) / (1 + 1) = 1
Decision Tree Results
• Accuracy = 100%
• Precision [How many selected
items are relevant OR
TP/(TP+FP)]= 1
• Recall [How many items are
selected relevant OR TP/TP+FN]=
1
• F1 = (2 * 1 * 1) / (1 + 1) = 1
Conclusion
• Data is being divided in 95:5 for training and testing dataset.
• Naïve Bayes gave accuracy of 97.03%, while predicting versus actual
results to determine the class.
• Random forest gave 100% accuracy.
• Decision tree as well gave 100% accuracy.
• So for this dataset, prediction of class is done accurately by Random
forest and decision tree.
Electrical Grid Stability Simulated Data Set analysis using R

More Related Content

What's hot

What's hot (20)

KNN presentation.pdf
KNN presentation.pdfKNN presentation.pdf
KNN presentation.pdf
 
Unit5
Unit5Unit5
Unit5
 
Lecture5 - C4.5
Lecture5 - C4.5Lecture5 - C4.5
Lecture5 - C4.5
 
The Google File System (GFS)
The Google File System (GFS)The Google File System (GFS)
The Google File System (GFS)
 
Instance Based Learning in Machine Learning
Instance Based Learning in Machine LearningInstance Based Learning in Machine Learning
Instance Based Learning in Machine Learning
 
Capter10 cluster basic
Capter10 cluster basicCapter10 cluster basic
Capter10 cluster basic
 
THE LIGHT EMITTING DIODE
THE LIGHT EMITTING DIODETHE LIGHT EMITTING DIODE
THE LIGHT EMITTING DIODE
 
Communications is distributed systems
Communications is distributed systemsCommunications is distributed systems
Communications is distributed systems
 
Datawarehouse olap olam
Datawarehouse olap olamDatawarehouse olap olam
Datawarehouse olap olam
 
Optical components
Optical componentsOptical components
Optical components
 
12 outlier
12 outlier12 outlier
12 outlier
 
Scalable machine learning
Scalable machine learningScalable machine learning
Scalable machine learning
 
Chapter3_Losses.pptx
Chapter3_Losses.pptxChapter3_Losses.pptx
Chapter3_Losses.pptx
 
Evolutionary Computing
Evolutionary ComputingEvolutionary Computing
Evolutionary Computing
 
Fiber optics measurement Technique by mitesh kumar
Fiber optics measurement Technique by mitesh kumarFiber optics measurement Technique by mitesh kumar
Fiber optics measurement Technique by mitesh kumar
 
Networking Technologies Basic's complete notes
Networking Technologies Basic's complete notesNetworking Technologies Basic's complete notes
Networking Technologies Basic's complete notes
 
Ensemble Method (Bagging Boosting)
Ensemble Method (Bagging Boosting)Ensemble Method (Bagging Boosting)
Ensemble Method (Bagging Boosting)
 
Data Mining: Association Rules Basics
Data Mining: Association Rules BasicsData Mining: Association Rules Basics
Data Mining: Association Rules Basics
 
Decision Tree.pptx
Decision Tree.pptxDecision Tree.pptx
Decision Tree.pptx
 
Load balancing in cloud
Load balancing in cloudLoad balancing in cloud
Load balancing in cloud
 

Similar to Electrical Grid Stability Simulated Data Set analysis using R

Machine Learning project presentation
Machine Learning project presentationMachine Learning project presentation
Machine Learning project presentationRamandeep Kaur Bagri
 
Bridging the Gap: Machine Learning for Ubiquitous Computing -- Evaluation
Bridging the Gap: Machine Learning for Ubiquitous Computing -- EvaluationBridging the Gap: Machine Learning for Ubiquitous Computing -- Evaluation
Bridging the Gap: Machine Learning for Ubiquitous Computing -- EvaluationThomas Ploetz
 
6-130914140240-phpapp01.pdf
6-130914140240-phpapp01.pdf6-130914140240-phpapp01.pdf
6-130914140240-phpapp01.pdfssuserdca880
 
Huong dan cu the svm
Huong dan cu the svmHuong dan cu the svm
Huong dan cu the svmtaikhoan262
 
Parameter selection in a combined cycle power plant
Parameter selection in a combined cycle power plantParameter selection in a combined cycle power plant
Parameter selection in a combined cycle power plantModelon
 
The Needleman-Wunsch Algorithm for Sequence Alignment
The Needleman-Wunsch Algorithm for Sequence Alignment The Needleman-Wunsch Algorithm for Sequence Alignment
The Needleman-Wunsch Algorithm for Sequence Alignment Parinda Rajapaksha
 
PHM2106-Presentation-Hubbard
PHM2106-Presentation-HubbardPHM2106-Presentation-Hubbard
PHM2106-Presentation-HubbardCharles Hubbard
 
A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...
A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...
A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...Salford Systems
 
Reinforcement Learning and Artificial Neural Nets
Reinforcement Learning and Artificial Neural NetsReinforcement Learning and Artificial Neural Nets
Reinforcement Learning and Artificial Neural NetsPierre de Lacaze
 
Efficient Online Evaluation of Big Data Stream Classifiers
Efficient Online Evaluation of Big Data Stream ClassifiersEfficient Online Evaluation of Big Data Stream Classifiers
Efficient Online Evaluation of Big Data Stream ClassifiersAlbert Bifet
 
System suitability testing
System suitability testingSystem suitability testing
System suitability testingVrushali Tambe
 
Machine Learning: An introduction โดย รศ.ดร.สุรพงค์ เอื้อวัฒนามงคล
Machine Learning: An introduction โดย รศ.ดร.สุรพงค์  เอื้อวัฒนามงคลMachine Learning: An introduction โดย รศ.ดร.สุรพงค์  เอื้อวัฒนามงคล
Machine Learning: An introduction โดย รศ.ดร.สุรพงค์ เอื้อวัฒนามงคลBAINIDA
 
Normalisation by vmb
Normalisation by vmbNormalisation by vmb
Normalisation by vmbvasant Bhabad
 

Similar to Electrical Grid Stability Simulated Data Set analysis using R (20)

Machine Learning project presentation
Machine Learning project presentationMachine Learning project presentation
Machine Learning project presentation
 
Bridging the Gap: Machine Learning for Ubiquitous Computing -- Evaluation
Bridging the Gap: Machine Learning for Ubiquitous Computing -- EvaluationBridging the Gap: Machine Learning for Ubiquitous Computing -- Evaluation
Bridging the Gap: Machine Learning for Ubiquitous Computing -- Evaluation
 
6-130914140240-phpapp01.pdf
6-130914140240-phpapp01.pdf6-130914140240-phpapp01.pdf
6-130914140240-phpapp01.pdf
 
ARIMA
ARIMA ARIMA
ARIMA
 
Daamen r 2010scwr-cpaper
Daamen r 2010scwr-cpaperDaamen r 2010scwr-cpaper
Daamen r 2010scwr-cpaper
 
Guide
GuideGuide
Guide
 
Huong dan cu the svm
Huong dan cu the svmHuong dan cu the svm
Huong dan cu the svm
 
EE5180_G-5.pptx
EE5180_G-5.pptxEE5180_G-5.pptx
EE5180_G-5.pptx
 
Parameter selection in a combined cycle power plant
Parameter selection in a combined cycle power plantParameter selection in a combined cycle power plant
Parameter selection in a combined cycle power plant
 
The Needleman-Wunsch Algorithm for Sequence Alignment
The Needleman-Wunsch Algorithm for Sequence Alignment The Needleman-Wunsch Algorithm for Sequence Alignment
The Needleman-Wunsch Algorithm for Sequence Alignment
 
PID1563185
PID1563185PID1563185
PID1563185
 
PHM2106-Presentation-Hubbard
PHM2106-Presentation-HubbardPHM2106-Presentation-Hubbard
PHM2106-Presentation-Hubbard
 
A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...
A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...
A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...
 
3 module 2
3 module 23 module 2
3 module 2
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Reinforcement Learning and Artificial Neural Nets
Reinforcement Learning and Artificial Neural NetsReinforcement Learning and Artificial Neural Nets
Reinforcement Learning and Artificial Neural Nets
 
Efficient Online Evaluation of Big Data Stream Classifiers
Efficient Online Evaluation of Big Data Stream ClassifiersEfficient Online Evaluation of Big Data Stream Classifiers
Efficient Online Evaluation of Big Data Stream Classifiers
 
System suitability testing
System suitability testingSystem suitability testing
System suitability testing
 
Machine Learning: An introduction โดย รศ.ดร.สุรพงค์ เอื้อวัฒนามงคล
Machine Learning: An introduction โดย รศ.ดร.สุรพงค์  เอื้อวัฒนามงคลMachine Learning: An introduction โดย รศ.ดร.สุรพงค์  เอื้อวัฒนามงคล
Machine Learning: An introduction โดย รศ.ดร.สุรพงค์ เอื้อวัฒนามงคล
 
Normalisation by vmb
Normalisation by vmbNormalisation by vmb
Normalisation by vmb
 

Recently uploaded

Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Valters Lauzums
 
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证acoha1
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshareraiaryan448
 
Formulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfFormulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfRobertoOcampo24
 
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontangobat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontangsiskavia95
 
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...BabaJohn3
 
The Significance of Transliteration Enhancing
The Significance of Transliteration EnhancingThe Significance of Transliteration Enhancing
The Significance of Transliteration Enhancingmohamed Elzalabany
 
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证pwgnohujw
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxStephen266013
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证zifhagzkk
 
Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024patrickdtherriault
 
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证acoha1
 
What is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationWhat is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationmuqadasqasim10
 
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...yulianti213969
 
How to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data AnalyticsHow to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data AnalyticsBrainSell Technologies
 
Aggregations - The Elasticsearch "GROUP BY"
Aggregations - The Elasticsearch "GROUP BY"Aggregations - The Elasticsearch "GROUP BY"
Aggregations - The Elasticsearch "GROUP BY"John Sobanski
 
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...yulianti213969
 
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI  MANAJEMEN OF PENYAKIT TETANUS.pptMATERI  MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI MANAJEMEN OF PENYAKIT TETANUS.pptRachmaGhifari
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token PredictionNABLAS株式会社
 
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证ppy8zfkfm
 

Recently uploaded (20)

Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
 
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshare
 
Formulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfFormulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdf
 
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontangobat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontang
 
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...
 
The Significance of Transliteration Enhancing
The Significance of Transliteration EnhancingThe Significance of Transliteration Enhancing
The Significance of Transliteration Enhancing
 
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
 
Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024
 
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
 
What is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationWhat is Insertion Sort. Its basic information
What is Insertion Sort. Its basic information
 
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
 
How to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data AnalyticsHow to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data Analytics
 
Aggregations - The Elasticsearch "GROUP BY"
Aggregations - The Elasticsearch "GROUP BY"Aggregations - The Elasticsearch "GROUP BY"
Aggregations - The Elasticsearch "GROUP BY"
 
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
 
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI  MANAJEMEN OF PENYAKIT TETANUS.pptMATERI  MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction
 
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
 

Electrical Grid Stability Simulated Data Set analysis using R

  • 1. Electrical Grid Stability Simulated Data Set analysis using R Ramandeep Kaur Bagri
  • 2. Problem formulation • This is classification/Regression problem, this presentation will only cover classification of electrical grid stability into two classes; 1. Stable 2. Unstable
  • 3. Introduction to dataset • It is collected from UCI machine learning repository named as Electrical Grid Stability Simulated Data. • Electrical Grid data set in which we have different attributes for examine the stability of the system. • The analysis is performed for different sets of input values using the methodology Naïve Bayes, Random forest and decision tree for classify the system stability. • Further, if you are interested about the dataset refer to; Schäfer, Benjamin, et al. 'Taming instabilities in power grid networks by decentralized control. • We will examine the response of the system stability depends on 10,000 observations and 13 attributes, 1 classes attribute (stab).
  • 4. Attributes Information • Total - 14 predictive attributes, 1target attribute(2classes) • tau[x] : Reaction time of participant (real from the range [0.5,10]s). • p[x] : Nominal power consumed(negative)/produced(positive)(real). • g[x] : Coefficient (gamma) proportional to price elasticity (real from the range [0.05,1]s^-1). • stab: The maximal real part of the characteristic equation root (if positive - the system is linearly unstable)(real) • stabf: The stability label of the system (stable/unstable)
  • 5. Head of the dataset
  • 7. Preprocessing • Zero N/A values • Problem: Overfitting of the same attributes • Sensitivity of P(x) cannot be ignored • Method of choosing attributes is analyzing summary characteristics, mean and quartile values are considered.
  • 8. Preprocessing Continue • Null the following attributes by analyzing the summary characteristics: • Tau4 • P3 • G2 • Considered attributes; summary (Talk about p4-p2);
  • 9. Classes Distribution • Distribution of classes: • Stable • Unstable
  • 10. Relation between attributes (g1 p1 p2 stabf tau2) and classes • Attributes-g1 p1 p2 tau2, Class – Stable, Unstable • Attributes-Tau 1 g1 p1, Class- Stable, Unstable • Pink: Unstable • Light Blue: Stable
  • 11. Analyzing the both classes among attribute • Pink - Unstable (Class) • Blue - Stable (Class) • G1 p2 p1 – Classes: Stable, Unstable • P1, Tau2, P2 – Classes: Stable, Unstable
  • 12. Splitting the dataset • Training Data Set: 95% [9091 11] • Testing Data Set: 5% [909 11]
  • 13. Naïve Bayes Results • Accuracy = 97.03% • Precision [How many selected items are relevant OR TP/(TP+FP)]= = 0.9558 • Recall [How many items are selected relevant OR TP/TP+FN]= 0.9589 • F1 (Harmonic mean of precision and recall)= (2 * 0.9558 * 0.9589) / (0.9558 + 0.9589) = 0.9573475
  • 14. Random Forest Results • Accuracy = 100% • Precision [How many selected items are relevant OR TP/(TP+FP)]= 1 • Recall [How many items are selected relevant OR TP/TP+FN]= 1 • F1 = (2 * 1* 1) / (1 + 1) = 1
  • 15. Decision Tree Results • Accuracy = 100% • Precision [How many selected items are relevant OR TP/(TP+FP)]= 1 • Recall [How many items are selected relevant OR TP/TP+FN]= 1 • F1 = (2 * 1 * 1) / (1 + 1) = 1
  • 16. Conclusion • Data is being divided in 95:5 for training and testing dataset. • Naïve Bayes gave accuracy of 97.03%, while predicting versus actual results to determine the class. • Random forest gave 100% accuracy. • Decision tree as well gave 100% accuracy. • So for this dataset, prediction of class is done accurately by Random forest and decision tree.