EXP1
EXP1
AIM:
Data pre-processing methods on student and label datasets.
Description:
We need to create an employee table with a training dataset that includes attributes like name, ID,
salary, experience, gender, and phone no.
Procedure:
1. Launch the Weka application and open the Explorer tab. This will create a new workspace.
2. Use a text editor or notepad to write the following code defining your ARFF dataset (Attribute-
Relation File Format).
@relation employee
@attribute id numeric
@data
x,101,low,2,male,250311
y,102,high,3,female,251665
z,103,medium,1,male,240238
a,104,low,5,female,200200
b,105,high,2,male,240240
3. Save the file with a .arff extension. The file icon will change to indicate it is in ARFF format.
4. In the Explorer window, click the "Open file" button in the top left.
5. Navigate to and select the .arff file you created. Click Open.
6. The dataset will now be visualized in the right-side window.
7. Click the Edit button at the top right.
8. The output will be displayed in the viewer.
Result: