COSC380 Algorithms in Machine Learning Assignment Problem

Assignment Help MATLAB Programming
Reference no: EM132385402

COSC380/580 Algorithms in Machine Learning T2 2019
The University of New England

Assignment 3

Question 1

A single neuron is used as a binary classifier with the activation a = w0 + w1x1 + w2x2. Here w0 is the learned bias, w1 and w2 are the weights learned from the data and x1, x2 are the inputs. The output of the neuron is described by

y(a) = 1/(1 + e)-a

Using the initial weights w = (0, 1, 1) and η = 0.01 and the 3 inputs data below

x1

x2

target t

1

2

0

2

3

0

5

4

1

(a) Give the probabilities that the inputs belong to class 1.

(b) Provide the (hand) calculation for the first 2 iterations in the gradient-descent algorithm (i.e. provide the mathematical calculation in the "Activity rule" and the "Learning rule", updating wi then repeat the "Activity rule" and the "Learning rule" one more time). Write down the equations for the decision boundary in both iterations.

Show and justify all working.

Question 2

Apply a Bayesian approach to learning the parameters of the output function for a single neuron. This time, use Matlab to implement Hamiltonian Monte Carlo for the data set toy.dat. The target distribution will be the likelihood function for a single neuron, and gradient information is now required using this method. Name your file my single neuron.m. Give a contour plot of the learned function for the neuron output, as well as a plot of the sample autocorrelation. How much more efficent is this algorithm compared with Metropolis Monte Carlo?

Question 3

947_Algorithms in Machine Learning.jpg

Given 4 data points in the figure above.

(a) Suggest a neural network model to correctly classify them. Justify your answer.

(b) Briefly describe how your model/algorithm works. Choose a set of initial values and show the calcula- tion for the first iteration.

Show and justify all working.

Verified Expert

In this work machine learning technique is used to classify the given data.mathematical calculation is derived for activity rule and learning rule with gradient descent algorithm.Then more Carlo simulation is done.

Reference no: EM132385402

Questions Cloud

How important is the pay or wage equality to them : Talk to the women in your family and/or at work and ask them about their views on the benefits of educating girls and women today.
Research an airline most-current financial data : Critical analysis of basic economic markers can be very revealing of an airline's financial health. For this assignment, research an airline's most-current.
Progress and performance measurement and evaluation : "Progress and Performance Measurement and Evaluation" of Project Management: The Managerial Process, using Microsoft® Project
What are the air traffic issues and congestion : Using UAE prepare a presentation. The presentation will cover topics as a minimum, the presentation will cover: Government oversight and taxation.
COSC380 Algorithms in Machine Learning Assignment Problem : COSC380 Algorithms in Machine Learning Assignment help and solution, The University of New England, Assessment help - Apply a Bayesian approach to learning
Write one quantitative hypothesis to test in proposed study : Then, provide one to three overarching research question(s) that, if answered, would accomplish the goals of your research and resolve all/part of the research.
Develop innovative analytics and visualization : ITECH7406 Business Intelligence and Data Warehousing Assessment Help and Solution - Federation University - Develop innovative analytics and visualization
Reference guide on 802.11 standards and specifications : The Sunshine Health Corporation would like you to provide an updated explanation and reference guide on 802.11 standards and specifications.
DNSC 2001 Business Analytics II- Assignment problem : DNSC 2001 –Business Analytics II Assignment help -George Washington University-USA-Identify the stocks with the maximum expected return and minimum variance.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd