**Homework 1**

**Download the problems ****here**

**Due date: 13th June before 10:00
AM**

**You would need the following
files for your home work:**

**Description of the files:**

All the six files are ascii files.

**data.dat** contains data for a regression problem, there
is only one variable and one target. It contains 100 data points

**class.txt**, **class2.txt** and **class3.txt** contain data for a two class classification problem.
Each point has 2 features and the last column represents the class label (1 for
class 1 and 0 for class2).

**trgIris.dat** is an ascii file
containing data for a classification problem. The first four columns contains
the 4 features and the remaining

3 columns are the class labels. Note that in this data problem class 1,
2 and 3 are denoted by the vectors (1 0 0), (0 1 0) and (0 0 1). This
representation has certain advantages which we shall see later.

**wr.txt** is also an ascii
file. It contains data for regression problem, the first column is the x and
the other one the y.

**The homework involves writing
programs and drawing plots. It is very convenient to use MATLAB for this
purpose. But you may use any other tool of your choice.**