prData
Various test datasets for pattern recognition
Contents
Syntax
- DS=prData(dataName)
- [DS, TS]=prData(dataName)
Description
DS=prData(dataName) generate different dataset for classification.
- dataName:
- 'iris': Iris dataset
- 'wine': Wine dataset
- 'abalone': Abalone dataset
- 'taiji': TaiJi dataset
- 'random2': 2D dataset of random numbers
- 'random3': 3D dataset of random numbers
- 'random6': 6D dataset of random numbers
- 'digit': MNIST dataset of hand-written isolated digits
- '2spirals': Dataset of two spirals
- 'gender': Gender dataset
Example
subplot(2,3,1); DS=prData('random2'); dsScatterPlot(DS); subplot(2,3,2); DS=prData('taiji'); dsScatterPlot(DS); subplot(2,3,3); DS=prData('linSeparable'); dsScatterPlot(DS); subplot(2,3,4); DS=prData('peaks'); dsScatterPlot(DS); subplot(2,3,5); DS=prData('3classes'); dsScatterPlot(DS); subplot(2,3,6); DS=prData('nonlinearSeparable'); dsScatterPlot(DS);