<< plot3dot Visualization functions plot_boundary >>

NeuralNet >> Visualization functions > plot_2group

plot_2group

Visulized 2 groups of data, with the data being tagges as 0 and 1 respectively

Syntax

plot_2group(p,t)
plot_2group(p,t,marker0, marker1)

Parameters

p :

2-D data, with x and y, each column build up 1 set of data

t :

Target group, strictly 0 and 1 for the plot function to plot correctly

marker0 :

Marker color and type for group 0

marker1 :

Marker color and type for group 1

Description

This is the function to Visulized 2 groups of data

Examples

x = rand(2,10);
x(:,1:5) = x(:,1:5) + 1;
t = [0 0 0 0 0 1 1 1 1 1];
plot_2group(x,t)

Authors


Report an issue
<< plot3dot Visualization functions plot_boundary >>