首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
COMP-4250程序设计讲解、辅导Data Analytics、辅导Python,Java编程 辅导Python编程|解析R语言编程
项目预算:
开发周期:
发布时间:
要求地区:
COMP-4250 Big Data Analytics and Database Design
Project II
Data Mining with Weka
Deadline: End of Sunday March 28, 2021
Objective
The objective of this project is to gain hands-on experience using Weka (a popular data mining
software) to build models from real world datasets. You will also evaluate different data mining
algorithms in terms of accuracy and run time. This project is composed of five different tasks. Each
task is explained in detail below. Note that task 5 is optional and you can get up to an extra 2% for
performing it.
Software
The software to be used in this project is Weka. See the following link to download the latest version.
http://www.cs.waikato.ac.nz/ml/weka/
It is a free software that you can download and install on your machine. A guide on how to use
Weka's Explorer can be found in the attached ExplorerGuide.pdf. Another document about the ARFF
data format can be found in the attached Arff.pdf. Note that Weka is able to handle other data formats
as well (such as csv). However, ARFF is the default format for Weka.
After installing Weka, you can use "java -Xmx256m -jar weka.jar" to modify the heap size when
you invoke the program. You can increase the value of 256m if it is not enough. If not mentioned
explicitly, you should use the default parameters of Weka for each classification algorithm.
Dataset: Along with this file on Blackboard.
Submission
• A pdf file that contains your answers to the tasks.
• The programs, if any, that you write for solving the optional task 5, and a readme file showing
how to use these programs.
• Make a zip file from all of the above files, and name the file as LLL_FFF_DDD.zip, in which
LLL, FFF, and DDD are your last name, first name, and student ID, respectively. One
submission per team is enough, and you should name the team members at the top of your
submitted pdf file.
• Submit the zip file on Blackboard before the deadline.
Task 1 (2%)
Consider the attached lymphography dataset (lymph.arff) that describes 148 patients with 19
attributes. The last attribute is the class attribute that classifies a patient in one of the four categories
2
(normal, metastases, malign_lymph, and fibrosis). Detailed information about the attributes is given
in lymph_info.txt. The data set is in the ARFF format used by Weka.
Use the following learning methods (classification algorithms) that are provided in Weka to learn a
classification model from the dataset with all the attributes:
Ø C4.5 (weka.classifier.trees.J48)
Ø RIPPER (weka.classifier.rules.JRip)
For each learning method, report only the classification model learned from the dataset. Therefore,
copy and paste the “Classifier model (full training set)” from Weka output to your report. For C4.5,
it would be “J48 pruned tree”. For RIPPER, it would be “JRIP rules:”.
Task 2 (5%)
You are given a training dataset (monks-train.arff) and a test dataset (monks-test.arff) in which each
training example is represented by seven nominal (categorical) attributes. The last attribute is the
class attribute that classify each data point to one of the two classes (0 and 1). The attribute
information is given below:
Attribute Possible Values
A1 1, 2, 3
A2 1, 2, 3
A3 1, 2
A4 1, 2, 3
A5 1, 2, 3, 4
A6 1, 2
class 0, 1
Use the following learning methods provided in Weka to learn a classification model from the
training dataset and test the model on the test dataset:
Ø C4.5 (weka.classifier.trees.J48)
Ø RIPPER (weka.classifier.rules.JRip)
Ø k-Nearest Neighbor (weka.classifiers.lazy.IBk)
Ø Naive Bayesian Classification (weka.classifiers.bayes.NaiveBayes)
Ø Neural Networks (weka.classifiers.functions.MultilayerPerceptron)
Note that you have to use the “Supplied test set” option in the “Test options” box of Weka and pass
the test data file (monks-test.arff) to Weka.
Report the classification summary, classification accuracy, and confusion matrix of each algorithm
on test dataset. In other words, copy and paste the “Summary”, “Detailed Accuracy By Class”, and
“Confusion Matrix” from Weka output to your report. Also, briefly discuss your results in terms
of accuracy.
4
Task 3 (3%)
You are given a dataset on credit card application approval (credit.arff) in the ARFF format. The
dataset describes 690 customers with 16 attributes. The last attribute is the class attribute describing
whether the customer's application was approved or not. The dataset contains both symbolic and
continuous attributes. Some of the continuous attributes contain missing values (which are marked
by "?"). All attribute names and values have been changed to meaningless symbols to protect
confidentiality of the data.
Randomly split the dataset into a training set (70%) and a test set (30%). This can be done using the
"Percentage split" in the “Test option” box of Weka's "Classify" section (set the number to 70).
Apply each of the following classification algorithms to learn a classification model from the
training set and classify the examples in the test set.
Ø C4.5 (weka.classifier.trees.J48)
Ø Naive Bayesian Classification (weka.classifiers.bayes.NaiveBayes)
Ø Neural Networks (weka.classifiers.functions.MultilayerPerceptron)
Report the classification accuracy of each learning algorithm on the test dataset. In other words,
copy and paste the “Summary”, “Detailed Accuracy By Class”, and “Confusion Matrix” from Weka
output to your report.
Note that C4.5, Naive Bayesian Classification, and Neural Networks can automatically handle both
symbolic and continuous attributes as well as missing values of continuous attributes. Therefore,
you do not need to do any extra preprocessing on the data and can directly run the above learning
algorithms on the input dataset (credit.arff).
Task 4 (5%)
Conduct 10-fold cross validation to evaluate the following classification learning algorithms:
Ø C4.5 (weka.classifiers.trees.J48)
Ø RIPPER (weka.classifier.rules.JRip)
Ø Naive Bayesian Classification (weka.classifiers.bayes.NaiveBayes)
Ø k-Nearest Neighbor (weka.classifiers.lazy.IBk)
Ø Neural networks (weka.classifiers.functions.MultilayerPerceptron)
on the following datasets from the UCI repository:
• Ecoli database (ecoli.arff) (https://archive.ics.uci.edu/ml/datasets/ecoli)
• Glass identification database (glass.arff)
(https://archive.ics.uci.edu/ml/datasets/glass+identification)
• Image segmentation database (image.arff)
(http://archive.ics.uci.edu/ml/datasets/image+segmentation)
Use all attributes to build the model. Report the classification accuracy and run time of each
algorithm on each data set. Discuss the results and determine if there is an overall winner in terms
of accuracy (misclassification rates) and run time.
You can summarize the results in two tables, one for the run time and the other for the accuracy.
Then, you can add few sentences to discuss the results.
6
Task 5 (Optional and up to an extra 2%)
You are given a dataset (risk.csv) that describes 30,000 online purchase orders for an online trader.
Each example in the dataset corresponds to an online purchase order and is described by 43
attributes. A detailed description of the attributes can be found in risk-attributes.txt. The second
attribute is the target (i.e., class) attribute that indicates whether an order has a high risk of default
payment. The class attribute has two values, "yes" meaning high risk and "no" meaning low risk.
With the class attribute, the dataset contains 44 attributes in total. Randomly split the dataset into a
training set (70%) and a test set (30%). This can be done using the "Percentage split" in the “Test
option” box of Weka's "Classify" section (set the number to 70).
Your task is to help the online trader to recognize if a person who makes an order is a customer who
will eventually pay the goods by using data mining techniques. You will use a classification
algorithm to build a prediction model based on the training data. This prediction model shall then
be used for classifying incoming orders into the high risk or low risk class. You need to assign each
order in the test set to one of the two classes based on the prediction model learned from the training
data.
For this learning and classification task, data preprocessing is very important. The dataset is a raw
dataset and contains missing values and possibly irrelevant attributes. You may consider using
feature selection (i.e., removing some attributes) and other data preprocessing techniques (filling
NULL values, discretize values). For example, ORDER_ID will likely be an irrelevant attribute.
In addition to the classification result, you will also need to describe the data preprocessing methods
(e.g., discretizing birth date into buckets) either from Weka or optionally written on your own and
the classification method used in your solution (test different ones). If you write any programs for
data processing, you should submit your programs with a readme file describing how to use the
programs.
Report the classification accuracy (the same as previous tasks) and misclassification cost
computed for the two classes that do not have equal weights. Below is the cost matrix for this dataset.
High risk Low risk
High risk 0 50
Low risk 5 0
Students who have higher classification accuracy and lower misclassification cost will get better
mark for this task.
General Note:
When using data mining algorithms, you should be aware of the limitations of each algorithm. Some
algorithms are not able to handle symbolic attributes or may perform poorly when data contains
symbolic attributes. Some other algorithms may have this problem with continuous attributes. Also,
some algorithms may not be able to handle missing values. In this case, missing values should be
predicted in a preprocessing step before passing the data to the algorithm. Another option is to
remove data points that contain missing values.
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
urba6006代写、java/c++编程语...
2024-12-26
代做program、代写python编程语...
2024-12-26
代写dts207tc、sql编程语言代做
2024-12-25
cs209a代做、java程序设计代写
2024-12-25
cs305程序代做、代写python程序...
2024-12-25
代写csc1001、代做python设计程...
2024-12-24
代写practice test preparatio...
2024-12-24
代写bre2031 – environmental...
2024-12-24
代写ece5550: applied kalman ...
2024-12-24
代做conmgnt 7049 – measurem...
2024-12-24
代写ece3700j introduction to...
2024-12-24
代做adad9311 designing the e...
2024-12-24
代做comp5618 - applied cyber...
2024-12-24
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!