1 of 16

10-Times Random Split Method in WEKA

  • Course: Databases and Data Mining
  • Practical Session
  • Instructor: Jamolbek Mattiev

2 of 16

Learning Objectives

  • • Understand repeated holdout validation
  • • Perform 10 random splits in WEKA
  • • Calculate mean and standard deviation
  • • Compare with 10-fold cross-validation

3 of 16

What is Random Split?

  • • Dataset divided into training and test sets
  • • Example: 70% train / 30% test
  • • Depends on random seed
  • • Results may vary each run

4 of 16

What is 10-Times Random Split?

  • • Repeat percentage split 10 times
  • • Use different random seeds
  • • Compute average performance
  • • Reduces randomness effect

5 of 16

Software: WEKA Explorer

  • • Open WEKA
  • • Go to Explorer
  • • Load dataset (.arff)
  • • Choose Classify tab

6 of 16

Step 1: Choose Classifier

  • • Click Choose
  • • Select trees → J48
  • • Ensure class attribute is correct

7 of 16

Step 2: Set Percentage Split

  • • Select Percentage split
  • • Set 70% training
  • • Set random seed = 1
  • • Click Start

8 of 16

Step 3: Repeat 10 Times

  • • Change seed from 1 to 10
  • • Run experiment each time
  • • Record accuracy results
  • • Fill results table

9 of 16

Recording Results

  • Run | Seed | Accuracy (%)
  • 1 | 1 |
  • 2 | 2 |
  • ...
  • 10 | 10 |

10 of 16

Mean Accuracy Formula

  • x̄ = (1/10) Σ xi
  • Average of 10 runs
  • Represents overall performance

11 of 16

Standard Deviation Formula

  • σ = sqrt((1/10) Σ (xi − x̄)²)
  • Measures stability
  • Lower value = more stable model

12 of 16

Interpretation

  • • Large variation → unstable model
  • • Small variation → stable model
  • • Small datasets → higher variance

13 of 16

Comparison with 10-Fold CV

  • • 10-Fold uses all samples for testing
  • • More robust estimation
  • • Higher computational cost
  • • Usually lower variance

14 of 16

Advantages & Limitations

  • Advantages:
  • • Simple
  • • Easy to implement
  • Limitations:
  • • Still random
  • • Not as robust as K-fold

15 of 16

Discussion Questions

  • • Why do results change with seed?
  • • Which method is more reliable?
  • • When should we use repeated holdout?

16 of 16

Example Accuracy Variation (10 Random Splits)