SlideShare a Scribd company logo
Grasping Dataset
Robotic grasping robustness prediction using classifiers
Professors
Marcelloni Francesco
Ducange Pietro
Student
Gabriele Sisinna
516706
MSc Bionics Engineering
Introduction
(I)
 In the industrial field, interest in robotic manipulation and the
various grasping technologies has increased
 Knowing in advance whether a grasp is robust or not would
save time and optimize assembly lines in complex processes
 The following dataset was provided by the Shadow Robot
Company (Kaggle) through simulation in a dedicated sandbox
Introduction
(II)
 Based on the current joint state we want to predict the stability of
the grasping pose
 In simulation, there’s an easy way to check whether a grasp is
stable or not. Once the object is grasped, if the grasp is stable,
then the object shouldn’t move in the hand.
 This means that the distance between the object and the palm
shouldn’t change when shaking the object.This measure is very
easy to get in simulation!
Dataset
 The data obtained by simulation refer to the position, speed and effort
of the joints of the mechanical manipulator
 Opening the dataset (.csv) withWeka → conversion to .arff format
 All the attributes are Numeric except for experiment_number which
contain a string label for simulation purpose
 The whole analysis presented has been developed withWeka +
MATLAB
Attributes Instances
30 992,641
(Lots of data…)
Preprocessing
experiment_number, measurement_number and all the xx_xx_pos attributes
were deleted for two reasons:
1. Velocity and position are linked by means of the first derivative
(redundancy)
2. The aim is to find a classifier for robustness that is independent of the
object (no position attributes): contain no information that is useful for
the data mining task at hand
After eliminating the “pos” attributes, we arrive at a total of 19 attributes for
speed, torque and robustness
Attribute Type
H1_F1_J1_VEL
H1_F1_J1_EFF
NUMERIC
NUMERIC
H1_F1_J2_VEL
H1_F1_J2_EFF
NUMERIC
NUMERIC
.
. .
. .
H1_F3_J3_VEL
H1_F3_J3_EFF
.
.
ROBUSTNESS NUMERIC
Outlier
 To find outlier and extreme values the unsupervised filter
interquartile range can be used
 Outlier and extreme_values attributes were created
 Unsupervised Instance Filter → RemoveWithValues:This filter
removes instances according to the values of an attribute.
RemoveWithValues
InterquartileRange
Robustness
distribution
 Due to the simulation process, many physically unfeasible values
were created
 All this values were deleted keeping only the plausible range of
robustness attribute value spanning from 0 to 220
 Playing with InterquartileRange filter and outlier factor we can
obtain the following histogram for the robustness attribute
Thresholding
of robustness
class
 A threshold of 100 for the robustness was found accetable to
discriminate between good and bad grasp.
 I’ll set the same threshold to divide the robustness values in two
distinct classes (1: good grasp, 0: bad grasp)
 Class “robustness” is balanced, then accuracy can be used as
performance index
Data reduction
Resample
(10%)
 It would be useful to do the analysis on the entire dataset with
900.000 instances, but this was not possible from a computational
point of view with my laptop
 It’s possible to extract a random meaningful subsample thanks to
the Resample weka filter
 I can do this because during the simulation the values related to
grasping are generated randomly, and I am extracting a random
quantity (10%) with replacement from the same distribution
CrossValidation
(10-fold)
 A step that creates stratified cross-validation folds from incoming
data
 Divide a dataset into 10 pieces (“folds”), then hold out each piece
in turn for testing and train on the remaining 9 together.This gives
10 evaluation results, which are averaged.
 In “stratified” cross-validation, when doing the initial division we
ensure that each fold contains approximately the correct
proportion of the class values.
 Despite the resample, the extrapolated instances are about
83.000.The number of folds used is 10 accordingly
FeatureSubset
Selection
 The feature selection step is implemented embedded in the training
phase of the classifier, thanks to the "AttributeSelectedClassifier"
block.
 for example CfsSubsetEval was used as evaluator with J48 classifier
J48 feature
selection and
graph structure
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
0 0 1 6 1 10 10 10 6 0 9 6 0 0 0 10 5 0
Feature ID
N° of times
Naive Bayes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
0 0 2 8 0 9 9 9 5 0 9 6 0 0 0 10 5 0
Feature ID
N° of times
Logistic 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
0 0 2 8 1 9 9 9 5 0 9 6 0 0 0 10 5 0
Feature ID
N° of times
ID Feature
1 H1_F1J2_VEL
2 H1_F1J2_EFF
3 H1_F1J3_VEL
4 H1_F1J3_EFF
5 H1_F1J1_VEL
6 H1_F1J1_EFF
7 H1_F3J1_VEL
8 H1_F3J1_EFF
9 H1_F3J2_VEL
ID Feature
10 H1_F3J2_EFF
11 H1_F3J3_EFF
12 H1_F3J3_EFF
13 H1_F2J1_VEL
14 H1_F2J1_EFF
15 H1_F2J3_VEL
16 H1_F2J3_EFF
17 H1_F2J2_VEL
18 H1_F2JE_EFF
Classifier
workflow
Workflow
J48 Naive Bayes Logistic
80.08 % 76.61 % 76.18 %
0.3705 0.430 0.390
0.801 0.766 0.762
0.165 0.214 0.227
0.841 0.785 0.772
0.801 0.766 0.762
0.800 0.767 0.763
Accuracy
RMS
TP rate
FP rate
Precision
Recall
F-Measure
Classifiers Performances
 From the data shown in the table, the J48 classifier is the most performing for this task.
RandomForest
Ensemble
methods
 The creation of the model for the classifier takes a time in the
order of minutes
RandomForest (10-fold)
Accuracy 83.55 %
RMS 0.336
TP rate 0.836
FP rate 0.143
Precision 0.855
Recall 0.836
F-Measure 0.836
J48
80.08 %
0.3705
0.801
0.165
0.841
0.801
0.800
Conclusion
Random forest classifier creates a set of decision trees from randomly
selected subset of training set. It then aggregates the votes from different
decision trees to decide the final class of the test object.
J48 and Random Forest showed the highest performances
The instances correctly classified in the cases mentioned are approximately
80% and 83%
New simulation settings for the generation of grasping should be verified,
including a different physical engine
The data obtained should be validated on the physical system to ensure the
kinematic compatibility of the data produced in simulation and by the
classification algorithms
References
 Grasping Dataset
https://www.kaggle.com/ugocupcic/grasping-dataset
 Data Mining: Concepts andTechniques, 3rd ed. (Jiawei Han, Micheline
Kamber and Jian Pei)
 https://www.cs.waikato.ac.nz/ml/weka/
 https://www.shadowrobot.com/
 Smart Grasping Sandbox
https://github.com/shadow-robot/smart_grasping_sandbox
 Slides aboutWeka made by prof. Ducange
Grasping dataset

More Related Content

What's hot

JPC#8 Introduction to Java Programming
JPC#8 Introduction to Java ProgrammingJPC#8 Introduction to Java Programming
JPC#8 Introduction to Java ProgrammingPathomchon Sriwilairit
 
White-box Unit Test Generation with Microsoft IntelliTest
White-box Unit Test Generation with Microsoft IntelliTestWhite-box Unit Test Generation with Microsoft IntelliTest
White-box Unit Test Generation with Microsoft IntelliTest
Dávid Honfi
 
Accord.Net: Looking for a Bug that Could Help Machines Conquer Humankind
Accord.Net: Looking for a Bug that Could Help Machines Conquer HumankindAccord.Net: Looking for a Bug that Could Help Machines Conquer Humankind
Accord.Net: Looking for a Bug that Could Help Machines Conquer Humankind
PVS-Studio
 
Volley lab btc_bbit
Volley lab btc_bbitVolley lab btc_bbit
Volley lab btc_bbit
CarWash1
 
Mocking in Java with Mockito
Mocking in Java with MockitoMocking in Java with Mockito
Mocking in Java with MockitoRichard Paul
 
Algoritmos sujei
Algoritmos sujeiAlgoritmos sujei
Algoritmos sujei
gersonjack
 
Unit & Automation Testing in Android - Stanislav Gatsev, Melon
Unit & Automation Testing in Android - Stanislav Gatsev, MelonUnit & Automation Testing in Android - Stanislav Gatsev, Melon
Unit & Automation Testing in Android - Stanislav Gatsev, MelonbeITconference
 
React new features and intro to Hooks
React new features and intro to HooksReact new features and intro to Hooks
React new features and intro to Hooks
Soluto
 
Mocking with Mockito
Mocking with MockitoMocking with Mockito
Mocking with Mockito
Paul Churchward
 
Hoisting Nested Functions
Hoisting Nested FunctionsHoisting Nested Functions
Hoisting Nested Functions
Feras Tanan
 
React hooks
React hooksReact hooks
React hooks
Assaf Gannon
 
Mockito intro
Mockito introMockito intro
Mockito intro
Cristian R. Silva
 
Hoisting Nested Functions
Hoisting Nested Functions Hoisting Nested Functions
Hoisting Nested Functions
Feras Tanan
 
Repair dagstuhl jan2017
Repair dagstuhl jan2017Repair dagstuhl jan2017
Repair dagstuhl jan2017
Abhik Roychoudhury
 
Maze
MazeMaze
Maze
yito24
 
Mockito with a hint of PowerMock
Mockito with a hint of PowerMockMockito with a hint of PowerMock
Mockito with a hint of PowerMock
Ying Zhang
 
Scientific calcultor-Java
Scientific calcultor-JavaScientific calcultor-Java
Scientific calcultor-Java
Shaibal Ahmed
 
Functional Programming 101 for Java 7 Developers
Functional Programming 101 for Java 7 DevelopersFunctional Programming 101 for Java 7 Developers
Functional Programming 101 for Java 7 Developers
Jayaram Sankaranarayanan
 

What's hot (20)

JPC#8 Introduction to Java Programming
JPC#8 Introduction to Java ProgrammingJPC#8 Introduction to Java Programming
JPC#8 Introduction to Java Programming
 
White-box Unit Test Generation with Microsoft IntelliTest
White-box Unit Test Generation with Microsoft IntelliTestWhite-box Unit Test Generation with Microsoft IntelliTest
White-box Unit Test Generation with Microsoft IntelliTest
 
Accord.Net: Looking for a Bug that Could Help Machines Conquer Humankind
Accord.Net: Looking for a Bug that Could Help Machines Conquer HumankindAccord.Net: Looking for a Bug that Could Help Machines Conquer Humankind
Accord.Net: Looking for a Bug that Could Help Machines Conquer Humankind
 
Volley lab btc_bbit
Volley lab btc_bbitVolley lab btc_bbit
Volley lab btc_bbit
 
Mocking in Java with Mockito
Mocking in Java with MockitoMocking in Java with Mockito
Mocking in Java with Mockito
 
Algoritmos sujei
Algoritmos sujeiAlgoritmos sujei
Algoritmos sujei
 
Unit & Automation Testing in Android - Stanislav Gatsev, Melon
Unit & Automation Testing in Android - Stanislav Gatsev, MelonUnit & Automation Testing in Android - Stanislav Gatsev, Melon
Unit & Automation Testing in Android - Stanislav Gatsev, Melon
 
React new features and intro to Hooks
React new features and intro to HooksReact new features and intro to Hooks
React new features and intro to Hooks
 
Mock with Mockito
Mock with MockitoMock with Mockito
Mock with Mockito
 
Mocking with Mockito
Mocking with MockitoMocking with Mockito
Mocking with Mockito
 
FunctionalInterfaces
FunctionalInterfacesFunctionalInterfaces
FunctionalInterfaces
 
Hoisting Nested Functions
Hoisting Nested FunctionsHoisting Nested Functions
Hoisting Nested Functions
 
React hooks
React hooksReact hooks
React hooks
 
Mockito intro
Mockito introMockito intro
Mockito intro
 
Hoisting Nested Functions
Hoisting Nested Functions Hoisting Nested Functions
Hoisting Nested Functions
 
Repair dagstuhl jan2017
Repair dagstuhl jan2017Repair dagstuhl jan2017
Repair dagstuhl jan2017
 
Maze
MazeMaze
Maze
 
Mockito with a hint of PowerMock
Mockito with a hint of PowerMockMockito with a hint of PowerMock
Mockito with a hint of PowerMock
 
Scientific calcultor-Java
Scientific calcultor-JavaScientific calcultor-Java
Scientific calcultor-Java
 
Functional Programming 101 for Java 7 Developers
Functional Programming 101 for Java 7 DevelopersFunctional Programming 101 for Java 7 Developers
Functional Programming 101 for Java 7 Developers
 

Similar to Grasping dataset

Human Activity Recognition Using AccelerometerData
Human Activity Recognition Using AccelerometerDataHuman Activity Recognition Using AccelerometerData
Human Activity Recognition Using AccelerometerData
IRJET Journal
 
Checking the code of Valgrind dynamic analyzer by a static analyzer
Checking the code of Valgrind dynamic analyzer by a static analyzerChecking the code of Valgrind dynamic analyzer by a static analyzer
Checking the code of Valgrind dynamic analyzer by a static analyzer
PVS-Studio
 
Machine Learning Model for M.S admissions
Machine Learning Model for M.S admissionsMachine Learning Model for M.S admissions
Machine Learning Model for M.S admissions
Omkar Rane
 
Introduction of Feature Hashing
Introduction of Feature HashingIntroduction of Feature Hashing
Introduction of Feature Hashing
Wush Wu
 
Angular 16 – the rise of Signals
Angular 16 – the rise of SignalsAngular 16 – the rise of Signals
Angular 16 – the rise of Signals
Coding Academy
 
A Unicorn Seeking Extraterrestrial Life: Analyzing SETI@home's Source Code
A Unicorn Seeking Extraterrestrial Life: Analyzing SETI@home's Source CodeA Unicorn Seeking Extraterrestrial Life: Analyzing SETI@home's Source Code
A Unicorn Seeking Extraterrestrial Life: Analyzing SETI@home's Source Code
PVS-Studio
 
Analysis of Haiku Operating System (BeOS Family) by PVS-Studio. Part 1
Analysis of Haiku Operating System (BeOS Family) by PVS-Studio. Part 1Analysis of Haiku Operating System (BeOS Family) by PVS-Studio. Part 1
Analysis of Haiku Operating System (BeOS Family) by PVS-Studio. Part 1
PVS-Studio
 
2007 Tidc India Profiling
2007 Tidc India Profiling2007 Tidc India Profiling
2007 Tidc India Profilingdanrinkes
 
Xgboost
XgboostXgboost
PVS-Studio Meets Octave
PVS-Studio Meets Octave PVS-Studio Meets Octave
PVS-Studio Meets Octave
PVS-Studio
 
CodeChecker summary 21062021
CodeChecker summary 21062021CodeChecker summary 21062021
CodeChecker summary 21062021
Olivera Milenkovic
 
Automatic Number Plate Recognition System in Bangla using Deep Learning model
Automatic Number Plate Recognition System in Bangla using Deep Learning modelAutomatic Number Plate Recognition System in Bangla using Deep Learning model
Automatic Number Plate Recognition System in Bangla using Deep Learning model
076TalathUnNabiAnik
 
Python + Tensorflow: how to earn money in the Stock Exchange with Deep Learni...
Python + Tensorflow: how to earn money in the Stock Exchange with Deep Learni...Python + Tensorflow: how to earn money in the Stock Exchange with Deep Learni...
Python + Tensorflow: how to earn money in the Stock Exchange with Deep Learni...
ETS Asset Management Factory
 
Deep Learning
Deep LearningDeep Learning
Deep Learning
Gaetan Lion
 
Oracle plsql and d2 k interview questions
Oracle plsql and d2 k interview questionsOracle plsql and d2 k interview questions
Oracle plsql and d2 k interview questions
Arunkumar Gurav
 
딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)
딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)
딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)
Hansol Kang
 
Human_Activity_Recognition_Predictive_Model
Human_Activity_Recognition_Predictive_ModelHuman_Activity_Recognition_Predictive_Model
Human_Activity_Recognition_Predictive_ModelDavid Ritchie
 
MicroManager_MATLAB_Implementation
MicroManager_MATLAB_ImplementationMicroManager_MATLAB_Implementation
MicroManager_MATLAB_ImplementationPhilip Mohun
 
Object Tracking with Instance Matching and Online Learning
Object Tracking with Instance Matching and Online LearningObject Tracking with Instance Matching and Online Learning
Object Tracking with Instance Matching and Online Learning
Jui-Hsin (Larry) Lai
 
PVS-Studio team is about to produce a technical breakthrough, but for now let...
PVS-Studio team is about to produce a technical breakthrough, but for now let...PVS-Studio team is about to produce a technical breakthrough, but for now let...
PVS-Studio team is about to produce a technical breakthrough, but for now let...
PVS-Studio
 

Similar to Grasping dataset (20)

Human Activity Recognition Using AccelerometerData
Human Activity Recognition Using AccelerometerDataHuman Activity Recognition Using AccelerometerData
Human Activity Recognition Using AccelerometerData
 
Checking the code of Valgrind dynamic analyzer by a static analyzer
Checking the code of Valgrind dynamic analyzer by a static analyzerChecking the code of Valgrind dynamic analyzer by a static analyzer
Checking the code of Valgrind dynamic analyzer by a static analyzer
 
Machine Learning Model for M.S admissions
Machine Learning Model for M.S admissionsMachine Learning Model for M.S admissions
Machine Learning Model for M.S admissions
 
Introduction of Feature Hashing
Introduction of Feature HashingIntroduction of Feature Hashing
Introduction of Feature Hashing
 
Angular 16 – the rise of Signals
Angular 16 – the rise of SignalsAngular 16 – the rise of Signals
Angular 16 – the rise of Signals
 
A Unicorn Seeking Extraterrestrial Life: Analyzing SETI@home's Source Code
A Unicorn Seeking Extraterrestrial Life: Analyzing SETI@home's Source CodeA Unicorn Seeking Extraterrestrial Life: Analyzing SETI@home's Source Code
A Unicorn Seeking Extraterrestrial Life: Analyzing SETI@home's Source Code
 
Analysis of Haiku Operating System (BeOS Family) by PVS-Studio. Part 1
Analysis of Haiku Operating System (BeOS Family) by PVS-Studio. Part 1Analysis of Haiku Operating System (BeOS Family) by PVS-Studio. Part 1
Analysis of Haiku Operating System (BeOS Family) by PVS-Studio. Part 1
 
2007 Tidc India Profiling
2007 Tidc India Profiling2007 Tidc India Profiling
2007 Tidc India Profiling
 
Xgboost
XgboostXgboost
Xgboost
 
PVS-Studio Meets Octave
PVS-Studio Meets Octave PVS-Studio Meets Octave
PVS-Studio Meets Octave
 
CodeChecker summary 21062021
CodeChecker summary 21062021CodeChecker summary 21062021
CodeChecker summary 21062021
 
Automatic Number Plate Recognition System in Bangla using Deep Learning model
Automatic Number Plate Recognition System in Bangla using Deep Learning modelAutomatic Number Plate Recognition System in Bangla using Deep Learning model
Automatic Number Plate Recognition System in Bangla using Deep Learning model
 
Python + Tensorflow: how to earn money in the Stock Exchange with Deep Learni...
Python + Tensorflow: how to earn money in the Stock Exchange with Deep Learni...Python + Tensorflow: how to earn money in the Stock Exchange with Deep Learni...
Python + Tensorflow: how to earn money in the Stock Exchange with Deep Learni...
 
Deep Learning
Deep LearningDeep Learning
Deep Learning
 
Oracle plsql and d2 k interview questions
Oracle plsql and d2 k interview questionsOracle plsql and d2 k interview questions
Oracle plsql and d2 k interview questions
 
딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)
딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)
딥러닝 중급 - AlexNet과 VggNet (Basic of DCNN : AlexNet and VggNet)
 
Human_Activity_Recognition_Predictive_Model
Human_Activity_Recognition_Predictive_ModelHuman_Activity_Recognition_Predictive_Model
Human_Activity_Recognition_Predictive_Model
 
MicroManager_MATLAB_Implementation
MicroManager_MATLAB_ImplementationMicroManager_MATLAB_Implementation
MicroManager_MATLAB_Implementation
 
Object Tracking with Instance Matching and Online Learning
Object Tracking with Instance Matching and Online LearningObject Tracking with Instance Matching and Online Learning
Object Tracking with Instance Matching and Online Learning
 
PVS-Studio team is about to produce a technical breakthrough, but for now let...
PVS-Studio team is about to produce a technical breakthrough, but for now let...PVS-Studio team is about to produce a technical breakthrough, but for now let...
PVS-Studio team is about to produce a technical breakthrough, but for now let...
 

Recently uploaded

CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 

Recently uploaded (20)

CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 

