ISML Machine Learning, Lab 1 - Basic Matlab and Data Generation


This lab is about getting started with Matlab and data generation. The goal of the lab is to get familiar with
Matlab syntax and to get a practical grasp of what we have discussed in class. Follow the instructions below. Think hard before you call the instructors!

1. Warm up - Welcome to Matlab!

2. Core - data generation

Open the Matlab file MixGauss.m

[X1, Y1] = MixGauss([[0;0],[1;1]],[0.5,0.25],1000)
figure(1); scatter(X1(:,1),X1(:,2),25,Y1); %type "help scatter" to see what the parameters mean
title('dataset 1')

3. If you have time - More experiments