SlideShare a Scribd company logo
1 of 34
Experimental Results:
 Execution time
Time is defined as the fraction of relevant instances that are retrieved. In other words
it is said as the number of correctly predicted on better execution time .the time is carried
out using equation 4.3.
TIME=TP/TP+FN ……………….. (4.3)
 Memory :
Memory is defined as the number of correctly predicted on the better instances
divided by the total number of instances present in dataset and the memory is
calculated using equation 4.4.
MEMORY=TP+TN/TP+TN+FP+FN ……………(4.4)
Screenshot:
AlgorithmName Execution Time
FuzzyCmeansSA 2.098129553
KMeansClustering 22.37031143
The comparisonratiois measuredusingthe execution time;the fuzzycmeansandK-means
clustering.the K–meansperformsbetterexecutiontime.
AlgorithmName Memory
FuzzyCmeansSA 27.55
KMeansClustering 65.742966
The comparisonratiois measuredusingthe memory;the fuzzycmeansandK-meansclustering.the
K–meansperformsbettermemory.
Coding:
NLP_Process.java
/*
* To change thistemplate,choose Tools|Templates
* and openthe template inthe editor.
*/
package conceptdrivenclustering;
importCom.commonfiles.db_conn;
importedu.stanford.nlp.ling.HasWord;
importedu.stanford.nlp.ling.Sentence;
importedu.stanford.nlp.ling.TaggedWord;
importedu.stanford.nlp.tagger.maxent.MaxentTagger;
importjava.io.StringReader;
importjava.sql.ResultSet;
importjava.sql.*;
importjava.util.ArrayList;
importjava.util.List;
importjava.util.Vector;
importjava.util.logging.Level;
importjava.util.logging.Logger;
/**
*
* @author admini
*/
publicclassNLP_Process {
publicstaticvoidmain(Stringargs[]) {
try {
db_conndb = newdb_conn();
db.st.executeUpdate("truncate table tbl_Nlpprocess");
Vectorvstopword=newVector();
Stringsel1= "select*from stopwords";
ResultSetrset1= db.stat1.executeQuery(sel1);
while (rset1.next()) {
vstopword.add(rset1.getString(2));
}
Vectorvfilename =newVector();
Vectorvfilecontent=newVector();
Vectorvcomment= newVector();
//Vectorvdomain= newVector();
Stringsel_qry= "selectfilename,filecontentfromtbl_stopwordremoval;";
ResultSetrset=db.st.executeQuery(sel_qry);
while (rset.next()) {
Stringcomm = "";
Stringtitle = rset.getString(1);
vfilename.add(title);
Stringfilecontent=rset.getString(2);
// Stringdomain= rset.getString(3);
// vdomain.add(domain);
Stringcommentsarr[] =filecontent.split("");
for (intk= 0; k < commentsarr.length;k++) {
Stringword = commentsarr[k];
// out.println(word);
booleanflag= false;
for (intx = 0; x < vstopword.size();x++) {
if (word.trim().equalsIgnoreCase(vstopword.get(x).toString().trim())) {
flag= true;
}
}
if (flag== true) {
} else {
MaxentTaggertagger= new MaxentTagger("D:/left3words-wsj-0-18.tagger");
@SuppressWarnings("unchecked")
StringstringToBeParsed=word;
StringReaderreader=newStringReader(stringToBeParsed);
List<List<HasWord>>sentences=tagger.tokenizeText(reader); //new
BufferedReader(new FileReader("testdata.txt")));
for(List<HasWord>sentence :sentences) {
ArrayList<TaggedWord>tSentence=tagger.tagSentence(sentence);
Stringstr = Sentence.listToString(tSentence,false);
//System.out.println(str);
Stringstr1[] = str.split("");
for (inti = 0; i < str1.length;i++) {
// System.out.println("------"+ str1[i].toString());
if (str1[i].toString().contains("/NN")) {
comm = comm+ word+ " ";
}//jj //jjr
if (str1[i].toString().contains("/JJ")) {
comm = comm+ word+ " ";
}
if (str1[i].toString().contains("/JJR")) {
comm = comm+ word+ " ";
}
if (str1[i].toString().contains("/NNP")) {
comm = comm+ word+ " ";
}
}
}
}
}
Stringinsert_qry= "insertintotbl_Nlpprocessvalues('"+title + "','" + filecontent+"','" +
comm + "')";
//System.out.println("---"+insert_qry);
db.stat4.executeUpdate(insert_qry);
vcomment.add(comm);
}
} catch (Exceptionex) {
Logger.getLogger(NLP_Process.class.getName()).log(Level.SEVERE,null,ex);
}
}
}
FuzzyCmeansClustering.java
/*
* To change thistemplate,choose Tools|Templates
* and openthe template inthe editor.
*/
package clustering;
importCom.commonfiles.db_conn;
importCom.commonfiles.tableview1;
importjava.sql.*;
importjava.util.*;
/**
*
* @author Lap1
*/
publicclassFuzzyCmeansandSimulatedannealing{
publicstaticvoidmain(Stringargs[])
{
db_conndb=newdb_conn();
try {
double starttime1= System.nanoTime();
Runtime run= Runtime.getRuntime();
double free =run.freeMemory();
double total = run.totalMemory();
double max = run.maxMemory();
double used=total - free;
db.st.executeUpdate("truncate table tbl_cluster_fcmsa");
intcount = 0;
Stringsel_qry_sum= "selectcontents,count(wc) fromtbl_weight";
ResultSetrset22= db.st1.executeQuery(sel_qry_sum);
while (rset22.next()){
count = Integer.parseInt(rset22.getString(2));
}
intheat=5;
intcool=5;
intfmemberfun=0;
intmax1 = 0;
intmin = 0;
Vectorvc = newVector();
Stringsel_qry= "selectcontents,Max(wc) fromtbl_weight orderbywc";
System.out.println(sel_qry);
ResultSetrset1= db.st2.executeQuery(sel_qry);
while (rset1.next()){
max1 = Integer.parseInt(rset1.getString(2));
}
Stringsel_qry1= "selectcontents,Min(wc) fromtbl_weightorderbywc";
ResultSetrset2= db.st3.executeQuery(sel_qry1);
while (rset2.next()){
min = Integer.parseInt(rset2.getString(2));
}
//Mean-Max Membership
intfcenter= max1/2 + min/ 2 ;
System.out.println("------FuzzyCenter-------"+fcenter);
Stringsel_qry2= "select*from tbl_weightwhere wc>='" + (fcenter+heat) +"'
orderby wc";
System.out.println(sel_qry2);
ResultSetrset3= db.st3.executeQuery(sel_qry2);
while (rset3.next()){
String tags= rset3.getString(1);
tags = tags.replace("'","");
tags = tags.replace(",","");
String contents=rset3.getString(2);
//disease =disease.replace("'","");
//disease =disease.replace(",","");
String insert_Qry= "insertintotbl_cluster_fcmsavalues('"+tags + "','" +
contents+ "','" + rset3.getString(3) +"','" + rset3.getString(4) +"', '2' )";
System.out.println(insert_Qry);
db.sta.executeUpdate(insert_Qry);
}
Stringsel_qry4= "select*from tbl_weightwhere wc<='" + (fcenter+heat) + "'
orderby wc";
System.out.println(sel_qry4);
ResultSetrset5= db.st2.executeQuery(sel_qry4);
while (rset5.next()){
String tags= rset5.getString(1);
tags = tags.replace("'","");
tags = tags.replace(",","");
String contents=rset5.getString(2);
//disease =disease.replace("'","");
//disease =disease.replace(",","");
String insert_Qry= "insertintotbl_cluster_fcmsavalues('"+tags + "','" +
contents+ "','" + rset5.getString(3) +"','" + rset5.getString(4) +"','1' )";
System.out.println(insert_Qry);
db.stat4.executeUpdate(insert_Qry);
}
Runtime run1= Runtime.getRuntime();
double free1= run1.freeMemory();
double total1= run1.totalMemory();
double used1= total1- free1;
double total_exememrory=used1- used;
floatumemory= (float) total_exememrory/1024/10;
System.out.println("-UsedMemory--"+umemory);
double Endtime =System.nanoTime();
double ExeTime =(Endtime - starttime1) /60 / 60/10;
System.out.println("Total ExecutionTime "+ExeTime/10000);
Stringinsert_performence="insertintotbl_performence_fcmvalues( 'Fuzzy CmeansSA ',
'ExecutionTime','"+Math.abs(ExeTime )/10000+"') ";
db.st.executeUpdate(insert_performence);
Stringinsert_performence1="insertintotbl_performence_fcmvalues( 'FuzzyCmeansSA ',
'Memory', '"+Math.abs(umemory)+"') ";
db.st2.executeUpdate(insert_performence1);
tableview1tv=newtableview1();
tv.table("select*fromtbl_cluster_fcmsa","FuzzyCmeansClusterandSA");
} catch (Exceptionexpp) {
expp.printStackTrace();
}
}
}
Kmeans_Clustering.java
/*
* To change thistemplate,choose Tools|Templates
* and openthe template inthe editor.
*/
package clustering;
importCom.commonfiles.db_conn;
importCom.commonfiles.tableview1;
importjava.sql.*;
/**
*
* @author Lap1
*/
publicclassClustering{
publicstaticvoidmain(Stringargs[])
{
db_conndb=newdb_conn();
try{
double starttime1= System.nanoTime();
Runtime run= Runtime.getRuntime();
double free =run.freeMemory();
double total = run.totalMemory();
double maxmem=run.maxMemory();
double used=total - free;
ResultSetrset=db.sta1.executeQuery("select*fromtbl_weight");
while(rset.next())
{
Stringfilename=rset.getString(1);
Stringfilecontents=rset.getString(2);
Stringtags=rset.getString(3);
intwc=Integer.parseInt(rset.getString(4));
}
intmax=0;
Stringsel_max="Selectmax(wc) fromtbl_weight";
ResultSetrset1=db.stat4.executeQuery(sel_max);
while(rset1.next())
{
max=Integer.parseInt(rset1.getString(1));
}
intnoofcluster=4;
intstart=0;
intend=max/4;
for(inti=0;i<noofcluster;i++)
{
Stringsel_qry="select*fromtbl_weightwhere wc>"+start+"andwc<="+end+"";
Thread.sleep(2000);
tableview1tv=newtableview1();
tv.table(sel_qry,"Cluster---"+(i+1) );
start=end;
end=start+end;
}
Runtime run1= Runtime.getRuntime();
double free1= run1.freeMemory();
double total1= run1.totalMemory();
double used1= total1- free1;
double total_exememrory=used1- used;
floatumemory= (float) total_exememrory/1024/10;
System.out.println("-UsedMemory--"+umemory);
double Endtime =System.nanoTime();
double ExeTime =(Endtime - starttime1) /60 / 60/10;
System.out.println("Total ExecutionTime "+ExeTime/10000);
Stringinsert_performence="insertintotbl_performence_fcmvalues( 'KMeansClustering ',
'ExecutionTime','"+Math.abs(ExeTime )/10000+"') ";
db.st.executeUpdate(insert_performence);
Stringinsert_performence1="insertintotbl_performence_fcmvalues( 'KMeansClustering
', 'Memory', '"+Math.abs(umemory)+"') ";
db.st2.executeUpdate(insert_performence1);
}catch(Exceptionexpp)
{
expp.printStackTrace();
}
}
}

More Related Content

What's hot

Data Analytics and Simulation in Parallel with MATLAB*
Data Analytics and Simulation in Parallel with MATLAB*Data Analytics and Simulation in Parallel with MATLAB*
Data Analytics and Simulation in Parallel with MATLAB*Intel® Software
 
Parallel Processing with IPython
Parallel Processing with IPythonParallel Processing with IPython
Parallel Processing with IPythonEnthought, Inc.
 
4 dynamic memory allocation
4 dynamic memory allocation4 dynamic memory allocation
4 dynamic memory allocationFrijo Francis
 
Smarter Scheduling
Smarter SchedulingSmarter Scheduling
Smarter SchedulingDavid Evans
 
Router Queue Simulation in C++ in MMNN and MM1 conditions
Router Queue Simulation in C++ in MMNN and MM1 conditionsRouter Queue Simulation in C++ in MMNN and MM1 conditions
Router Queue Simulation in C++ in MMNN and MM1 conditionsMorteza Mahdilar
 
Memory allocation in c
Memory allocation in cMemory allocation in c
Memory allocation in cPrabhu Govind
 
Stop Guessing and Start Measuring - Benchmarking Practice (Poly Version)
 Stop Guessing and Start Measuring - Benchmarking Practice (Poly Version) Stop Guessing and Start Measuring - Benchmarking Practice (Poly Version)
Stop Guessing and Start Measuring - Benchmarking Practice (Poly Version)Tobias Pfeiffer
 
2Bytesprog2 course_2014_c8_units
2Bytesprog2 course_2014_c8_units2Bytesprog2 course_2014_c8_units
2Bytesprog2 course_2014_c8_unitskinan keshkeh
 
How fast is it really? Benchmarking in Practice (Ruby Version)
How fast is it really? Benchmarking in Practice (Ruby Version)How fast is it really? Benchmarking in Practice (Ruby Version)
How fast is it really? Benchmarking in Practice (Ruby Version)Tobias Pfeiffer
 
Introduction to Deep Learning, Keras, and Tensorflow
Introduction to Deep Learning, Keras, and TensorflowIntroduction to Deep Learning, Keras, and Tensorflow
Introduction to Deep Learning, Keras, and TensorflowOswald Campesato
 
Working with NS2
Working with NS2Working with NS2
Working with NS2chanchal214
 
Task allocation and scheduling inmultiprocessors
Task allocation and scheduling inmultiprocessorsTask allocation and scheduling inmultiprocessors
Task allocation and scheduling inmultiprocessorsDon William
 
Dynamic memory Allocation in c language
Dynamic memory Allocation in c languageDynamic memory Allocation in c language
Dynamic memory Allocation in c languagekiran Patel
 
Evaluation of computer performance
Evaluation of computer performanceEvaluation of computer performance
Evaluation of computer performancePrasenjit Dey
 
Introduction to TensorFlow 2 and Keras
Introduction to TensorFlow 2 and KerasIntroduction to TensorFlow 2 and Keras
Introduction to TensorFlow 2 and KerasOswald Campesato
 
Dynamic Memory allocation
Dynamic Memory allocationDynamic Memory allocation
Dynamic Memory allocationGrishma Rajput
 

What's hot (20)

Data Analytics and Simulation in Parallel with MATLAB*
Data Analytics and Simulation in Parallel with MATLAB*Data Analytics and Simulation in Parallel with MATLAB*
Data Analytics and Simulation in Parallel with MATLAB*
 
Parallel Processing with IPython
Parallel Processing with IPythonParallel Processing with IPython
Parallel Processing with IPython
 
4 dynamic memory allocation
4 dynamic memory allocation4 dynamic memory allocation
4 dynamic memory allocation
 
Smarter Scheduling
Smarter SchedulingSmarter Scheduling
Smarter Scheduling
 
~Ns2~
~Ns2~~Ns2~
~Ns2~
 
Router Queue Simulation in C++ in MMNN and MM1 conditions
Router Queue Simulation in C++ in MMNN and MM1 conditionsRouter Queue Simulation in C++ in MMNN and MM1 conditions
Router Queue Simulation in C++ in MMNN and MM1 conditions
 
Memory allocation in c
Memory allocation in cMemory allocation in c
Memory allocation in c
 
Stop Guessing and Start Measuring - Benchmarking Practice (Poly Version)
 Stop Guessing and Start Measuring - Benchmarking Practice (Poly Version) Stop Guessing and Start Measuring - Benchmarking Practice (Poly Version)
Stop Guessing and Start Measuring - Benchmarking Practice (Poly Version)
 
2Bytesprog2 course_2014_c8_units
2Bytesprog2 course_2014_c8_units2Bytesprog2 course_2014_c8_units
2Bytesprog2 course_2014_c8_units
 
How fast is it really? Benchmarking in Practice (Ruby Version)
How fast is it really? Benchmarking in Practice (Ruby Version)How fast is it really? Benchmarking in Practice (Ruby Version)
How fast is it really? Benchmarking in Practice (Ruby Version)
 
Multirate sim
Multirate simMultirate sim
Multirate sim
 
Introduction to Deep Learning, Keras, and Tensorflow
Introduction to Deep Learning, Keras, and TensorflowIntroduction to Deep Learning, Keras, and Tensorflow
Introduction to Deep Learning, Keras, and Tensorflow
 
Working with NS2
Working with NS2Working with NS2
Working with NS2
 
Task allocation and scheduling inmultiprocessors
Task allocation and scheduling inmultiprocessorsTask allocation and scheduling inmultiprocessors
Task allocation and scheduling inmultiprocessors
 
H2 o berkeleydltf
H2 o berkeleydltfH2 o berkeleydltf
H2 o berkeleydltf
 
Dynamic memory Allocation in c language
Dynamic memory Allocation in c languageDynamic memory Allocation in c language
Dynamic memory Allocation in c language
 
Evaluation of computer performance
Evaluation of computer performanceEvaluation of computer performance
Evaluation of computer performance
 
Introduction to TensorFlow 2 and Keras
Introduction to TensorFlow 2 and KerasIntroduction to TensorFlow 2 and Keras
Introduction to TensorFlow 2 and Keras
 
Redux Thunk
Redux ThunkRedux Thunk
Redux Thunk
 
Dynamic Memory allocation
Dynamic Memory allocationDynamic Memory allocation
Dynamic Memory allocation
 

Similar to Result and screen shots

From Tensorflow Graph to Tensorflow Eager
From Tensorflow Graph to Tensorflow EagerFrom Tensorflow Graph to Tensorflow Eager
From Tensorflow Graph to Tensorflow EagerGuy Hadash
 
Apache Flink Training: DataStream API Part 1 Basic
 Apache Flink Training: DataStream API Part 1 Basic Apache Flink Training: DataStream API Part 1 Basic
Apache Flink Training: DataStream API Part 1 BasicFlink Forward
 
An eternal question of timing
An eternal question of timingAn eternal question of timing
An eternal question of timingPVS-Studio
 
Parallel Programming With Dot Net
Parallel Programming With Dot NetParallel Programming With Dot Net
Parallel Programming With Dot NetNeeraj Kaushik
 
Anirudh Koul. 30 Golden Rules of Deep Learning Performance
Anirudh Koul. 30 Golden Rules of Deep Learning PerformanceAnirudh Koul. 30 Golden Rules of Deep Learning Performance
Anirudh Koul. 30 Golden Rules of Deep Learning PerformanceLviv Startup Club
 
Program Assignment Process ManagementObjective This program a.docx
Program Assignment  Process ManagementObjective This program a.docxProgram Assignment  Process ManagementObjective This program a.docx
Program Assignment Process ManagementObjective This program a.docxwkyra78
 
Performance analysis and randamized agoritham
Performance analysis and randamized agorithamPerformance analysis and randamized agoritham
Performance analysis and randamized agorithamlilyMalar1
 
Introduction to MPI
Introduction to MPIIntroduction to MPI
Introduction to MPIyaman dua
 
Node.js System: The Landing
Node.js System: The LandingNode.js System: The Landing
Node.js System: The LandingHaci Murat Yaman
 
OPM Recipe designer notes
OPM Recipe designer notesOPM Recipe designer notes
OPM Recipe designer notested-xu
 
Writing a TSDB from scratch_ performance optimizations.pdf
Writing a TSDB from scratch_ performance optimizations.pdfWriting a TSDB from scratch_ performance optimizations.pdf
Writing a TSDB from scratch_ performance optimizations.pdfRomanKhavronenko
 
week3_srcDoWhileLoopFactorial.javaweek3_srcDoWhileLoopFactoria.docx
week3_srcDoWhileLoopFactorial.javaweek3_srcDoWhileLoopFactoria.docxweek3_srcDoWhileLoopFactorial.javaweek3_srcDoWhileLoopFactoria.docx
week3_srcDoWhileLoopFactorial.javaweek3_srcDoWhileLoopFactoria.docxalanfhall8953
 
Inference accelerators
Inference acceleratorsInference accelerators
Inference acceleratorsDarshanG13
 
#define ENABLE_COMMANDER#define ENABLE_REPORTER#include c.docx
#define ENABLE_COMMANDER#define ENABLE_REPORTER#include c.docx#define ENABLE_COMMANDER#define ENABLE_REPORTER#include c.docx
#define ENABLE_COMMANDER#define ENABLE_REPORTER#include c.docxkatherncarlyle
 
A peek on numerical programming in perl and python e christopher dyken 2005
A peek on numerical programming in perl and python  e christopher dyken  2005A peek on numerical programming in perl and python  e christopher dyken  2005
A peek on numerical programming in perl and python e christopher dyken 2005Jules Krdenas
 
Exploitation of counter overflows in the Linux kernel
Exploitation of counter overflows in the Linux kernelExploitation of counter overflows in the Linux kernel
Exploitation of counter overflows in the Linux kernelVitaly Nikolenko
 

Similar to Result and screen shots (20)

Writing Faster Python 3
Writing Faster Python 3Writing Faster Python 3
Writing Faster Python 3
 
Keras and TensorFlow
Keras and TensorFlowKeras and TensorFlow
Keras and TensorFlow
 
Microkernel Development
Microkernel DevelopmentMicrokernel Development
Microkernel Development
 
From Tensorflow Graph to Tensorflow Eager
From Tensorflow Graph to Tensorflow EagerFrom Tensorflow Graph to Tensorflow Eager
From Tensorflow Graph to Tensorflow Eager
 
Apache Flink Training: DataStream API Part 1 Basic
 Apache Flink Training: DataStream API Part 1 Basic Apache Flink Training: DataStream API Part 1 Basic
Apache Flink Training: DataStream API Part 1 Basic
 
An eternal question of timing
An eternal question of timingAn eternal question of timing
An eternal question of timing
 
Parallel Programming With Dot Net
Parallel Programming With Dot NetParallel Programming With Dot Net
Parallel Programming With Dot Net
 
Anirudh Koul. 30 Golden Rules of Deep Learning Performance
Anirudh Koul. 30 Golden Rules of Deep Learning PerformanceAnirudh Koul. 30 Golden Rules of Deep Learning Performance
Anirudh Koul. 30 Golden Rules of Deep Learning Performance
 
Program Assignment Process ManagementObjective This program a.docx
Program Assignment  Process ManagementObjective This program a.docxProgram Assignment  Process ManagementObjective This program a.docx
Program Assignment Process ManagementObjective This program a.docx
 
Performance analysis and randamized agoritham
Performance analysis and randamized agorithamPerformance analysis and randamized agoritham
Performance analysis and randamized agoritham
 
CPP Homework Help
CPP Homework HelpCPP Homework Help
CPP Homework Help
 
Introduction to MPI
Introduction to MPIIntroduction to MPI
Introduction to MPI
 
Node.js System: The Landing
Node.js System: The LandingNode.js System: The Landing
Node.js System: The Landing
 
OPM Recipe designer notes
OPM Recipe designer notesOPM Recipe designer notes
OPM Recipe designer notes
 
Writing a TSDB from scratch_ performance optimizations.pdf
Writing a TSDB from scratch_ performance optimizations.pdfWriting a TSDB from scratch_ performance optimizations.pdf
Writing a TSDB from scratch_ performance optimizations.pdf
 
week3_srcDoWhileLoopFactorial.javaweek3_srcDoWhileLoopFactoria.docx
week3_srcDoWhileLoopFactorial.javaweek3_srcDoWhileLoopFactoria.docxweek3_srcDoWhileLoopFactorial.javaweek3_srcDoWhileLoopFactoria.docx
week3_srcDoWhileLoopFactorial.javaweek3_srcDoWhileLoopFactoria.docx
 
Inference accelerators
Inference acceleratorsInference accelerators
Inference accelerators
 
#define ENABLE_COMMANDER#define ENABLE_REPORTER#include c.docx
#define ENABLE_COMMANDER#define ENABLE_REPORTER#include c.docx#define ENABLE_COMMANDER#define ENABLE_REPORTER#include c.docx
#define ENABLE_COMMANDER#define ENABLE_REPORTER#include c.docx
 
A peek on numerical programming in perl and python e christopher dyken 2005
A peek on numerical programming in perl and python  e christopher dyken  2005A peek on numerical programming in perl and python  e christopher dyken  2005
A peek on numerical programming in perl and python e christopher dyken 2005
 
Exploitation of counter overflows in the Linux kernel
Exploitation of counter overflows in the Linux kernelExploitation of counter overflows in the Linux kernel
Exploitation of counter overflows in the Linux kernel
 

Recently uploaded

How Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingHow Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingAggregage
 
Unveiling the Top Chartered Accountants in India and Their Staggering Net Worth
Unveiling the Top Chartered Accountants in India and Their Staggering Net WorthUnveiling the Top Chartered Accountants in India and Their Staggering Net Worth
Unveiling the Top Chartered Accountants in India and Their Staggering Net WorthShaheen Kumar
 
Stock Market Brief Deck for 4/24/24 .pdf
Stock Market Brief Deck for 4/24/24 .pdfStock Market Brief Deck for 4/24/24 .pdf
Stock Market Brief Deck for 4/24/24 .pdfMichael Silva
 
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130  Available With RoomVIP Kolkata Call Girl Serampore 👉 8250192130  Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Roomdivyansh0kumar0
 
The Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarThe Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarHarsh Kumar
 
Quantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector CompaniesQuantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector Companiesprashantbhati354
 
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdfBPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdfHenry Tapper
 
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130Suhani Kapoor
 
Attachment Of Assets......................
Attachment Of Assets......................Attachment Of Assets......................
Attachment Of Assets......................AmanBajaj36
 
Log your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignLog your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignHenry Tapper
 
20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdf20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdfAdnet Communications
 
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办fqiuho152
 
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services  9892124323 | ₹,4500 With Room Free DeliveryMalad Call Girl in Services  9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free DeliveryPooja Nehwal
 
Instant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School DesignsInstant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School Designsegoetzinger
 
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Sapana Sha
 
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...makika9823
 
fca-bsps-decision-letter-redacted (1).pdf
fca-bsps-decision-letter-redacted (1).pdffca-bsps-decision-letter-redacted (1).pdf
fca-bsps-decision-letter-redacted (1).pdfHenry Tapper
 
call girls in Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in  Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in  Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

How Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingHow Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of Reporting
 
Unveiling the Top Chartered Accountants in India and Their Staggering Net Worth
Unveiling the Top Chartered Accountants in India and Their Staggering Net WorthUnveiling the Top Chartered Accountants in India and Their Staggering Net Worth
Unveiling the Top Chartered Accountants in India and Their Staggering Net Worth
 
Stock Market Brief Deck for 4/24/24 .pdf
Stock Market Brief Deck for 4/24/24 .pdfStock Market Brief Deck for 4/24/24 .pdf
Stock Market Brief Deck for 4/24/24 .pdf
 
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130  Available With RoomVIP Kolkata Call Girl Serampore 👉 8250192130  Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
 
The Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarThe Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh Kumar
 
Quantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector CompaniesQuantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector Companies
 
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdfBPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
 
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
 
Attachment Of Assets......................
Attachment Of Assets......................Attachment Of Assets......................
Attachment Of Assets......................
 
Log your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignLog your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaign
 
20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdf20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdf
 
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
 
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
 
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services  9892124323 | ₹,4500 With Room Free DeliveryMalad Call Girl in Services  9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free Delivery
 
Commercial Bank Economic Capsule - April 2024
Commercial Bank Economic Capsule - April 2024Commercial Bank Economic Capsule - April 2024
Commercial Bank Economic Capsule - April 2024
 
Instant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School DesignsInstant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School Designs
 
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
 
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
 
fca-bsps-decision-letter-redacted (1).pdf
fca-bsps-decision-letter-redacted (1).pdffca-bsps-decision-letter-redacted (1).pdf
fca-bsps-decision-letter-redacted (1).pdf
 
call girls in Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in  Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in  Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Nand Nagri (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 

Result and screen shots

  • 1. Experimental Results:  Execution time Time is defined as the fraction of relevant instances that are retrieved. In other words it is said as the number of correctly predicted on better execution time .the time is carried out using equation 4.3. TIME=TP/TP+FN ……………….. (4.3)  Memory : Memory is defined as the number of correctly predicted on the better instances divided by the total number of instances present in dataset and the memory is calculated using equation 4.4. MEMORY=TP+TN/TP+TN+FP+FN ……………(4.4)
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. AlgorithmName Execution Time FuzzyCmeansSA 2.098129553 KMeansClustering 22.37031143 The comparisonratiois measuredusingthe execution time;the fuzzycmeansandK-means clustering.the K–meansperformsbetterexecutiontime.
  • 17. AlgorithmName Memory FuzzyCmeansSA 27.55 KMeansClustering 65.742966 The comparisonratiois measuredusingthe memory;the fuzzycmeansandK-meansclustering.the K–meansperformsbettermemory.
  • 18. Coding: NLP_Process.java /* * To change thistemplate,choose Tools|Templates * and openthe template inthe editor. */ package conceptdrivenclustering; importCom.commonfiles.db_conn; importedu.stanford.nlp.ling.HasWord; importedu.stanford.nlp.ling.Sentence; importedu.stanford.nlp.ling.TaggedWord; importedu.stanford.nlp.tagger.maxent.MaxentTagger; importjava.io.StringReader; importjava.sql.ResultSet; importjava.sql.*; importjava.util.ArrayList; importjava.util.List; importjava.util.Vector; importjava.util.logging.Level;
  • 19. importjava.util.logging.Logger; /** * * @author admini */ publicclassNLP_Process { publicstaticvoidmain(Stringargs[]) { try { db_conndb = newdb_conn(); db.st.executeUpdate("truncate table tbl_Nlpprocess"); Vectorvstopword=newVector(); Stringsel1= "select*from stopwords"; ResultSetrset1= db.stat1.executeQuery(sel1); while (rset1.next()) { vstopword.add(rset1.getString(2)); } Vectorvfilename =newVector(); Vectorvfilecontent=newVector(); Vectorvcomment= newVector();
  • 20. //Vectorvdomain= newVector(); Stringsel_qry= "selectfilename,filecontentfromtbl_stopwordremoval;"; ResultSetrset=db.st.executeQuery(sel_qry); while (rset.next()) { Stringcomm = ""; Stringtitle = rset.getString(1); vfilename.add(title); Stringfilecontent=rset.getString(2); // Stringdomain= rset.getString(3); // vdomain.add(domain); Stringcommentsarr[] =filecontent.split(""); for (intk= 0; k < commentsarr.length;k++) { Stringword = commentsarr[k]; // out.println(word); booleanflag= false; for (intx = 0; x < vstopword.size();x++) { if (word.trim().equalsIgnoreCase(vstopword.get(x).toString().trim())) { flag= true; }
  • 21. } if (flag== true) { } else { MaxentTaggertagger= new MaxentTagger("D:/left3words-wsj-0-18.tagger"); @SuppressWarnings("unchecked") StringstringToBeParsed=word; StringReaderreader=newStringReader(stringToBeParsed); List<List<HasWord>>sentences=tagger.tokenizeText(reader); //new BufferedReader(new FileReader("testdata.txt"))); for(List<HasWord>sentence :sentences) { ArrayList<TaggedWord>tSentence=tagger.tagSentence(sentence); Stringstr = Sentence.listToString(tSentence,false); //System.out.println(str); Stringstr1[] = str.split(""); for (inti = 0; i < str1.length;i++) { // System.out.println("------"+ str1[i].toString()); if (str1[i].toString().contains("/NN")) { comm = comm+ word+ " "; }//jj //jjr if (str1[i].toString().contains("/JJ")) {
  • 22. comm = comm+ word+ " "; } if (str1[i].toString().contains("/JJR")) { comm = comm+ word+ " "; } if (str1[i].toString().contains("/NNP")) { comm = comm+ word+ " "; } } } } } Stringinsert_qry= "insertintotbl_Nlpprocessvalues('"+title + "','" + filecontent+"','" + comm + "')"; //System.out.println("---"+insert_qry); db.stat4.executeUpdate(insert_qry); vcomment.add(comm); } } catch (Exceptionex) { Logger.getLogger(NLP_Process.class.getName()).log(Level.SEVERE,null,ex); } } }
  • 23. FuzzyCmeansClustering.java /* * To change thistemplate,choose Tools|Templates * and openthe template inthe editor. */ package clustering; importCom.commonfiles.db_conn; importCom.commonfiles.tableview1; importjava.sql.*; importjava.util.*; /** * * @author Lap1 */ publicclassFuzzyCmeansandSimulatedannealing{ publicstaticvoidmain(Stringargs[]) { db_conndb=newdb_conn();
  • 24. try { double starttime1= System.nanoTime(); Runtime run= Runtime.getRuntime(); double free =run.freeMemory(); double total = run.totalMemory(); double max = run.maxMemory(); double used=total - free; db.st.executeUpdate("truncate table tbl_cluster_fcmsa"); intcount = 0; Stringsel_qry_sum= "selectcontents,count(wc) fromtbl_weight"; ResultSetrset22= db.st1.executeQuery(sel_qry_sum); while (rset22.next()){ count = Integer.parseInt(rset22.getString(2)); } intheat=5;
  • 25. intcool=5; intfmemberfun=0; intmax1 = 0; intmin = 0; Vectorvc = newVector(); Stringsel_qry= "selectcontents,Max(wc) fromtbl_weight orderbywc"; System.out.println(sel_qry); ResultSetrset1= db.st2.executeQuery(sel_qry); while (rset1.next()){ max1 = Integer.parseInt(rset1.getString(2)); } Stringsel_qry1= "selectcontents,Min(wc) fromtbl_weightorderbywc"; ResultSetrset2= db.st3.executeQuery(sel_qry1); while (rset2.next()){ min = Integer.parseInt(rset2.getString(2)); }
  • 26. //Mean-Max Membership intfcenter= max1/2 + min/ 2 ; System.out.println("------FuzzyCenter-------"+fcenter); Stringsel_qry2= "select*from tbl_weightwhere wc>='" + (fcenter+heat) +"' orderby wc"; System.out.println(sel_qry2); ResultSetrset3= db.st3.executeQuery(sel_qry2); while (rset3.next()){ String tags= rset3.getString(1); tags = tags.replace("'",""); tags = tags.replace(",",""); String contents=rset3.getString(2); //disease =disease.replace("'",""); //disease =disease.replace(",",""); String insert_Qry= "insertintotbl_cluster_fcmsavalues('"+tags + "','" + contents+ "','" + rset3.getString(3) +"','" + rset3.getString(4) +"', '2' )"; System.out.println(insert_Qry); db.sta.executeUpdate(insert_Qry); } Stringsel_qry4= "select*from tbl_weightwhere wc<='" + (fcenter+heat) + "' orderby wc";
  • 27. System.out.println(sel_qry4); ResultSetrset5= db.st2.executeQuery(sel_qry4); while (rset5.next()){ String tags= rset5.getString(1); tags = tags.replace("'",""); tags = tags.replace(",",""); String contents=rset5.getString(2); //disease =disease.replace("'",""); //disease =disease.replace(",",""); String insert_Qry= "insertintotbl_cluster_fcmsavalues('"+tags + "','" + contents+ "','" + rset5.getString(3) +"','" + rset5.getString(4) +"','1' )"; System.out.println(insert_Qry); db.stat4.executeUpdate(insert_Qry); } Runtime run1= Runtime.getRuntime(); double free1= run1.freeMemory(); double total1= run1.totalMemory(); double used1= total1- free1;
  • 28. double total_exememrory=used1- used; floatumemory= (float) total_exememrory/1024/10; System.out.println("-UsedMemory--"+umemory); double Endtime =System.nanoTime(); double ExeTime =(Endtime - starttime1) /60 / 60/10; System.out.println("Total ExecutionTime "+ExeTime/10000); Stringinsert_performence="insertintotbl_performence_fcmvalues( 'Fuzzy CmeansSA ', 'ExecutionTime','"+Math.abs(ExeTime )/10000+"') "; db.st.executeUpdate(insert_performence); Stringinsert_performence1="insertintotbl_performence_fcmvalues( 'FuzzyCmeansSA ', 'Memory', '"+Math.abs(umemory)+"') ";
  • 29. db.st2.executeUpdate(insert_performence1); tableview1tv=newtableview1(); tv.table("select*fromtbl_cluster_fcmsa","FuzzyCmeansClusterandSA"); } catch (Exceptionexpp) { expp.printStackTrace(); } } } Kmeans_Clustering.java /* * To change thistemplate,choose Tools|Templates * and openthe template inthe editor. */ package clustering; importCom.commonfiles.db_conn; importCom.commonfiles.tableview1; importjava.sql.*; /** *
  • 30. * @author Lap1 */ publicclassClustering{ publicstaticvoidmain(Stringargs[]) { db_conndb=newdb_conn(); try{ double starttime1= System.nanoTime(); Runtime run= Runtime.getRuntime(); double free =run.freeMemory(); double total = run.totalMemory(); double maxmem=run.maxMemory(); double used=total - free; ResultSetrset=db.sta1.executeQuery("select*fromtbl_weight"); while(rset.next()) { Stringfilename=rset.getString(1); Stringfilecontents=rset.getString(2);
  • 32. Stringsel_qry="select*fromtbl_weightwhere wc>"+start+"andwc<="+end+""; Thread.sleep(2000); tableview1tv=newtableview1(); tv.table(sel_qry,"Cluster---"+(i+1) ); start=end; end=start+end; } Runtime run1= Runtime.getRuntime(); double free1= run1.freeMemory(); double total1= run1.totalMemory(); double used1= total1- free1; double total_exememrory=used1- used;
  • 33. floatumemory= (float) total_exememrory/1024/10; System.out.println("-UsedMemory--"+umemory); double Endtime =System.nanoTime(); double ExeTime =(Endtime - starttime1) /60 / 60/10; System.out.println("Total ExecutionTime "+ExeTime/10000); Stringinsert_performence="insertintotbl_performence_fcmvalues( 'KMeansClustering ', 'ExecutionTime','"+Math.abs(ExeTime )/10000+"') "; db.st.executeUpdate(insert_performence); Stringinsert_performence1="insertintotbl_performence_fcmvalues( 'KMeansClustering ', 'Memory', '"+Math.abs(umemory)+"') "; db.st2.executeUpdate(insert_performence1); }catch(Exceptionexpp) { expp.printStackTrace(); }
  • 34. } }