obtained using the extracted signals after using the
wavelet transforms.
5.1 Experiments and Results using
Simple Data
5.1.1 Simple Data with Frequency and
Amplitude Noise
The aim of these experiments is to investigate whether
using wavelet transforms can enable the SVM to bet-
ter distinguish between the two sets of noisy data than
without using the transforms. The data sets that were
used in these experiments consist of a combination of
two classes of data; they are AC, AB, AD and BD.
For example, AC is a combination of the two classes
of data A and C, and so on. Each pair of classes have
different distances between their means and so repre-
sent a different level of difficulty when attempting to
classify the noisy data. The 1,000 data points (500
from each class) was randomly selected to give 700
data points (signals) that were used to train the model,
and the rest of the data (300 data points) were used as
a test set.
Six tests were made: the signals with no added
amplitude ’noise’, without and with two types of
wavelet transforms; the signals with added amplitude
’noise’, without and with two types of wavelet trans-
forms. The two wavelet transforms were: Haar and
DB4 wavelet transforms, both at level 2. Then, the
results were compared with each other to see if using
wavelet transforms can help in improving the classifi-
cation process or not.
Table 1 shows the linear SVM results for four dif-
ferent data sets with and without using wavelet trans-
forms. As we see from the final column, the dif-
ference between the mean values of the frequency
for class A and C is quite high (a difference of 10)
and consequently the data could be partitioned with
98.67% accuracy. As a result, using the wavelet trans-
forms on the test set AC did not give any improve-
ment, with or without amplitude ’noise’. Essentially
1.33% of the waves were ambiguous even with no
amplitude noise added. However, on the classes with
closer means the data were more overlapping and the
accuracy rates were further reduced. Significantly
the use of wavelets did not have any effect on the
data with just frequency noise in any of the tests.
However, once the Amplitude noise was added the
use of wavelets did improve the accuracy back to-
wards the values obtained with the Frequency noise
only version. For instance with classes A and B the
wavelet transformed waves nearly brought the fully
noisy wave performance up to that of the Frequency
only noisy wave (from 84.33% to 90.67%, which is
very close to the 91% Frequency only-noisy version),
this being the best result obtained.
5.1.2 Simple Data with Phase and Amplitude
Noise
The aim of these kind of experiments is to investi-
gate whether using wavelet transforms can improve
the signals that have phase noise or not. The data set
used herein consists of 1,000 data points/signals, and
640 samples for each data point. Half of the data set
has the phase value of zero, and the other half has
phase value of 90 degrees. In this experiment, a linear
SVM was applied on the data set for classification of
the received signals. 600 data points (signals) were
used to train the model as a training set, and the rest
of the data (400 data points) were used as a test set.
Tests that were made are three types: the signals with
no amplitude noise, noisy signals, and signals after
using wavelet transforms (extracted signals).
Here we also tried to normalize the extracted sig-
nals to see if that would help in improving the clas-
sification process or not. The average of difference
between the original and extracted signal got bigger
after increasing the level of wavelet transforms. In
the normalization process, the range of the extracted
signals is re-scaled to be between -1 and 1 as the orig-
inal signals. Figure 2 shows two original signals with-
out any noise from two classes using solid lines (Red
for phase of 0 and blue for phase of 90 degrees), and
ten signals of each class after adding random phase
and amplitude noise. Figure 3, shows ten extracted
signals, using Haar wavelet transform at level 2 with-
out normalisation, and Figure 4 shows the same with
normalization. As we can see from the Figures, the
signal samples become between the range [-1,1] after
the normalization.
In this section, Haar wavelet transform at different
levels from 1 to 5, and db4 wavelet transform at level
2 were implemented. Then, the linear SVM classifier
was applied using the extracted signals. The classifi-
cation process was done using two types of input. The
first type using the whole samples (i.e the vector of
all 640 points), and the second type using the central
sample (the middle point of the wave) of the extracted
signals. Results were obtained without normalisation
and with normalisation.
1) Linear SVM Results using Extracted Signals
without Normalization
Table 1 presents the accuracy rate of prediction us-
ing linear SVM classifier on the non-normalized ex-
tracted signals. Table 1 (A), shows the linear SVM re-
ICPRAM 2017 - 6th International Conference on Pattern Recognition Applications and Methods
242