{"id":2452,"date":"2018-12-19T02:13:24","date_gmt":"2018-12-19T02:13:24","guid":{"rendered":"http:\/\/intelligentonlinetools.com\/blog\/?p=2452"},"modified":"2018-12-25T19:48:46","modified_gmt":"2018-12-25T19:48:46","slug":"wavelet-denoising-with-daubechies-wavelet","status":"publish","type":"post","link":"http:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/","title":{"rendered":"Application of Daubechies Wavelet for Denoising 1D Data"},"content":{"rendered":"<p>If we see in the real world, we will always face the signals which are not changing their stats. Means the change in the data signals are quite slow. But if we compare the 1D- data to the 2D Image data then we can see the 2D images have more drastic change in the magnitude of the pixels due to edges, change in the contrast and the two different things in the same image. <\/p>\n<h2>Fourier Transform isn&#8217;t Able to Represent the Abrupt Changes Efficiently<\/h2>\n<p>So 1D data have slow oscillation but the images have more abrupt changes. These <b>abrupt<\/b> changing parts are always the interesting for that data as well as the images. They always show more relevant information for the images and the data.<\/p>\n<p>Now, we have great tool for the analysis of the signals and that is the <b>Fourier transform<\/b>. But, it doesn\u2019t able to represent the abrupt changes efficiently. That\u2019s the demerit of the Fourier transform. The reason for this is that the Fourier transform is made up from the summation of the weighted sin and cosine signals. So, for abrupt changes that transform is less efficient. <\/p>\n<h2>Wavelets and Wavelet Transform is Great Tool for Abrupt Data Analysis<\/h2>\n<p>For that problem we must find out different bases except the sin and cosine because these bases are not efficient for the abrupt representation. For the solution of these problems, another great tool came and those are the Wavelets and Wavelet transform. A <b>wavelet<\/b> is the rapidly decaying, wave like oscillation and that is also for the finite duration not like the sin and cosine (They oscillates forever.)<\/p>\n<p>There are number of wavelets and based on the application and on the nature of the data, we can select the wavelet for that application and the data. Here, I have shown some of the well-known types of wavelets.<\/p>\n<p><img data-attachment-id=\"2464\" data-permalink=\"http:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/figure1\/#main\" data-orig-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/figure1.png\" data-orig-size=\"619,336\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Wavelets\" data-image-description=\"&lt;p&gt;wavelets&lt;\/p&gt;\n\" data-image-caption=\"\" data-medium-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/figure1-300x163.png\" data-large-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/figure1.png\" decoding=\"async\" loading=\"lazy\" src=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/figure1.png\" alt=\"wavelets\" width=\"619\" height=\"336\" class=\"alignnone size-full wp-image-2464\" srcset=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/figure1.png 619w, http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/figure1-300x163.png 300w\" sizes=\"(max-width: 619px) 100vw, 619px\" \/><br \/>\nFigure 1. Well known types of wavelets (Image is from MathWorks)<\/p>\n<p>Now we are going to plot the Morlet in the MATLAB and that is quite easy if you know the basics of the MATLAB. <\/p>\n<p>The equation for the Morlet wavelet is,<\/p>\n<p><img data-attachment-id=\"2466\" data-permalink=\"http:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/f1-the-equation-for-the-morlet-wavelet\/#main\" data-orig-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/F1-The-equation-for-the-Morlet-wavelet-e1545270381407.png\" data-orig-size=\"270,97\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"The equation for the Morlet wavelet\" data-image-description=\"&lt;p&gt;The equation for the Morlet wavelet&lt;\/p&gt;\n\" data-image-caption=\"\" data-medium-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/F1-The-equation-for-the-Morlet-wavelet-300x107.png\" data-large-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/F1-The-equation-for-the-Morlet-wavelet-e1545270381407.png\" decoding=\"async\" loading=\"lazy\" src=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/F1-The-equation-for-the-Morlet-wavelet-e1545270381407.png\" alt=\"The equation for the Morlet wavelet\" width=\"270\" height=\"97\" class=\"alignnone size-full wp-image-2466\" \/><\/p>\n<p>Let us plot the Morlet function using MATLAB. <\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\n%% Morlet Wavelet functions\r\nlb = -4;% lower bound\r\nub = 4;% uper bound\r\nn = 1000; % number of points\r\nx = linspace(lb,ub,n);\r\ny = exp(((-1)*(x.^2)).\/2).*cos(5*x);\r\nfigure,plot(x,y,'LineWidth',2)\r\n% title(['Morlet Wavelet']);\r\ntitle('Morlet Wavelet $$\\psi(t) = e^{\\frac{-x^2}{2}} \\cos(5x)$$','interpreter','latex')\r\n<\/pre>\n<p>If we plot this wave then we will get the result like below,<\/p>\n<p><img data-attachment-id=\"2463\" data-permalink=\"http:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/figure2\/#main\" data-orig-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure2.png\" data-orig-size=\"501,402\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Plot of the Morlet\" data-image-description=\"&lt;p&gt;Plot of the Morlet&lt;\/p&gt;\n\" data-image-caption=\"\" data-medium-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure2-300x241.png\" data-large-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure2.png\" decoding=\"async\" loading=\"lazy\" src=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure2.png\" alt=\"Plot of the Morlet\" width=\"501\" height=\"402\" class=\"alignnone size-full wp-image-2463\" srcset=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure2.png 501w, http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure2-300x241.png 300w\" sizes=\"(max-width: 501px) 100vw, 501px\" \/><br \/>\nFigure 2. Plot of the Morlet in the MATLAB.<\/p>\n<p>We can see that this Morlet can able to represent the drastic changes and we can scale it for more drastic changes like Figure 3(b). <\/p>\n<p><img data-attachment-id=\"2462\" data-permalink=\"http:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/figure-3a\/#main\" data-orig-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-3a.png\" data-orig-size=\"345,157\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Less abrupt change\" data-image-description=\"&lt;p&gt;Less abrupt change&lt;\/p&gt;\n\" data-image-caption=\"\" data-medium-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-3a-300x137.png\" data-large-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-3a.png\" decoding=\"async\" loading=\"lazy\" src=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-3a.png\" alt=\"Less abrupt change\" width=\"345\" height=\"157\" class=\"alignnone size-full wp-image-2462\" srcset=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-3a.png 345w, http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-3a-300x137.png 300w\" sizes=\"(max-width: 345px) 100vw, 345px\" \/><br \/>\nFigure 3a: Less abrupt change and the signal is applied as it is.<\/p>\n<p><figure id=\"attachment_2461\" aria-describedby=\"caption-attachment-2461\" style=\"width: 306px\" class=\"wp-caption alignnone\"><img data-attachment-id=\"2461\" data-permalink=\"http:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/figure3b\/#main\" data-orig-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure3b.png\" data-orig-size=\"316,148\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"More abrupt change\" data-image-description=\"&lt;p&gt;More abrupt change&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;More abrupt change&lt;\/p&gt;\n\" data-medium-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure3b-300x141.png\" data-large-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure3b.png\" decoding=\"async\" loading=\"lazy\" src=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure3b.png\" alt=\"\" width=\"316\" height=\"148\" class=\"size-full wp-image-2461\" srcset=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure3b.png 316w, http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure3b-300x141.png 300w\" sizes=\"(max-width: 316px) 100vw, 316px\" \/><figcaption id=\"caption-attachment-2461\" class=\"wp-caption-text\">More abrupt change<\/figcaption><\/figure><br \/>\nFigure 3b: More abrupt change than the figure 3a. and in this case the signal is applied after some scaling.<\/p>\n<p><img data-attachment-id=\"2460\" data-permalink=\"http:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/figure-3c\/#main\" data-orig-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-3c.png\" data-orig-size=\"351,162\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"More abrupt change than the figure 3b\" data-image-description=\"&lt;p&gt;More abrupt change than the figure 3b&lt;\/p&gt;\n\" data-image-caption=\"\" data-medium-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-3c-300x138.png\" data-large-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-3c.png\" decoding=\"async\" loading=\"lazy\" src=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-3c.png\" alt=\"More abrupt change than the figure 3b\" width=\"351\" height=\"162\" class=\"alignnone size-full wp-image-2460\" srcset=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-3c.png 351w, http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-3c-300x138.png 300w\" sizes=\"(max-width: 351px) 100vw, 351px\" \/><br \/>\nFigure 3c: More abrupt change than the figure 3b. and in this case the signal is applied after very high scaling to represent the very sharp abrupt change.<\/p>\n<p>Now, we have understood what exactly the Wavelets are. These wavelets are the <b>bases<\/b> for the Wavelet Transform similar like Sine and Cosines are the bases for the Fourier Transform. <\/p>\n<h2>The Wavelet Transform<\/h2>\n<p><b>The wavelet transform<\/b> is the mathematical tool that can able to decomposes a signal into a representation of the signal\u2019s fine details and the trends as the function of time. We can use this transform or this representation to characterize the abrupt changes or transient events, to denoise, to perform many more operations on that. <\/p>\n<p>The main <b>benefit<\/b> of wavelet transform or methods over traditional Fourier transform or methods are the uses of localized basis functions called as the wavelets and it give more faster computation. Wavelets as being localized basis functions are best for analyzing real physical situations in which a signal have discontinuities, abrupt changes and sharp spikes.<\/p>\n<p>Two major transforms that are very useful to wavelet analysis are the<br \/>\n\tContinuous Wavelet Transform<br \/>\n\tDiscrete Wavelet Transform<\/p>\n<p><img data-attachment-id=\"2465\" data-permalink=\"http:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/f2-discrete-wavelet-transform\/#main\" data-orig-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/F2-Discrete-Wavelet-Transform-e1545270460544.png\" data-orig-size=\"500,108\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Discrete Wavelet Transform\" data-image-description=\"&lt;p&gt;Discrete Wavelet Transform&lt;\/p&gt;\n\" data-image-caption=\"\" data-medium-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/F2-Discrete-Wavelet-Transform-300x65.png\" data-large-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/F2-Discrete-Wavelet-Transform-e1545270460544.png\" decoding=\"async\" loading=\"lazy\" src=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/F2-Discrete-Wavelet-Transform-e1545270460544.png\" alt=\"\" width=\"500\" height=\"108\" class=\"alignnone size-full wp-image-2465\" \/><\/p>\n<p>If we see this equation then we will get feel like, oh!! That is very similar to the Fourier transform. Yes, that is very similar to that but here major difference is that \u03c8(t) and that is the wavelet not the sin and the cosine. Here as a \u03c8(t), we can take any wavelet that suit best for our applications. Now we will be going to discuss about the uses of the wavelet transform.  <\/p>\n<p>The following are <b>applications<\/b> of wavelet transforms:<br \/>\n\tData and image compression<br \/>\n\tTransient detection<br \/>\n\tPattern recognition<br \/>\n\tTexture analysis<br \/>\n\tNoise\/trend reduction<\/p>\n<h2>Wavelet Denoising<\/h2>\n<p>In this article we will go through the one application of the wavelet transform and that is <b>denoising<\/b> of 1-D data.<br \/>\n1-D Data:<br \/>\nI have taken the electrical data through the MATLAB.<br \/>\nload leleccum;<br \/>\nI have taken only the some part of that signal for the process.<br \/>\ns = leleccum(1:3920);<\/p>\n<p><img data-attachment-id=\"2459\" data-permalink=\"http:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/figure-4\/#main\" data-orig-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-4.png\" data-orig-size=\"562,229\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Electrical Signal Lelecum\" data-image-description=\"&lt;p&gt;Electrical Signal Lelecum&lt;\/p&gt;\n\" data-image-caption=\"\" data-medium-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-4-300x122.png\" data-large-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-4.png\" decoding=\"async\" loading=\"lazy\" src=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-4.png\" alt=\"Electrical Signal Lelecum\" width=\"562\" height=\"229\" class=\"alignnone size-full wp-image-2459\" srcset=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-4.png 562w, http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-4-300x122.png 300w\" sizes=\"(max-width: 562px) 100vw, 562px\" \/><br \/>\nFigure 4. Electrical Signal Lelecum from the MATLAB.<\/p>\n<p>This signal have so much sharp and abrupt changes and we can see some additional noise as well from 2500 to 3500. Here we can use the wavelet transform to denoise this signal.<\/p>\n<p>First, we will perform only the one step <b>Wavelet Decomposition<\/b> of a Signal. For one step we will get only the two components and one will be <b>approximation<\/b> and the second will be the <b>detail<\/b> of the signal. Here I have used the <b>Daubechies wavelet<\/b> for the wavelet transform.<br \/>\n[cA1,cD1] = dwt(s,&#8217;db1&#8242;);<\/p>\n<p>This generates the coefficients of the level 1 approximation (cA1) and detail (cD1). This both are coefficients now we can construct the level 1 approximation and the detail as well.<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\nA1 = upcoef('a',cA1,'db1',1,ls);\r\nD1 = upcoef('d',cD1,'db1',1,ls);\r\n<\/pre>\n<p>If we display it then it will look something like Figure 5. We can see the approximation which are more and less similar to the signal and the details shows the sharp fluctuations of the signal. <\/p>\n<p>Now, we will perform the decomposition of the signal in <b>3 levels<\/b>. This decomposition will be the similar to the Figure 6. We can decompose the signal in these levels for more levels of details. Here we will get three level details cD1, cD2 and cD3 and one approximation cA3.<\/p>\n<p>We can create this 3 level decomposition using the \u201cwavedec\u201d function from the MATLAB. This function used for the decomposition of the signal in to multi-level wavelet decomposition.<br \/>\n[C,L] = wavedec(s,3,&#8217;db1&#8242;);<\/p>\n<p>Here also I have used the <b>Daubechies wavelet<\/b>. The coefficients of all the components of a third-level decomposition (that is, the third-level approximation and the first three levels of detail) are returned concatenated into one vector, C. Vector L gives the lengths of each component.<\/p>\n<p><img data-attachment-id=\"2458\" data-permalink=\"http:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/figure-5\/#main\" data-orig-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-5.png\" data-orig-size=\"463,231\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Approximation A1 and detail D1\" data-image-description=\"&lt;p&gt;Approximation A1 and detail D1&lt;\/p&gt;\n\" data-image-caption=\"\" data-medium-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-5-300x150.png\" data-large-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-5.png\" decoding=\"async\" loading=\"lazy\" src=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-5.png\" alt=\"Approximation A1 and detail D1\" width=\"463\" height=\"231\" class=\"alignnone size-full wp-image-2458\" srcset=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-5.png 463w, http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-5-300x150.png 300w\" sizes=\"(max-width: 463px) 100vw, 463px\" \/><br \/>\nFigure 5. Approximation A1 and detail D1 at the first step.<\/p>\n<p><img data-attachment-id=\"2457\" data-permalink=\"http:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/figure-6\/#main\" data-orig-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-6-e1545270671377.png\" data-orig-size=\"320,139\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Approximation and the details of the signal till level 3\" data-image-description=\"&lt;p&gt;Approximation and the details of the signal till level 3&lt;\/p&gt;\n\" data-image-caption=\"\" data-medium-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-6-300x131.png\" data-large-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-6-e1545270671377.png\" decoding=\"async\" loading=\"lazy\" src=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-6-e1545270671377.png\" alt=\"Approximation and the details of the signal till level 3\" width=\"320\" height=\"139\" class=\"alignnone size-full wp-image-2457\" \/><br \/>\nFigure 6. Approximation and the details of the signal till level 3 (Image is from the MATHWORK).<br \/>\nWe can extract the level 3 approximation coefficients from C using the \u201cappcoef\u201d function from the MATLAB.<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\ncA3 = appcoef(C,L,'db1',3);\r\n<\/pre>\n<p>We can extract the level 3 details coefficients from C and L using the \u201cdetcoef\u201d function from the MATLAB.<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\ncD3 = detcoef(C,L,3);\r\ncD2 = detcoef(C,L,2);\r\ncD1 = detcoef(C,L,1);\r\n<\/pre>\n<p>This way we have total three values cA3, cD1, cD2, and cD3. We can reconstruct the approximate and details signals from these coefficients using \u201cwrcoef\u201d.<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\n% To reconstruct the level 3 approximation from C,\r\nA3 = wrcoef('a',C,L,'db1',3);\r\n \r\n% To reconstruct the details at levels 1, 2 and 3,\r\nD1 = wrcoef('d',C,L,'db1',1);\r\nD2 = wrcoef('d',C,L,'db1',2);\r\nD3 = wrcoef('d',C,L,'db1',3);\r\n<\/pre>\n<p>If we display this images then it will look something like Figure 7.<\/p>\n<p><img data-attachment-id=\"2468\" data-permalink=\"http:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/figure-7\/#main\" data-orig-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-7-e1545270773979.png\" data-orig-size=\"480,454\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Approximation and details at the different levels\" data-image-description=\"&lt;p&gt;Approximation and details at the different levels&lt;\/p&gt;\n\" data-image-caption=\"\" data-medium-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-7-300x284.png\" data-large-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-7-e1545270773979.png\" decoding=\"async\" loading=\"lazy\" src=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-7-e1545270773979.png\" alt=\"Approximation and details at the different levels\" width=\"480\" height=\"454\" class=\"alignnone size-full wp-image-2468\" \/><br \/>\nFigure 7. Approximation and details at the different levels. <\/p>\n<p>We can use the wavelets to remove noise from a signal but it will requires identifying which component or components have the noise and then recovering the signal without those components. In this example, we have observed that as we increase the number of the steps, the <b>successive approximations<\/b> become much less and less noisy because more and more high-frequency information is filtered out of the signal. <\/p>\n<p>If we compare the level 3 approximation with the original signal then we can find that level 3 approximation is much more smother than the original signal. <\/p>\n<p>Of course, after removing all the high-frequency information, we will have lost many abrupt information from the original signal. So for optimal de-noising will required a more subtle method and that is called as thresholding. <b>Thresholding<\/b> involves removing the portion from the details which have higher activity than the certain limits. <\/p>\n<p>What if we limited the strength of the details by restricting their maximum values? This would have the effect of <b>cutting back<\/b> the noise while leaving the details unaffected through most of their durations. But there\u2019s a better way. We could directly manipulate each vector, setting each element to some fraction of the vectors\u2019 peak or average value. Then we could reconstruct new detail signals D1, D2, and D3 from the thresholded coefficients.<\/p>\n<p>To denoise the image, <\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\n[thr,sorh,keepapp] = ddencmp('den','wv',s);\r\nclean = wdencmp('gbl',C,L,'db1',3,thr,sorh,keepapp);\r\n<\/pre>\n<p>\u201cddencmp\u201d function gives the default values of the threshold, SORH and KEEPAPP which allows you to keep approximation coefficients. Clean is the denoised signal. <\/p>\n<p>Figure 8. Shows both the original as well as the clean signal. <\/p>\n<p><img data-attachment-id=\"2467\" data-permalink=\"http:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/figure-8\/#main\" data-orig-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-8.png\" data-orig-size=\"417,329\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Original signal with the De-noised signal\" data-image-description=\"&lt;p&gt;Original signal with the De-noised signal&lt;\/p&gt;\n\" data-image-caption=\"\" data-medium-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-8-300x237.png\" data-large-file=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-8.png\" decoding=\"async\" loading=\"lazy\" src=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-8.png\" alt=\"Original signal with the De-noised signal\" width=\"417\" height=\"329\" class=\"alignnone size-full wp-image-2467\" srcset=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-8.png 417w, http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/Figure-8-300x237.png 300w\" sizes=\"(max-width: 417px) 100vw, 417px\" \/><br \/>\nFigure 8. Original signal with the De-noised signal.<\/p>\n<h2>Conclusion:<\/h2>\n<p><b>Wavelet<\/b> are the great tools for the analysis of the signals and those signals have ability to representation the signal in the great detail. Here we have experimented with the <b>denoising<\/b> of the electrical signal, we have seen that using only low pass filter may affect the abrupt information of signals. But using the proper process of the <b>wavelet transform<\/b> we can have great  denoised signal. <\/p>\n<p>Wavelets can do much more than the denoising. Popular \u201c.JPEG\u201d encoding format for the images uses the discrete cosine transform for the compression of the images. There is other algorithm JPEG2000 which have great accuracy of the image with great compression. And JPEG2000 algorithm uses the <b>wavelet transform.<\/b> <\/p>\n<p>Thus wavelets are very useful, so have great time with number of wavelets and may this article helps you to for the understanding of the wavelets.<br \/>\nFor whole code in MATLAB and for more exciting projects please visit  <a href=\"https:\/\/github.com\/MachineLearning-Nerd\/Wavelet-Analysis\" target=\"_blank\">github.com\/MachineLearning-Nerd\/Wavelet-Analysis GITHUB repository.<\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>If we see in the real world, we will always face the signals which are not changing their stats. Means the change in the data signals are quite slow. But if we compare the 1D- data to the 2D Image data then we can see the 2D images have more drastic change in the magnitude &#8230; <a title=\"Application of Daubechies Wavelet for Denoising 1D Data\" class=\"read-more\" href=\"http:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/\">Read more<\/a><\/p>\n","protected":false},"author":235,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":[]},"categories":[110,117],"tags":[114,116,113,112],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Application of Daubechies Wavelet for Denoising 1D Data - Machine Learning Applications<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Application of Daubechies Wavelet for Denoising 1D Data - Machine Learning Applications\" \/>\n<meta property=\"og:description\" content=\"If we see in the real world, we will always face the signals which are not changing their stats. Means the change in the data signals are quite slow. But if we compare the 1D- data to the 2D Image data then we can see the 2D images have more drastic change in the magnitude ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/\" \/>\n<meta property=\"og:site_name\" content=\"Machine Learning Applications\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-19T02:13:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-12-25T19:48:46+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/figure1.png\" \/>\n<meta name=\"author\" content=\"Dinesh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dinesh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/\",\"url\":\"https:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/\",\"name\":\"Application of Daubechies Wavelet for Denoising 1D Data - Machine Learning Applications\",\"isPartOf\":{\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#website\"},\"datePublished\":\"2018-12-19T02:13:24+00:00\",\"dateModified\":\"2018-12-25T19:48:46+00:00\",\"author\":{\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/29642e843acb65ceb1f817ca71fbb830\"},\"breadcrumb\":{\"@id\":\"https:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/intelligentonlinetools.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Application of Daubechies Wavelet for Denoising 1D Data\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#website\",\"url\":\"http:\/\/intelligentonlinetools.com\/blog\/\",\"name\":\"Machine Learning Applications\",\"description\":\"Artificial intelligence, data mining and machine learning for building web based tools and services.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/intelligentonlinetools.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/29642e843acb65ceb1f817ca71fbb830\",\"name\":\"Dinesh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/0.gravatar.com\/avatar\/688406aa13e9ce519150de320fe014c7?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/0.gravatar.com\/avatar\/688406aa13e9ce519150de320fe014c7?s=96&d=mm&r=g\",\"caption\":\"Dinesh\"},\"sameAs\":[\"https:\/\/github.com\/MachineLearning-Nerd\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Application of Daubechies Wavelet for Denoising 1D Data - Machine Learning Applications","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/","og_locale":"en_US","og_type":"article","og_title":"Application of Daubechies Wavelet for Denoising 1D Data - Machine Learning Applications","og_description":"If we see in the real world, we will always face the signals which are not changing their stats. Means the change in the data signals are quite slow. But if we compare the 1D- data to the 2D Image data then we can see the 2D images have more drastic change in the magnitude ... Read more","og_url":"https:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/","og_site_name":"Machine Learning Applications","article_published_time":"2018-12-19T02:13:24+00:00","article_modified_time":"2018-12-25T19:48:46+00:00","og_image":[{"url":"http:\/\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/12\/figure1.png"}],"author":"Dinesh","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Dinesh","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/","url":"https:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/","name":"Application of Daubechies Wavelet for Denoising 1D Data - Machine Learning Applications","isPartOf":{"@id":"http:\/\/intelligentonlinetools.com\/blog\/#website"},"datePublished":"2018-12-19T02:13:24+00:00","dateModified":"2018-12-25T19:48:46+00:00","author":{"@id":"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/29642e843acb65ceb1f817ca71fbb830"},"breadcrumb":{"@id":"https:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/intelligentonlinetools.com\/blog\/2018\/12\/19\/wavelet-denoising-with-daubechies-wavelet\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/intelligentonlinetools.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Application of Daubechies Wavelet for Denoising 1D Data"}]},{"@type":"WebSite","@id":"http:\/\/intelligentonlinetools.com\/blog\/#website","url":"http:\/\/intelligentonlinetools.com\/blog\/","name":"Machine Learning Applications","description":"Artificial intelligence, data mining and machine learning for building web based tools and services.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/intelligentonlinetools.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/29642e843acb65ceb1f817ca71fbb830","name":"Dinesh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/image\/","url":"http:\/\/0.gravatar.com\/avatar\/688406aa13e9ce519150de320fe014c7?s=96&d=mm&r=g","contentUrl":"http:\/\/0.gravatar.com\/avatar\/688406aa13e9ce519150de320fe014c7?s=96&d=mm&r=g","caption":"Dinesh"},"sameAs":["https:\/\/github.com\/MachineLearning-Nerd"]}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7h1IJ-Dy","jetpack-related-posts":[{"id":1257,"url":"http:\/\/intelligentonlinetools.com\/blog\/2017\/06\/17\/time-series-prediction-with-convolutional-neural-networks-and-keras\/","url_meta":{"origin":2452,"position":0},"title":"Time Series Prediction with Convolutional Neural Networks and Keras","date":"June 17, 2017","format":false,"excerpt":"A convolutional neural network (CNNs) is a type of network that has recently gained popularity due to its success in classification problems (e.g. image recognition or time series classification) [1]. One of the working examples how to use Keras CNN for time series can be found at this link[2]. This\u2026","rel":"","context":"In &quot;Artificial Intelligence&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2017\/06\/CNN22-300x212.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2117,"url":"http:\/\/intelligentonlinetools.com\/blog\/2018\/06\/16\/fibonacci-stock-trading-using-fibonacci-retracement-stock-market-prediction\/","url_meta":{"origin":2452,"position":1},"title":"Fibonacci Stock Trading &#8211; Using Fibonacci Retracement for Stock Market Prediction","date":"June 16, 2018","format":false,"excerpt":"As stated on allstarcharts.com by expert with more than 10 years, Fibonacci Analysis is one of the most valuable and easy to use tools for stock market technical analysis. And Fibonacci tools can be applied to longer-term as well as to short-term. [3] In this post we will take a\u2026","rel":"","context":"In &quot;Fibonacci Numbers&quot;","img":{"alt_text":"Fibonacci numbers","src":"https:\/\/i0.wp.com\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/06\/fibonacci-1601158_640.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1178,"url":"http:\/\/intelligentonlinetools.com\/blog\/2017\/05\/14\/time-series-prediction-with-convolutional-neural-networks\/","url_meta":{"origin":2452,"position":2},"title":"Forecasting Time Series Data with Convolutional Neural Networks","date":"May 14, 2017","format":false,"excerpt":"Convolutional neural networks(CNN) is increasingly important concept in computer science and finds more and more applications in different fields. Many posts on the web are about applying convolutional neural networks for image classification as CNN is very useful type of neural networks for image classification. But convolutional neural networks can\u2026","rel":"","context":"In &quot;Artificial Intelligence&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2017\/05\/time-series-LSTM-300x164.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1919,"url":"http:\/\/intelligentonlinetools.com\/blog\/2018\/02\/24\/prediction-next-stock-market-correction\/","url_meta":{"origin":2452,"position":3},"title":"Prediction on Next Stock Market Correction","date":"February 24, 2018","format":false,"excerpt":"On Feb. 6, 2018, the stock market officially entered \"correction\" territory. A stock market correction is defined as a drop of at least 10% or more for an index or stock from its recent high. [1] During one week the stock data prices (closed price) were decreasing for many stocks.\u2026","rel":"","context":"In &quot;Data Mining&quot;","img":{"alt_text":"Number of stocks increasing decreasing same in %","src":"https:\/\/i0.wp.com\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/02\/output_for_number_of_stocks_increasing_decreasing_same.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1095,"url":"http:\/\/intelligentonlinetools.com\/blog\/2017\/03\/25\/3-most-useful-examples-to-add-interactivity-to-graph-data-using-bokeh-library\/","url_meta":{"origin":2452,"position":4},"title":"3 Most Useful Examples to Add Interactivity to Graph Data Using Bokeh Library","date":"March 25, 2017","format":false,"excerpt":"Bokeh is a Python library for building advanced and modern data visualization web applications. Bokeh allows to add interactive controls like slider, buttons, dropdown menu and so on to the data graphs. Bokeh provides a variety of ways to embed plots and data into HTML documents including generating standalone HTML\u2026","rel":"","context":"In &quot;Data Visualization&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2017\/03\/bokeh-and-other-data-viz-300x138.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":57,"url":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/07\/bollinger-bands\/","url_meta":{"origin":2452,"position":5},"title":"Bollinger Bands","date":"February 7, 2016","format":false,"excerpt":"Bollinger Bands - are advanced technical indicators that consist of three curves: [1] 1. an N-period moving average (MA). Usually simple moving average (SMA) 2. an upper band at K times an N-period standard deviation above the moving average (MA + K\u03c3), K is usually 2 and N is usually\u2026","rel":"","context":"In &quot;Stock data analysis&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/2452"}],"collection":[{"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/users\/235"}],"replies":[{"embeddable":true,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/comments?post=2452"}],"version-history":[{"count":13,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/2452\/revisions"}],"predecessor-version":[{"id":2473,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/2452\/revisions\/2473"}],"wp:attachment":[{"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/media?parent=2452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/categories?post=2452"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/tags?post=2452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}