Grasping dataset

  • 1. Grasping Dataset Robotic grasping robustness prediction using classifiers Professors Marcelloni Francesco Ducange Pietro Student Gabriele Sisinna 516706 MSc Bionics Engineering
  • 2. Introduction (I)  In the industrial field, interest in robotic manipulation and the various grasping technologies has increased  Knowing in advance whether a grasp is robust or not would save time and optimize assembly lines in complex processes  The following dataset was provided by the Shadow Robot Company (Kaggle) through simulation in a dedicated sandbox
  • 3. Introduction (II)  Based on the current joint state we want to predict the stability of the grasping pose  In simulation, there’s an easy way to check whether a grasp is stable or not. Once the object is grasped, if the grasp is stable, then the object shouldn’t move in the hand.  This means that the distance between the object and the palm shouldn’t change when shaking the object.This measure is very easy to get in simulation!
  • 4. Dataset  The data obtained by simulation refer to the position, speed and effort of the joints of the mechanical manipulator  Opening the dataset (.csv) withWeka → conversion to .arff format  All the attributes are Numeric except for experiment_number which contain a string label for simulation purpose  The whole analysis presented has been developed withWeka + MATLAB Attributes Instances 30 992,641 (Lots of data…)
  • 5. Preprocessing experiment_number, measurement_number and all the xx_xx_pos attributes were deleted for two reasons: 1. Velocity and position are linked by means of the first derivative (redundancy) 2. The aim is to find a classifier for robustness that is independent of the object (no position attributes): contain no information that is useful for the data mining task at hand After eliminating the “pos” attributes, we arrive at a total of 19 attributes for speed, torque and robustness Attribute Type H1_F1_J1_VEL H1_F1_J1_EFF NUMERIC NUMERIC H1_F1_J2_VEL H1_F1_J2_EFF NUMERIC NUMERIC . . . . . H1_F3_J3_VEL H1_F3_J3_EFF . . ROBUSTNESS NUMERIC
  • 6. Outlier  To find outlier and extreme values the unsupervised filter interquartile range can be used  Outlier and extreme_values attributes were created  Unsupervised Instance Filter → RemoveWithValues:This filter removes instances according to the values of an attribute. RemoveWithValues InterquartileRange
  • 7. Robustness distribution  Due to the simulation process, many physically unfeasible values were created  All this values were deleted keeping only the plausible range of robustness attribute value spanning from 0 to 220  Playing with InterquartileRange filter and outlier factor we can obtain the following histogram for the robustness attribute
  • 8. Thresholding of robustness class  A threshold of 100 for the robustness was found accetable to discriminate between good and bad grasp.  I’ll set the same threshold to divide the robustness values in two distinct classes (1: good grasp, 0: bad grasp)  Class “robustness” is balanced, then accuracy can be used as performance index
  • 9. Data reduction Resample (10%)  It would be useful to do the analysis on the entire dataset with 900.000 instances, but this was not possible from a computational point of view with my laptop  It’s possible to extract a random meaningful subsample thanks to the Resample weka filter  I can do this because during the simulation the values related to grasping are generated randomly, and I am extracting a random quantity (10%) with replacement from the same distribution
  • 10. CrossValidation (10-fold)  A step that creates stratified cross-validation folds from incoming data  Divide a dataset into 10 pieces (“folds”), then hold out each piece in turn for testing and train on the remaining 9 together.This gives 10 evaluation results, which are averaged.  In “stratified” cross-validation, when doing the initial division we ensure that each fold contains approximately the correct proportion of the class values.  Despite the resample, the extrapolated instances are about 83.000.The number of folds used is 10 accordingly
  • 11. FeatureSubset Selection  The feature selection step is implemented embedded in the training phase of the classifier, thanks to the "AttributeSelectedClassifier" block.  for example CfsSubsetEval was used as evaluator with J48 classifier
  • 12. J48 feature selection and graph structure 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 0 0 1 6 1 10 10 10 6 0 9 6 0 0 0 10 5 0 Feature ID N° of times
  • 13. Naive Bayes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 0 0 2 8 0 9 9 9 5 0 9 6 0 0 0 10 5 0 Feature ID N° of times Logistic 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 0 0 2 8 1 9 9 9 5 0 9 6 0 0 0 10 5 0 Feature ID N° of times ID Feature 1 H1_F1J2_VEL 2 H1_F1J2_EFF 3 H1_F1J3_VEL 4 H1_F1J3_EFF 5 H1_F1J1_VEL 6 H1_F1J1_EFF 7 H1_F3J1_VEL 8 H1_F3J1_EFF 9 H1_F3J2_VEL ID Feature 10 H1_F3J2_EFF 11 H1_F3J3_EFF 12 H1_F3J3_EFF 13 H1_F2J1_VEL 14 H1_F2J1_EFF 15 H1_F2J3_VEL 16 H1_F2J3_EFF 17 H1_F2J2_VEL 18 H1_F2JE_EFF
  • 15. J48 Naive Bayes Logistic 80.08 % 76.61 % 76.18 % 0.3705 0.430 0.390 0.801 0.766 0.762 0.165 0.214 0.227 0.841 0.785 0.772 0.801 0.766 0.762 0.800 0.767 0.763 Accuracy RMS TP rate FP rate Precision Recall F-Measure Classifiers Performances  From the data shown in the table, the J48 classifier is the most performing for this task.
  • 16. RandomForest Ensemble methods  The creation of the model for the classifier takes a time in the order of minutes RandomForest (10-fold) Accuracy 83.55 % RMS 0.336 TP rate 0.836 FP rate 0.143 Precision 0.855 Recall 0.836 F-Measure 0.836 J48 80.08 % 0.3705 0.801 0.165 0.841 0.801 0.800
  • 17. Conclusion Random forest classifier creates a set of decision trees from randomly selected subset of training set. It then aggregates the votes from different decision trees to decide the final class of the test object. J48 and Random Forest showed the highest performances The instances correctly classified in the cases mentioned are approximately 80% and 83% New simulation settings for the generation of grasping should be verified, including a different physical engine The data obtained should be validated on the physical system to ensure the kinematic compatibility of the data produced in simulation and by the classification algorithms
  • 18. References  Grasping Dataset https://www.kaggle.com/ugocupcic/grasping-dataset  Data Mining: Concepts andTechniques, 3rd ed. (Jiawei Han, Micheline Kamber and Jian Pei)  https://www.cs.waikato.ac.nz/ml/weka/  https://www.shadowrobot.com/  Smart Grasping Sandbox https://github.com/shadow-robot/smart_grasping_sandbox  Slides aboutWeka made by prof. Ducange