clear
close all
clc

files = ["train.csv", "dev.csv", "eval.csv"];

for i = 1:3

data = readmatrix(files(i));
lx = (length(data));
half = ceil(lx/2);
class1 = data(1:half,:);
class2 =  data(half+1:lx,:);
figure
scatter3(class1(:,1), class1(:,2), class1(:,3))
hold on
scatter3(class2(:,1), class2(:,2), class2(:,3), '+')
hold off
view([90, 0])
title(files(i))
legend('class 1','class 2')
end