联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> Web作业Web作业

日期:2018-09-24 01:56


ECEN 649: Patten Recognitions

Assignment 1 – Fall 2018

Due date: Thursday September 27, 2018

Reading assignment: Lecture notes 1 & 2 (required), Chapter 1, 2, and 9 of the textbook

(recommended), Wikipedia page on Perceptron (recommended)

Computer assignment: For this assignment, please do NOT use any existing software

packages for naive Bayes or Perceptron.

(Naive Bayes) Download the MNIST data sets in the CSV format at https://pjreddie.

com/projects/mnist-in-csv/. Each sample in the data sets is a 28 × 28 binary image of

a hand-written digit (0–9). One sample from the data set is depicted in Figure 1.

Figure 1: A hand-written digit.

1) Use the train set to estimate the probabilities for getting each digit and the conditional

probabilities of individual pixels given the values of the digit. Record your results into

a table.

1

2) For each sample in the test set, use the probabilities estimated from the first part and

Naive Bayes to predict the value of the digit based on the values of all 28 × 28 = 784

pixels. Calculate the success rate of your predictor.

(Perceptron) Download the IRIS data sets in the CSV format from your email. Each sample

from the data sets includes two real-valued features and one binary outcome.

1) Plot each sample from the train set in a 2-D plot. Use the Perceptron algorithm to

learn a half space predictor that completely separates the positive samples from the

negative ones. Plot the decision boundary of your predictor on the same 2-D plot.

2) Plot each sample from the test set and the decision boundary of your predictor in a

separate 2-D plot. Calculate the success rate of your predictor.


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp