Spectral Density Periodogram Spectral Density (Chapter 12) Outline

Total Page:16

File Type:pdf, Size:1020Kb

Spectral Density Periodogram Spectral Density (Chapter 12) Outline Spectral Density Periodogram Spectral Density (Chapter 12) Outline 1 Spectral Density 2 Periodogram Arthur Berg Spectral Density (Chapter 12) 2/ 19 Spectral Density Periodogram Spectral Density Periodogram Spectral Approximation Motivating Example Any stationary time series has the approximation Let’s consider the stationary time series q X xt = Uk cos(2π!k t) + Vk sin(2π!k t) xt = U cos(2π!0t) + V sin(2π!0t) k=1 where Uk and Vk are independent zero-mean random variables with where U; V are independent zero-mean random variables with equal 2 2 variances σk at distinct frequencies !k . variances σ . We shall assume !0 > 0, and from the Nyquist rate, we The autocovariance function of xt is (HW 4c Exercise) can further assume !0 < 1=2. q The “period” of xt is 1=!0, i.e. the process makes !0 cycles going from xt X 2 γ(h) = σk cos(2π!k h) to xt+1. k=1 From the formula q e−iα + e−iα In particular X 2 cos(α) = γ(0) = σk 2 |{z} k=1 we have var(xt ) | {z } sum of variances σ2 γ( ) 2 −2π!0h 2πi!0h Note: h is not absolutely summable,1 i.e. γ(h) = σ cos(2π!0h) = e + 2 X 2 jγ(h)j = 1 h=−∞ Arthur Berg Spectral Density (Chapter 12) 4/ 19 Arthur Berg Spectral Density (Chapter 12) 5/ 19 Spectral Density Periodogram Spectral Density Periodogram Riemann-Stieltjes Integration Integration w.r.t. a Step Function Riemann-Stieltjes integration enables one to integrate with respect to a general nondecreasing function. Usual Integration General Situation R g(x) dx R g(x) dF (x) P Given F(x) = αi 1(xi ≤ x), then Case of interest: F(x) is a step function, i.e. a function with a finite Z X number of jump discontinuities. Such an F(x) has the representation g(x) dF(x) = αi g(xi ) n X F(x) = αi 1(xi ≤ x) i=1 So F(x) has jumps at xi with heights αi . (Simplest step function is the Heaviside step function given by H(x) = 1(x > 0).) Arthur Berg Spectral Density (Chapter 12) 6/ 19 Arthur Berg Spectral Density (Chapter 12) 7/ 19 Spectral Density Periodogram Spectral Density Periodogram Back to our Motivating Example General Theorem We can now write the autocovariance function of xt = U cos(2π! t) + V sin(2π! t) 0 0 The autocovariance function for any stationary time series has the as representation Z 1=2 2πi!h σ2 γ(h) = e dF (!) γ(h) = e−2π!0h + 22πi!0h −1=2 2 Z 1=2 for a unique monotonically increasing function F(!) such that = e2πi!h dF (!) −1=2 F(−∞) = F(−1=2) = 0 and F(1) = F(1=2) = σ2: where 8 The function F(!) behaves like a CDF for a discrete random variable, 0; ! < −! > 0 except that F(1) = σ2 = γ(0). More on this later. < σ2 F(!) = 2 ; −!0 ≤ ! < !0 > 2 :σ ;! ≥ !0 2 F(!) jumps by σ =2 at −!0 and !0. Arthur Berg Spectral Density (Chapter 12) 8/ 19 Arthur Berg Spectral Density (Chapter 12) 9/ 19 Spectral Density Periodogram Spectral Density Periodogram Approximating Step Functions Spectral Density Any step function can easily be approximated by an absolutely Suppose the autocovariance function of a stationary process satisfies continuous function. 1 X jγ(h)j < 1 (?) h=−∞ then autocovariance function has the representation Z 1=2 γ(h) = ei!hf (!); h = 0; ±1; ±2;::: −1=2 where f (!) is the spectral density. Similarly, 1 X f (!) = γ(h)e−i!h; −π ≤ ! ≤ π h=−∞ For an absolutely continuous spectral distribution function, a spectral Note: (?) is sufficient, but not necessary, to guarantee a spectral density. density exists. The functions γ(h) and f (!) form a Fourier transform pair. Arthur Berg Spectral Density (Chapter 12) 10/ 19 Arthur Berg Spectral Density (Chapter 12) 11/ 19 Spectral Density Periodogram Spectral Density Periodogram Spectral Density of an ARMA(p; q) Process Example — Spectral Density of an MA(2) and an AR(1) Spectral density of xt = (wt+1 + wt + wt−1)=3. Theorem Let xt by an ARMA(p; q) process (not necessarily causal or invertible) 2 satisfying φ(B)xt = θ(B)wt where wt ∼ WN(0; σ ), θ and φ have no common zeros, and φ has no zeros on the unit circle. Then xt has the spectral density jθ(e−i!)j2 f (!) = σ2 ; −π ≤ ! ≤ π jφ(e−i!)j2 Spectral density of xt = xt−1 − :9xt−2. Many people define the spectral density on −π to π, but this is just a matter of scaling. The spectral density of white noise is a constant (equal to σ2). Arthur Berg Spectral Density (Chapter 12) 12/ 19 Arthur Berg Spectral Density (Chapter 12) 13/ 19 Spectral Density Periodogram Spectral Density Periodogram Discrete Fourier Transform The Periodogram Definition Given data x ;:::; x , the discrete Fourier transform is defined to be 1 n Definition n 1 The periodogram is defined at Fourier frequencies to be I(!j ) where X −2πi!j t d(!j ) = p xt e n 2 t=1 I(!j ) = jd(!j )j for j = 0; 1;:::; n − 1 where wj = j=n are the “Fourier frequencies”. Amazingly, via some mathematical calculations, we have the identity The discrete Fourier transform is a one-to-one transform of the data. The n−1 X −2πi!j h original data can be produced from I(!j ) = γb(h)e h=−(n−1) − 1 n 1 X 2πi!j t xt = p d(! )e n j j=0 Arthur Berg Spectral Density (Chapter 12) 15/ 19 Arthur Berg Spectral Density (Chapter 12) 16/ 19 Spectral Density Periodogram Spectral Density Periodogram Periodogram as an Analysis of Variance Calculation in R The cosine and sine transforms are defined as n 1 X > x = c(1,2,3,2,1) dc(! ) = p xt cos(2π! t) j n j > c1 = cos(2*pi*1:5*1/5) t=1 > s1 = sin(2*pi*1:5*1/5) n 1 X > c2 = cos(2*pi*1:5*2/5) ds(! ) = p xt sin(2π! t) > s2 = sin(2*pi*1:5*2/5) j n j t=1 > omega1 = cbind(c1, s1) > omega2 = cbind(c2, s2) Then the total variation can be written as (for n odd) > anova(lm(x~omega1+omega2)) # ANOVA Table (n−1)=2 (n−1)=2 n h i X ¯ 2 X 2 2 X Analysis of Variance Table (xt − x) = 2 dc(!j ) + ds(!j ) = 2 I(!j ) Response: x t=1 j=1 j=1 Df Sum Sq Mean Sq F value Pr(>F) Source df SS MS omega1 2 2.74164 1.37082 omega2 2 0.05836 0.02918 !1 2 2I(!1) I(!1) Residuals 0 0.00000 ! 2 2I(! ) I(! ) 2 2 2 > abs(fft(x))^2/5 # the periodogram (as a check) . [1] 16.20000000 1.37082039 0.02917961 0.02917961 1.37082039 !(n−1)=2 2 2I(!(n−1)=2) I(!(n−1)=2) Total n − 1 Pn (x − x¯)2 Arthur Berg Spectralt Density=1 (Chaptert 12) 17/ 19 Arthur Berg Spectral Density (Chapter 12) 18/ 19 Spectral Density Periodogram Limitations of the Periodogram From its structure: n−1 X −2πi!j h I(!j ) = γb(h)e h=−(n−1) it looks like a potential estimate of the spectral density given by 1 X f (!) = γ(h)e−2πi!h h=−∞ But there’s a problem: 2I(!j ) d 2 −! χ2 f (!j ) What we would like is a limit to a constant in the right hand side of the above equation. Pros, Cons and fixes to the periodogram will be discussed next time. Arthur Berg Spectral Density (Chapter 12) 19/ 19.
Recommended publications
  • Discontinuous Forcing Functions
    Math 135A, Winter 2012 Discontinuous forcing functions 1 Preliminaries If f(t) is defined on the interval [0; 1), then its Laplace transform is defined to be Z 1 F (s) = L (f(t)) = e−stf(t) dt; 0 as long as this integral is defined and converges. In particular, if f is of exponential order and is piecewise continuous, the Laplace transform of f(t) will be defined. • f is of exponential order if there are constants M and c so that jf(t)j ≤ Mect: Z 1 Since the integral e−stMect dt converges if s > c, then by a comparison test (like (11.7.2) 0 in Salas-Hille-Etgen), the integral defining the Laplace transform of f(t) will converge. • f is piecewise continuous if over each interval [0; b], f(t) has only finitely many discontinuities, and at each point a in [0; b], both of the limits lim f(t) and lim f(t) t!a− t!a+ exist { they need not be equal, but they must exist. (At the endpoints 0 and b, the appropriate one-sided limits must exist.) 2 Step functions Define u(t) to be the function ( 0 if t < 0; u(t) = 1 if t ≥ 0: Then u(t) is called the step function, or sometimes the Heaviside step function: it jumps from 0 to 1 at t = 0. Note that for any number a > 0, the graph of the function u(t − a) is the same as the graph of u(t), but translated right by a: u(t − a) jumps from 0 to 1 at t = a.
    [Show full text]
  • Laplace Transforms: Theory, Problems, and Solutions
    Laplace Transforms: Theory, Problems, and Solutions Marcel B. Finan Arkansas Tech University c All Rights Reserved 1 Contents 43 The Laplace Transform: Basic Definitions and Results 3 44 Further Studies of Laplace Transform 15 45 The Laplace Transform and the Method of Partial Fractions 28 46 Laplace Transforms of Periodic Functions 35 47 Convolution Integrals 45 48 The Dirac Delta Function and Impulse Response 53 49 Solving Systems of Differential Equations Using Laplace Trans- form 61 50 Solutions to Problems 68 2 43 The Laplace Transform: Basic Definitions and Results Laplace transform is yet another operational tool for solving constant coeffi- cients linear differential equations. The process of solution consists of three main steps: • The given \hard" problem is transformed into a \simple" equation. • This simple equation is solved by purely algebraic manipulations. • The solution of the simple equation is transformed back to obtain the so- lution of the given problem. In this way the Laplace transformation reduces the problem of solving a dif- ferential equation to an algebraic problem. The third step is made easier by tables, whose role is similar to that of integral tables in integration. The above procedure can be summarized by Figure 43.1 Figure 43.1 In this section we introduce the concept of Laplace transform and discuss some of its properties. The Laplace transform is defined in the following way. Let f(t) be defined for t ≥ 0: Then the Laplace transform of f; which is denoted by L[f(t)] or by F (s), is defined by the following equation Z T Z 1 L[f(t)] = F (s) = lim f(t)e−stdt = f(t)e−stdt T !1 0 0 The integral which defined a Laplace transform is an improper integral.
    [Show full text]
  • 10 Heat Equation: Interpretation of the Solution
    Math 124A { October 26, 2011 «Viktor Grigoryan 10 Heat equation: interpretation of the solution Last time we considered the IVP for the heat equation on the whole line u − ku = 0 (−∞ < x < 1; 0 < t < 1); t xx (1) u(x; 0) = φ(x); and derived the solution formula Z 1 u(x; t) = S(x − y; t)φ(y) dy; for t > 0; (2) −∞ where S(x; t) is the heat kernel, 1 2 S(x; t) = p e−x =4kt: (3) 4πkt Substituting this expression into (2), we can rewrite the solution as 1 1 Z 2 u(x; t) = p e−(x−y) =4ktφ(y) dy; for t > 0: (4) 4πkt −∞ Recall that to derive the solution formula we first considered the heat IVP with the following particular initial data 1; x > 0; Q(x; 0) = H(x) = (5) 0; x < 0: Then using dilation invariance of the Heaviside step function H(x), and the uniquenessp of solutions to the heat IVP on the whole line, we deduced that Q depends only on the ratio x= t, which lead to a reduction of the heat equation to an ODE. Solving the ODE and checking the initial condition (5), we arrived at the following explicit solution p x= 4kt 1 1 Z 2 Q(x; t) = + p e−p dp; for t > 0: (6) 2 π 0 The heat kernel S(x; t) was then defined as the spatial derivative of this particular solution Q(x; t), i.e. @Q S(x; t) = (x; t); (7) @x and hence it also solves the heat equation by the differentiation property.
    [Show full text]
  • Delta Functions and Distributions
    When functions have no value(s): Delta functions and distributions Steven G. Johnson, MIT course 18.303 notes Created October 2010, updated March 8, 2017. Abstract x = 0. That is, one would like the function δ(x) = 0 for all x 6= 0, but with R δ(x)dx = 1 for any in- These notes give a brief introduction to the mo- tegration region that includes x = 0; this concept tivations, concepts, and properties of distributions, is called a “Dirac delta function” or simply a “delta which generalize the notion of functions f(x) to al- function.” δ(x) is usually the simplest right-hand- low derivatives of discontinuities, “delta” functions, side for which to solve differential equations, yielding and other nice things. This generalization is in- a Green’s function. It is also the simplest way to creasingly important the more you work with linear consider physical effects that are concentrated within PDEs, as we do in 18.303. For example, Green’s func- very small volumes or times, for which you don’t ac- tions are extremely cumbersome if one does not al- tually want to worry about the microscopic details low delta functions. Moreover, solving PDEs with in this volume—for example, think of the concepts of functions that are not classically differentiable is of a “point charge,” a “point mass,” a force plucking a great practical importance (e.g. a plucked string with string at “one point,” a “kick” that “suddenly” imparts a triangle shape is not twice differentiable, making some momentum to an object, and so on.
    [Show full text]
  • An Analytic Exact Form of the Unit Step Function
    Mathematics and Statistics 2(7): 235-237, 2014 http://www.hrpub.org DOI: 10.13189/ms.2014.020702 An Analytic Exact Form of the Unit Step Function J. Venetis Section of Mechanics, Faculty of Applied Mathematics and Physical Sciences, National Technical University of Athens *Corresponding Author: [email protected] Copyright © 2014 Horizon Research Publishing All rights reserved. Abstract In this paper, the author obtains an analytic Meanwhile, there are many smooth analytic exact form of the unit step function, which is also known as approximations to the unit step function as it can be seen in Heaviside function and constitutes a fundamental concept of the literature [4,5,6]. Besides, Sullivan et al [7] obtained a the Operational Calculus. Particularly, this function is linear algebraic approximation to this function by means of a equivalently expressed in a closed form as the summation of linear combination of exponential functions. two inverse trigonometric functions. The novelty of this However, the majority of all these approaches lead to work is that the exact representation which is proposed here closed – form representations consisting of non - elementary is not performed in terms of non – elementary special special functions, e.g. Logistic function, Hyperfunction, or functions, e.g. Dirac delta function or Error function and Error function and also most of its algebraic exact forms are also is neither the limit of a function, nor the limit of a expressed in terms generalized integrals or infinitesimal sequence of functions with point wise or uniform terms, something that complicates the related computational convergence. Therefore it may be much more appropriate in procedures.
    [Show full text]
  • On the Approximation of the Step Function by Raised-Cosine and Laplace Cumulative Distribution Functions
    European International Journal of Science and Technology Vol. 4 No. 9 December, 2015 On the Approximation of the Step function by Raised-Cosine and Laplace Cumulative Distribution Functions Vesselin Kyurkchiev 1 Faculty of Mathematics and Informatics Institute of Mathematics and Informatics, Paisii Hilendarski University of Plovdiv, Bulgarian Academy of Sciences, 24 Tsar Assen Str., 4000 Plovdiv, Bulgaria Email: [email protected] Nikolay Kyurkchiev Faculty of Mathematics and Informatics Institute of Mathematics and Informatics, Paisii Hilendarski University of Plovdiv, Bulgarian Academy of Sciences, Acad.G.Bonchev Str.,Bl.8 1113Sofia, Bulgaria Email: [email protected] 1 Corresponding Author Abstract In this note the Hausdorff approximation of the Heaviside step function by Raised-Cosine and Laplace Cumulative Distribution Functions arising from lifetime analysis, financial mathematics, signal theory and communications systems is considered and precise upper and lower bounds for the Hausdorff distance are obtained. Numerical examples, that illustrate our results are given, too. Key words: Heaviside step function, Raised-Cosine Cumulative Distribution Function, Laplace Cumulative Distribution Function, Alpha–Skew–Laplace cumulative distribution function, Hausdorff distance, upper and lower bounds 2010 Mathematics Subject Classification: 41A46 75 European International Journal of Science and Technology ISSN: 2304-9693 www.eijst.org.uk 1. Introduction The Cosine Distribution is sometimes used as a simple, and more computationally tractable, approximation to the Normal Distribution. The Raised-Cosine Distribution Function (RC.pdf) and Raised-Cosine Cumulative Distribution Function (RC.cdf) are functions commonly used to avoid inter symbol interference in communications systems [1], [2], [3]. The Laplace distribution function (L.pdf) and Laplace Cumulative Distribution function (L.cdf) is used for modeling in signal processing, various biological processes, finance, and economics.
    [Show full text]
  • On the Approximation of the Cut and Step Functions by Logistic and Gompertz Functions
    www.biomathforum.org/biomath/index.php/biomath ORIGINAL ARTICLE On the Approximation of the Cut and Step Functions by Logistic and Gompertz Functions Anton Iliev∗y, Nikolay Kyurkchievy, Svetoslav Markovy ∗Faculty of Mathematics and Informatics Paisii Hilendarski University of Plovdiv, Plovdiv, Bulgaria Email: [email protected] yInstitute of Mathematics and Informatics Bulgarian Academy of Sciences, Sofia, Bulgaria Emails: [email protected], [email protected] Received: , accepted: , published: will be added later Abstract—We study the uniform approximation practically important classes of sigmoid functions. of the sigmoid cut function by smooth sigmoid Two of them are the cut (or ramp) functions and functions such as the logistic and the Gompertz the step functions. Cut functions are continuous functions. The limiting case of the interval-valued but they are not smooth (differentiable) at the two step function is discussed using Hausdorff metric. endpoints of the interval where they increase. Step Various expressions for the error estimates of the corresponding uniform and Hausdorff approxima- functions can be viewed as limiting case of cut tions are obtained. Numerical examples are pre- functions; they are not continuous but they are sented using CAS MATHEMATICA. Hausdorff continuous (H-continuous) [4], [43]. In some applications smooth sigmoid functions are Keywords-cut function; step function; sigmoid preferred, some authors even require smoothness function; logistic function; Gompertz function; squashing function; Hausdorff approximation. in the definition of sigmoid functions. Two famil- iar classes of smooth sigmoid functions are the logistic and the Gompertz functions. There are I. INTRODUCTION situations when one needs to pass from nonsmooth In this paper we discuss some computational, sigmoid functions (e.
    [Show full text]
  • Maximizing Acquisition Functions for Bayesian Optimization
    Maximizing acquisition functions for Bayesian optimization James T. Wilson∗ Frank Hutter Marc Peter Deisenroth Imperial College London University of Freiburg Imperial College London PROWLER.io Abstract Bayesian optimization is a sample-efficient approach to global optimization that relies on theoretically motivated value heuristics (acquisition functions) to guide its search process. Fully maximizing acquisition functions produces the Bayes’ decision rule, but this ideal is difficult to achieve since these functions are fre- quently non-trivial to optimize. This statement is especially true when evaluating queries in parallel, where acquisition functions are routinely non-convex, high- dimensional, and intractable. We first show that acquisition functions estimated via Monte Carlo integration are consistently amenable to gradient-based optimiza- tion. Subsequently, we identify a common family of acquisition functions, includ- ing EI and UCB, whose properties not only facilitate but justify use of greedy approaches for their maximization. 1 Introduction Bayesian optimization (BO) is a powerful framework for tackling complicated global optimization problems [32, 40, 44]. Given a black-box function f : , BO seeks to identify a maximizer X!Y x∗ arg maxx f(x) while simultaneously minimizing incurred costs. Recently, these strategies have2 demonstrated2X state-of-the-art results on many important, real-world problems ranging from material sciences [17, 57], to robotics [3, 7], to algorithm tuning and configuration [16, 29, 53, 56]. From a high-level perspective, BO can be understood as the application of Bayesian decision theory to optimization problems [11, 14, 45]. One first specifies a belief over possible explanations for f using a probabilistic surrogate model and then combines this belief with an acquisition function to convey the expected utility for evaluating a set of queries X.
    [Show full text]
  • Expanded Use of Discontinuity and Singularity Functions in Mechanics
    AC 2010-1666: EXPANDED USE OF DISCONTINUITY AND SINGULARITY FUNCTIONS IN MECHANICS Robert Soutas-Little, Michigan State University Professor Soutas-Little received his B.S. in Mechanical Engineering 1955 from Duke University and his MS 1959 and PhD 1962 in Mechanics from University of Wisconsin. His name until 1982 when he married Patricia Soutas was Robert William Little. Under this name, he wrote an Elasticity book and published over 20 articles. Since 1982, he has written over 100 papers for journals and conference proceedings and written books in Statics and Dynamics. He has taught courses in Statics, Dynamics, Mechanics of Materials, Elasticity, Continuum Mechanics, Viscoelasticity, Advanced Dynamics, Advanced Elasticity, Tissue Biomechanics and Biodynamics. He has won teaching excellence awards and the Distinguished Faculty Award. During his tenure at Michigan State University, he chaired the Department of Mechanical Engineering for 5 years and the Department of Biomechanics for 13 years. He directed the Biomechanics Evaluation Laboratory from 1990 until he retired in 2002. He served as Major Professor for 22 PhD students and over 100 MS students. He has received numerous research grants and consulted with engineering companies. He now is Professor Emeritus of Mechanical Engineering at Michigan State University. Page 15.549.1 Page © American Society for Engineering Education, 2010 Expanded Use of Discontinuity and Singularity Functions in Mechanics Abstract W. H. Macauley published Notes on the Deflection of Beams 1 in 1919 introducing the use of discontinuity functions into the calculation of the deflection of beams. In particular, he introduced the singularity functions, the unit doublet to model a concentrated moment, the Dirac delta function to model a concentrated load and the Heaviside step function to start a uniform load at any point on the beam.
    [Show full text]
  • Dirac Delta Function of Matrix Argument
    Dirac Delta Function of Matrix Argument ∗ Lin Zhang Institute of Mathematics, Hangzhou Dianzi University, Hangzhou 310018, PR China Abstract Dirac delta function of matrix argument is employed frequently in the development of di- verse fields such as Random Matrix Theory, Quantum Information Theory, etc. The purpose of the article is pedagogical, it begins by recalling detailed knowledge about Heaviside unit step function and Dirac delta function. Then its extensions of Dirac delta function to vector spaces and matrix spaces are discussed systematically, respectively. The detailed and elemen- tary proofs of these results are provided. Though we have not seen these results formulated in the literature, there certainly are predecessors. Applications are also mentioned. 1 Heaviside unit step function H and Dirac delta function δ The materials in this section are essential from Hoskins’ Book [4]. There are also no new results in this section. In order to be in a systematic way, it is reproduced here. The Heaviside unit step function H is defined as 1, x > 0, H(x) := (1.1) < 0, x 0. arXiv:1607.02871v2 [quant-ph] 31 Oct 2018 That is, this function is equal to 1 over (0, +∞) and equal to 0 over ( ∞, 0). This function can − equally well have been defined in terms of a specific expression, for instance 1 x H(x)= 1 + . (1.2) 2 x | | The value H(0) is left undefined here. For all x = 0, 6 dH(x) H′(x)= = 0 dx ∗ E-mail: [email protected]; [email protected] 1 corresponding to the obvious fact that the graph of the function y = H(x) has zero slope for all x = 0.
    [Show full text]
  • A Heaviside Function Approximation for Neural Network Binary Classification
    A Heaviside Function Approximation for Neural Network Binary Classification Nathan Tsoi, Yofti Milkessa, Marynel Vazquez´ Yale University, New Haven, CT 06511 [email protected] Abstract Neural network binary classifiers are often evaluated on met- rics like accuracy and F1-Score, which are based on con- fusion matrix values (True Positives, False Positives, False Negatives, and True Negatives). However, these classifiers are commonly trained with a different loss, e.g. log loss. While it is preferable to perform training on the same loss as the eval- uation metric, this is difficult in the case of confusion matrix based metrics because set membership is a step function with- out a derivative useful for backpropagation. To address this Figure 1: Heaviside function H (left) and (Kyurkchiev and challenge, we propose an approximation of the step function Markov 2015) approximation (right) at τ = 0:7. that adheres to the properties necessary for effective train- ing of binary networks using confusion matrix based met- rics. This approach allows for end-to-end training of binary deep neural classifiers via batch gradient descent. We demon- strate the flexibility of this approach in several applications with varying levels of class imbalance. We also demonstrate how the approximation allows balancing between precision and recall in the appropriate ratio for the task at hand. 1 Introduction Figure 2: Proposed Heaviside function approximation H In the process of creating a neural network binary classi- (left) and a sigmoid fit to our proposed Heaviside approx- fier, the network is often trained via the binary cross-entropy imation (right) at τ = 0:7.
    [Show full text]
  • Partial Differential Equations Fourier 1. Show That for T
    Partial Differential Equations Fourier 1. Show that for t 6= 0 the unit step or Heaviside step function θ(t) can be written as a complex integral: 1 Z s+i1 eσt dσ ; 2πi s−i1 σ where s is a real positive number. What value would the integral take if t = 0? 2. Compute the inverse Laplace transform of the following functions directly using the inversion formula: 1 s 1 e−as a) ; b) ; c) ; d) (a ≥ 0) : s2 + a2 s2 + a2 s3 s 3. Compute the Fourier transforms of 1 a) ; b) e−αjxj : x2 + a2 4.∗ Use the contour to compute the inverse Laplace transform of 1 p : s 5.∗ Solve this integral equation: Z x f(x) = x + dy f(y) : 0 (Hint: write the integral out as a convolution with Heaviside's step function, and compute its Laplace transform; as usual, make sure your result is correct. Notice that integral transforms are also useful for integral equations) 6. As usual, we shall re-examine the damped oscillator system. in yet another way. We want to obtain a particular solution of the family of differential equations ¨ _ 2 f + 2γf + !0f = g in the form Z +1 fp(t) = ds G(t − s)g(s) : −∞ 1 2008-2009 UPV-EHU Which is the algebraic equation of which the Fourier transform of G must be a solution? That is to say, the condition that must be satisfied by the function 1 Z +1 G^(!) = p dt ei!tG(t) : 2π −∞ Where are the singularities of the function G^? Classify these singularities in the all three distinct cases, i.e.
    [Show full text]