Question: Problem 1 - Numerical Differentiation ( 5 0 Points ) As we will discuss later in the course, an important feature of machine learning (
Problem Numerical Differentiation Points
As we will discuss later in the course, an important feature of machine learning ML models is that they
employ nonlinear transformations, often referred to as the activation function which mimics the biology
of how our own neurons process information. One such example is tanx Having an intuition for both
this function and its derivative will be imperative towards grasping how ML models learn.
Consider y tanx
A Describe the behavior of this function by describing why it is considered nonlinear and what
happens to very large positive and negative inputs. max sentences
B Search up online or compute by hand if you really want to the derivative of y tanx How
does the derivative explain the behavior of this function with very large inputs? This is the inherent
regularizing property of arctanmax sentences
C What is a numerical method, and how does it differ from analytical methods? Give an example
where a numerical method may be preferred to an analytical one. max sentences
D Compute y
x x analytically.
E Compute y
x x numerically using a forward difference with h
F Compute y
x x numerically using a secondorder Taylor expansion about x
G What is the error in the numerical approximation in EF
H To the nearest integer fraction of eg
etc. what is the largest hyou can choose to achieve
when using a forward difference? Note: his commonly referred to in the engineering field
as the sampling rate.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
