Prac01 Guide
Prac01 Guide
Guideline
Outline
▪ Environment setup
▪ Weka introduction
▪ Hands on basic SQL
Environment setup
▪ General advice: Use the provided virtual machine(VM), available at bit.ly/COMP5009VM
▪ If you use lab machine, simply open the VM with VMware
▪ If you use your own laptop:
▪ Windows: download VMware Player and use it to open the VM
▪ Mac: download VirtualBox and follow the steps below:
▪ Use VirtualBox to New a VM
▪ Setup a name, type Linux, version Ubuntu-64bit
▪ Default memory
▪ Use an existing virtual hard disk, and find the .vmdk file in the downloaded
VM folder
▪ Create
▪ If you want to setup without VM, please follow the instruction given by Sonny
Weka introduction
▪ Waikato Environment for Knowledge Analysis (Weka) is a suite of machine
learning software written in Java, developed at the University of Waikato, New
Zealand. It is a free software licensed under the GNU General Public License.
We are going to
explore this one
There are some other panels to be used in the future.
Weka Explorer They will be available after you opened a data file
We are in the
“Preprocess” panel
Let’s open a
data file first
Weka Explorer-after open a file
Overview of the
loaded data Statistics of the
selected attribute
Attribute index
Histogram of the
selected attribute.
Color indicates
class information
Attribute name
SQL
▪ Structured Query Language (SQL) is a standard language for storing,
manipulating and retrieving data in databases.
▪ In this unit, we usually use dataset stored in text files(e.g., .csv, .arff), but
SQL would become handy when dealing with large dataset.
▪ Let’s try it out at
https://www.tutorialspoint.com/execute_sql_online.php
Hands on SQL with web browser
https://www.tutorialspoint.com/execute_sql_online.php
Click here to execute your command