Next Article in Journal
A Medical Image Segmentation Method Based on Improved UNet 3+ Network
Next Article in Special Issue
Quantitative Electroencephalography Analysis for Improved Assessment of Consciousness Levels in Deep Coma Patients Using a Proposed Stimulus Stage
Previous Article in Journal
In Search of an Efficient and Reliable Deep Learning Model for Identification of COVID-19 Infection from Chest X-ray Images
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Automatic Audiometric System Design Based on Machine Learning Methods Using the Brain’s Electrical Activity Signals

1
Department of Biomedical Engineering, Faculty of Engineering, Karabuk University, Karabuk 78050, Turkey
2
Department of Electrical Engineering, College of Engineering, Jouf University, Sakaka 72388, Saudi Arabia
3
Department of Computer Science, College of Computer Engineering and Sciences in Al-Kharj, Prince Sattam Bin Abdulaziz University, P.O. Box 151, Al-Kharj 11942, Saudi Arabia
4
General Directorate of Health Affairs, Asir Region, Al Rabwah, 2712, 8037, Abha 62523, Saudi Arabia
5
Department of Electrical and Electronics Engineering, Faculty of Engineering, Bolu Abant Izzet Baysal University, Bolu 14280, Turkey
*
Author to whom correspondence should be addressed.
Diagnostics 2023, 13(3), 575; https://doi.org/10.3390/diagnostics13030575
Submission received: 28 December 2022 / Revised: 30 January 2023 / Accepted: 31 January 2023 / Published: 3 February 2023
(This article belongs to the Special Issue Application of Deep Learning in the Diagnosis of Brain Diseases)

Abstract

:
This study uses machine learning to perform the hearing test (audiometry) processes autonomously with EEG signals. Sounds with different amplitudes and wavelengths given to the person tested in standard hearing tests are assigned randomly with the interface designed with MATLAB GUI. The person stated that he heard the random size sounds he listened to with headphones but did not take action if he did not hear them. Simultaneously, EEG (electro-encephalography) signals were followed, and the waves created in the brain by the sounds that the person attended and did not hear were recorded. EEG data generated at the end of the test were pre-processed, and then feature extraction was performed. The heard and unheard information received from the MATLAB interface was combined with the EEG signals, and it was determined which sounds the person heard and which they did not hear. During the waiting period between the sounds given via the interface, no sound was given to the person. Therefore, these times are marked as not heard in EEG signals. In this study, brain signals were measured with Brain Products Vamp 16 EEG device, and then EEG raw data were created using the Brain Vision Recorder program and MATLAB. After the data set was created from the signal data produced by the heard and unheard sounds in the brain, machine learning processes were carried out with the PYTHON programming language. The raw data created with MATLAB was taken with the Python programming language, and after the pre-processing steps were completed, machine learning methods were applied to the classification algorithms. Each raw EEG data has been detected by the Count Vectorizer method. The importance of each EEG signal in all EEG data has been calculated using the TF-IDF (Term Frequency-Inverse Document Frequency) method. The obtained dataset has been classified according to whether people can hear the sound. Naïve Bayes, Light Gradient Strengthening Machine (LGBM), support vector machine (SVM), decision tree, k-NN, logistic regression, and random forest classifier algorithms have been applied in the analysis. The algorithms selected in our study were preferred because they showed superior performance in ML and succeeded in analyzing EEG signals. Selected classification algorithms also have features of being used online. Naïve Bayes, Light Gradient Strengthening Machine (LGBM), support vector machine (SVM), decision tree, k-NN, logistic regression, and random forest classifier algorithms were used. In the analysis of EEG signals, Light Gradient Strengthening Machine (LGBM) was obtained as the best method. It was determined that the most successful algorithm in prediction was the prediction of the LGBM classification algorithm, with a success rate of 84%. This study has revealed that hearing tests can also be performed using brain waves detected by an EEG device. Although a completely independent hearing test can be created, an audiologist or doctor may be needed to evaluate the results.

1. Introduction

Hearing loss has become a chronic disease in people of all ages. According to the World Health Organization, 466 million people worldwide have hearing loss, and 75% are in developing countries [1]. Although hearing impairment is not fatal, it can cause depression, communication problems, and functional problems in daily life [2]. According to the research, it has been seen that people who have hearing loss and then use hearing aids benefit more than those who are diagnosed in the later stages and start using the device [3]. For this reason, the hearing test should be done without neglecting it. Pure tone audiometry testing is the basis of hearing assessment [4].
In the current systems, hearing tests are performed by the audiologist in a soundproof cabinet in a clinic. During the trial, pure tones are given to the person at different levels (250 Hz, 500 Hz, 1000 Hz, 2000 Hz, 4000 Hz, 8000 Hz) with intensities between 0 dB and 110 dB through insulated headphones [5]. If the individual states that they hear the given sound, the sound intensity is reduced by 10 dB, while if they do not state that they hear the given sound, it is increased by 5 dB. This hearing test procedure is called the Hughson-Westlake method [6]. When sounds are given during the hearing test, it will influence the brain if they are heard. When the sound is not given, and the sounds provided are not heard, an impact on the brain will not be expected. In this study, signals are assigned randomly to create an effect in the brain with the designed interface. Sounds are randomly given to the person in terms of amplitude and frequency. If the person heard, Considering that he will listen to higher wavelengths of that frequency, those sounds were not given, but lower-intensity sounds were given. If the person has not heard, it is not shown in the frequency of the sound that he has not heard, considering that he will not hear lower intensity, but the higher intensity sounds are given.
In this paper, the system whose block diagram is shown in Figure 1 is designed. The hearing test user interface was prepared in the MATLAB GUI environment, and the pre-processing of the raw EEG data and the execution of the machine learning algorithms were performed with the PYTHON programming language. With the hearing test interface, sound signals were randomly given to the person being tested, and the person was expected to press a mouse button or a key on the keyboard to the sounds they heard. Brain Products’ V-Amp 16 model product was used to receive and process brain signals in real-time, and thus our EEG data were studied.
The rest of this study is organized as follows: the material and the proposed method are given in Section 3. Then, the experimental results and discussion are presented in Section 4. Lastly, concluding remarks are provided in Section 5.

2. Literature Review

Gargouri M et al., developed a portable system to perform individual hearing testing. They used the Raspberry Pi3 B+ board to generate the audio signal and evaluate the test results. They performed the hearing test by connecting a headset and mouse to this card, which provides computer features. While testing the right ear, no sound was given to the left ear, and no sound was given to the right ear when trying the left ear. Initially, they gave a sound signal of 40 dB and 1000 Hz, decreased the decibel value in 20 dB steps until the person did not indicate that they heard it, and then increased the decibel value in 10 dB steps until they stated that they heard it. They completed the hearing test according to the signals heard by the person [7].
In another paper, Ilay Saka performed the hearing test with a ready-made mobile application and a hearing impairment scale. The hearing impairment scale consists of 25 items, and there are “Yes”, “No”, and “Sometimes” options as answers. Zero points are given for each “No” answer, two points for the “Sometimes” answer, and four points for the “Yes” answer. When all the scores are added together the results are: “no obstacle” for 0–17, “mild-moderate dis-ability” for 18–42, and “significant disability” for values greater than 43, in his study with the mobile application, individuals were given sounds in different dB and frequencies. The person was expected to indicate whether they heard or not. Ilkay Saka, in his study, determined that the use of the hearing aid had no effect on the results of the tests and stated that the self-made hearing test applications could be applied independently of the use of the hearing aid [8].
In another paper, Sadık Özçelik et al. showed the effect of music education on musical hearing and perception with statistical measurements and neural network analysis. The study applied audiometric, single-tone vertical hearing, multi-tone horizontal hearing, melody, and rhythm hearing tests to the students entering the Faculty of Education. The students were subjected to the same tests at the end of two years, and the prediction of the music department and the students of the other departments was carried out with the neural network method. They showed that they classified the music department students with a success rate of 92% and the students of other departments with a success rate of 88% [9].
The study by Rajkumar S. and colleagues used artificial neural network methods to determine the hearing loss value and the appropriate hearing aid gain value. It was reported that 86% of individuals with hearing impairments were satisfied with the gain values recommended by the studies [10].
In their study, Franz Fürbass and colleagues developed an algorithm using deep learning and could accurately predict whether an individual had epilepsy or not with 80% success, based on EEG data [11].
Su-Lim Tan and colleagues conducted a study that combined pure tone audiometry and speech recognition tests and designed it with a microcontroller. The speech recognition test measures an individual’s ability to understand speech in a noisy environment. Audiologists usually conduct this test by having the person speak into a microphone or by playing pre-recorded speeches from a recording environment. In the study carried out by Su-Lim Tan and colleagues, they developed a system that independently performs these two tests without the help of audiologists [12].
In the study by Ykhlef Fayçal and colleagues, they created a hearing test system using pure tone sound and white noise masking signal with the help of a computer with a standard sound card. White noise is a broadband noise with the same acoustic energy at all frequencies. White noise has the feature of masking distracting, disturbing, and focus-preventing sounds. The study developed a system to produce similar sounds to those produced by an audiometer device and detect patients’ hearing loss thresholds [13].
In their study, Muhammad Yeamim Hossain and his colleague created an artificial intelligence model using the SVM (Support Vector Machine) algorithm, a machine learning classification method for detecting human motor-neuron behavior using EEG signals [14].
In his study, N. Sriraam presented a study that automatically detects hearing loss using EEG signals. The study tested the effect of auditory stimuli on newborn babies’ brains. Advanced feedforward and feedback neural network models were used on the collected EEG data. The studies were conducted using Multilayer Perceptron Neural Network (MLP) and Elman Neural Network (EN) artificial neural network classification algorithms. Even though the learning time of the EN algorithm was longer than that of the MLP method, it was observed that the classification prediction accuracy was higher [15].
In the study by Paulraj M P and colleagues, the responses of newborn babies’ brains to different decibels and frequencies of sounds were investigated using EEG. Studies using MLP and EN, classification algorithms of artificial neural networks, resulted in a detection accuracy rate of 79.99% for the left ear and 82.78% for the right ear [16].
In their study, Priyatam Naravajhula and colleagues carried out a spam classification prediction study using the TF-IDF method on SMS and Twitter text data with Artificial Intelligence. The most successful algorithm was Logistic regression, with a 95.3% Accuracy value [17].

3. Materials and Methods

3.1. Material

To create a stimulus in the brain, sound signals of different frequencies and decibels are given to the person tested on the designed MATLAB GUI via headphones. For the sounds heard, the person pressed a button with the computer’s mouse or a key on the keyboard. The person did not act during the waiting periods between inaudible sounds and two different sounds. To follow the brain waves during this hearing test, electrodes were positioned on the skin, and the brain waves were recorded. After the EEG signals were separated as audible and inaudible signals, they were subjected to pre-processing studies for machine learning. Then, training and testing processes were carried out with classification algorithms. For hearing tests to be carried out, they must be given to the person who produces the sounds in the desired format and is tested appropriately. Software and sound card hardware are needed to make the sounds to be used in the hearing test, and headphones are required to transmit them.
A 16-channel EEG device was utilized in this study. Data collected from volunteers displayed the P300 wave upon visualization. In addition to the 16 channels, 13 and 8 channels where the P300 effect was more substantial were also utilized as training data. The positions of these channels were sourced from various studies. Figure 2 shows the locations of the EEG electrodes used on the scalp.

The MATLAB GUI Hearing Test Interface and EEG Signals Recorded during the Process

Hearing tests have an important place in the detection of auditory disease. Today, hearing tests are performed by an audiologist in a clinical setting, in sound-isolated rooms. The on-duty audiologist gives the person to be tested a headset and a button to indicate that they have heard the sounds. The audiologist provides sound signals with frequency values of 125 Hz, 250 Hz, 500 Hz, 1 kHz, 2 kHz, 4 kHz, and 8 kHz, with intensity varying between 0 dB–110 dB. If the patient states that he has heard, the power is reduced by 10 dB for the same frequency sound, and a response is expected again. If the patient does not state that he hears, that is, he does not press the button, the sound intensity is increased by 5 dB for the same frequency value. This hearing test method is the Hughson Westlake Ascending Method [5]. In this study, to be able to perceive the stimuli clearly in the brain, the frequencies of 125 Hz, 250 Hz, 500 Hz, 1 kHz, 2 kHz, 4 kHz, 8 kHz, and 12 kHz and 10 dB, 20 dB, 30 dB, 40 dB, 50 dB, 60 dB. Sounds with the intensity of 70 dB, 80 dB, 90 dB, 100 dB, 110 dB, and 120 dB are given randomly. Random frequency and intensity matching was made, and this test was given to the person tested. Since there are eight different frequency values and 12 different decibel values, 96 different sounds must be given to the person to complete the test for one ear. The total number of sounds required for both ears will be 192. It has given too many sounds that can take a long time and causes the person to make an error.
For this reason, if the voice given to the person is heard by the person, it was accepted that they would hear a similar frequency and higher decibels, and the same sounds were not given to the person again. Likewise, for the sounds that the person cannot hear, sounds with the same frequency but lower decibels cannot be heard, so the sounds in this decibel are not given to the person again. The hearing test interface is shown in Figure 3.
The person to be hearing the test was put on headphones and given a keyboard or mouse to indicate the sounds he heard. If “Random db” and “Random freq” sections are selected on the interface, the sounds will be given at random frequency and intensity. If not selected, sounds in sequential frequency and decibel values will be given in the form of a standard hearing test. In this study, it was thought that sounds with random frequency and decibel value would create a more pronounced stimulus in the brain. With the “Left Ear” option, the hearing test is performed only on the left ear, with the “Right Ear” option only on the right ear, and with the “Both of Ears” option, during which the two ears are tested sequentially, first the left ear and then the right ear. The test starts with the selected settings by clicking the “START TEST” button. In this study, the left and right ears were tested sequentially with random frequency and decibel values by choosing the “Both of Ears”, “Random db” and “Random freq” options.
The test started with the left ear first, and the person clicked on the “HEAR” button or pressed a key on the keyboard after the sounds they heard. They did not act during the waiting times between the sounds they did not hear and the sounds that were given. After the first sound is given to the person, the EEG signals are recorded with the Recorder software. The S1 label is marked on the EEG signal when a sound is given to the left ear. As soon as the person stated that he heard that sound, the S2 label was marked on the EEG signal. For the right ear, the S3 label is marked when the sound is given, and the S4 label is marked when it is heard. In the middle of the pause between the two sounds, the S5 label is marked.
Figure 4 shows the test performed for both ears. If the “Both of Ears” option shown in Figure 4 is selected, the test is performed for both ears; and the left ear is tested first, then the right ear is tested. In the test performed for the left ear, the “x” sign is shown in blue for the sounds heard, and the “X” sign is shown in blue for the sounds that cannot be heard. After the left ear test is completed, the next right ear test is started. In the test performed for the right ear, the “o” sign is shown in red for the sounds heard, and the “O” sign is shown in red for the sounds that cannot be heard. If the test is requested to be repeated or a new examination is performed, the “REFRESH” button can be clicked on the screen shown in Figure 3. This hearing test can also be performed for one ear with the “Left Ear” or “Right Ear” options shown in Figure 3.
During the hearing test performed with the hearing test interface, EEG recordings were taken using the Brain Products V-Amp 16 EEG recorder (V-Amp, Brain Products GmbH, Gilching, Germany) and the Brain Products ActiCap Xpress model dry electrode. After the EEG recorder hardware is attached to the person’s head, the adjustments in Figure 5 are made on the Recorder software. According to these settings, 16 channels of EEG data will be recorded with a sampling frequency of 2000 Hz per second. EEG data recorded with the Recorder software can be filtered. In this study, a 50 Hz Notch filter and 1–12 Hz band-pass filtering was applied.
Data was collected from nine volunteers with different characteristics for the study. The volunteers consist of seven males and two females. The oldest male volunteer is 44 years old, the youngest male volunteer is 28 years old, and the average age of the male volunteers is calculated to be 35.14. The oldest female volunteer is 61 years old, the youngest female volunteer is 38 years old, and the average age of the female volunteers is calculated to be 49.5. Therefore, the average age of the nine individuals is calculated to be 38.33. Each volunteer works in different jobs. Ethical board approval was obtained to collect data from the volunteers.

3.2. The Proposed Method

Figure 6 shows the Schematic representation of the proposed method. The proposed method consists of five steps:
Step 1
With the hearing test interface, the hearing test is performed first on the left ear and then on the right ear when the whole test is finished. With the hearing test, sound signals with frequency values of 125 Hz, 250 Hz, 500 Hz, 1 kHz, 2 kHz, 4 kHz, 8 kHz, and 12 kHz are given to the person, with an intensity varying between 0 dB–110 dB.
Step 2
For each given sound, the person presses the button if he/she hears it. If the button is not pressed, it is considered not heard. Brain signals are received simultaneously with EEG signals. Thus, the effect of the heard sound on the brain is determined. This marked EEG data is RAW EEG DATA.
Step 3
Pre-processing Steps: The following procedures were applied to the pure EEG data.
  • 50 Hz Notch Filter
  • 1–12 Hz Band-pass filter
  • Normalization Process
  • Round to 3 digits after the comma
  • Count Vectorizer
  • TFIDF
The data was filtered using a band-pass filter (BPF) to eliminate noise and irrelevant information from low-frequency bands (1 Hz) and high-frequency bands (12 Hz) [19]. The EEG data is band-pass filtered with a bandwidth of 1–12 Hz, a conventional bandwidth for P300 detection [20], and removes noise while preserving P300 information [21].
Step 4
After pre-processing, the dataset has become suitable for machine learning classification algorithms. After the entire data set was shuffled, it was split into 70% training data and 30% test data. Naïve Bayes, LGBM, SVC, DTC, KNC, L.R., and RFC algorithms were applied to the training data.
Step 5
Each model made an estimation on the test data, and the estimation results were compared with the actual results. For model success, K-fold cross-validation, confusion matrix, accuracy rate, R2 score, MSE, recall, precision rate, specificity rate), F1 score, MCC, and log-loss (log loss) methods were used.

3.2.1. The Data Pre-Processing Method

In many machine learning algorithms, statistical models always work with vectors and matrices. To use real-world data as input to machine learning algorithms, it is necessary to convert it into a suitable format. This study has used the Count Vectorizer and TFIDF (Term Frequency Inverse Document Frequency) method.
  • Count Vectorizer:
In this study, EEG signals were normalized and converted to text format. For the data converted to text format to be run in machine learning algorithms, it is necessary to vectorize it. Count Vectorizer converts a text into a vector depending on the frequency of each word in the entire text [22].
Table 1 shows eight unique words as columns of the table and three text examples as rows. In each cell of the table, there is the number of words in the text in question. All words were converted to lower-case before the study, as there would be a distinction between upper- and lower-case letters. The words in the column are listed alphabetically.
Thus, the words in the three different sentences have been converted into numerical data. According to this table, the text expressions in the sentence have been quantified according to their frequency.
During Count Vectorizer, data is not kept as words. For this reason, numerical indices are given to the words seen in the columns of Table 1. As seen in Table 2, the vectorization process of the texts has been completed.
  • TFIDF (Term Frequency Inverse Document Frequency) Method:
TFIDF is the weighting factor that shows the importance of a term in the document. At the same time, TFIDF can be defined as the calculation of how relevant a word in a text string is to the text. It is calculated using the formulas in Equations (1) and (2) [23,24].
TFIDF t , d = T . F . t , d * IDF t
IDF t = log n + 1 DF t + 1 + 1

3.2.2. The Classification (Machine Learning Algorithms)

Classification is creating a machine learning model by learning by the computer in cases where the classes of the past data are known and determining which class the new and unknown data will be found through this model. Machine learning studies consist of two steps called training and testing. First, a learning model is created over the data sets where the intended results are known in the training phase. The test phase passes the data with known results through the model and estimates. The success rate is determined by checking the estimated and actual results [23,25]. If the model’s success is at acceptable levels, using this model, estimation is carried out on data whose results are unknown.
In this paper, among the classification algorithms, Naïve Bayes, LGBM (Light Gradient Boosting Machine), SVM (Support Vector Machine Classification—Support Vector Machine), DTC (Decision Tree Classification—Decision Tree Classification), K-NN (K-Nearest Neighbor)—K-Nearest Neighbors), L.R. (Logistic Regression), RFC (Random Forest Classification) were used.
a)
Naive Bayes Classification Algorithm:
Thomas Bayes developed the Naive Bayes algorithm in the 18th century [26]. The mathematical representation of the Naïve Bayes algorithm is given in Equation (3).
P A \ B = P ( B \ A ) P ( A ) p ( B )
Here, the expression “P(A)” means the probability of occurrence of event A, the expression “P(B)” means the probability of occurrence of event B “, the expression P(B\A)” means the probability of occurrence of event B when event “A” occurs [27].
b)
Light Gradient Strengthening Machine (LGBM) Classification Algorithm:
LGBM is an algorithm that creates strong models in data sets where weak learning will occur. It has been published as open-source by Microsoft since 2017 [28]. LGBM has a structure that improves the properties of decision trees in terms of running time and memory usage while maintaining predictive success. The algorithm is successful in big data processing thanks to its histogram-based studies [28]. Furthermore, since LightGBM works in a leaf-based structure, the tree primarily grows horizontally, and the tree depth does not increase much. In this way, excessive learning can be prevented [29].
c)
Random Forest Classification (RFC) Algorithm:
It is a formation discovered by Leo Breiman in 2001. However, the method itself was developed by Tin Kam Ho, a statistician at Bell Labs, as an extension of the “bagging” method, which Breiman had also independently developed. Breiman took the idea of “bagging” and applied it to decision trees and named this new ensemble method as “Random Forest. The Random Forest algorithm is used by applying the decision trees algorithm “n” times to increase the prediction success rate [30]. It is used in classification, regression, and feature extraction processes. In the R.F. algorithm, there are two parameters, the number of trees “N” and the value “M”, which determines the number of variables in the nodes. The test condition known as the appropriate cut-off value of the preferred variable for branching is determined by the “gini coefficient”. The Gini Coefficient is calculated as in Equation (4) [31].
GINI ( T ) = 1 - k = 1 n ( Sk ) 2
The GINI index is calculated at each node and continues until it reaches zero. When it is zero, branching ends, the tree with the lowest error rate has the highest weight, and the tree with the highest error rate has the lowest weight. Afterward, classes vote according to the weight of the trees, and these votes are collected. The tree structure with the highest votes is determined, and that tree is preferred [31,32]
d)
K-Nearest Neighbors (K-NN) Classification Algorithm:
The K Nearest Neighbors algorithm, known as KNN (K-Nearest Neighbors), was developed by T.M. COVER and P.E. It was revealed using the “Nearest Neighbor Decision Rule” created by HART. KNN determines to which classification cluster unclassified data is closest among the classified data [33,34,35,36]
e)
Support Vector Machines (SVM) Classification Algorithm:
SVM is a machine learning method using hyperplanes. Apart from other linear methods, it is to determine the gap that provides the separation of hyperplanes so that it is the largest. The distinction is not a single linear equation but a range that can be expressed by many equations [37,38]
The SVM algorithm was created by Vladimir Vapnik and Alexey Chervonenkis in 1963 [39]. This method has been used in many fields, such as chemistry [40], physics [41], biology, and technology. To perform the classification process, SVM determines the optimum hyperplane, that is, the decision plane, which separates the classes from each other [42,43]. In the test phase, the position of the data points to the plane, which will be estimated to be included in which class is examined.
f)
Decision Tree Classification (DTC) Algorithm:
The Decision Tree algorithm is a frequently used machine learning method. The Decision Trees algorithm is used for regression and classification problems. It is widely used because it is an algorithm that is cheap to create, easy to interpret, and highly reliable. DTC is a method of iterating the group into groups with a clustering algorithm until all values have the same class label [44]. The decision tree classification method performs the prediction process using the tree structure. In this tree structure, there are decision variables at the nodes of the tree and target values to be predicted at the leaves [44]. The features in the data set are from the nodes in the decision trees, and these nodes answer the node questions as true-false or yes-no and are divided into two. After the data is divided, the influencing feature vectors affecting the features are examined, and the nodes with high success information enter the algorithm to branch [45]. There are problems such as the unstable structure of decision trees, differentiation of the result in the slightest change in the data, and over-learning problems [46]. Decision trees are a machine learning method with statistical and probability structures behind them. The entropy value called the complexity value in statistics, is very important. Entropy is the probability of experiencing unexpected events. In other words, entropy is required to predict possible deviations in the algorithm.
g)
Logistic Regression (L.R.) Algorithm:
Logistic regression was introduced by Raymond Pearl and Lowell Reed in 1940 [47]. Logistic regression is used to classify independent variables to examine the probability of a categorical outcome [48]. Equation (5) shows the logistic regression equation.
W t =   e x p α + β t 1 + e x p α + β t
In Equation (5), the expression “Ω” indicates the upper limit of the saturation level of “W”, the expression “α” the value of the curve on the “x” axis, and the expression “β” the slope of the curve. With this method, the relationship between the independent variables in terms of probability and the regressions resulting from the regression is determined and calculated [48]. Logistic regression algorithm is frequently used in fields such as health [49], social sciences [50], and political sciences [51].

3.2.3. The Testing Process and Performance Metrics

After the machine learning algorithms complete the training phase, the estimation process is made with the data whose results are unknown. It is difficult to control the accuracy once the predicted effects of the unknown data have been determined. In such cases, to test the success of the models, two-thirds of the training data is trained, and the remaining one-third is tested. In this study, training and testing are done by dividing the training data. Thus, the model is tested with data not included in the training, revealing its success.
a)
The confusion matrix is a square matrix used to test the accuracy of predictions of classification models. Many machine learning algorithms are used in this study, and these algorithms are put to the test. The user checks the test results, and the most suitable algorithm is selected for the study. The confusion matrix shows the number of correct and incorrect predictions of the models [52,53]. Table 3 shows the confusion matrix.
In this study, hearing the sounds during the hearing test was expressed as “actually positive situation”, not being heard as “actually negative situation”, “predicted positive situation” for the model to be heard as “predicted negative situation”, and “predicted negative situation” for not being heard.
b)
The classification error rate is the data that the model predicts incorrectly. It is calculated with the formula in Equation (6) [54].
Classication   Error = FP + FN TP + TN + FP + FN
c)
The classification accuracy rate is the value found by subtracting the prediction error rate from the number 1, which is the total probability value. It can also be calculated with the formula in Equation (7). The accuracy rate is the ratio of the values that the machine learning model predicts correctly [55].
Classication   accuracy = TP + TN TP + TN + FP + FN
d)
Recall is the rate at which positive situations are predicted positively by the model. It is calculated as in Equation (8) [56].
Recall = TP TP + FN
e)
Precision shows how many of the data used in the study predicted correctly, and it is calculated as in Equation (9) [57].
Precision = TP TP + FP
f)
Specificity is the ratio of correctly predicted negative true values to all true negative values. It is calculated with the formula in Equation (10) [58].
Specificity = TN TN + FP
g)
F-1 Score is a unit of measure that shows the success of machine learning classification algorithms, also called F-1 Score (F-1 Score) or F-Measure (F-Measure), and is calculated with precision and recall values. It is calculated as in Equation (11) [59].
F 1   s c o r e = 2   x   Precision   x   Recall Precision + Recall
h)
The ROC curve graphically shows the relationship between expressions of sensitivity and specificity for a data test. The ROC curve is obtained by plotting the false positive rates (1-specificity) values versus the sensitivity value. In other words, it is a graphic representation of the relationship between the T.P. value and the F.P. value. The area under the ROC curve is expressed as AUC (Area Under Curve), and it is understood that the classification success of the model increases as it is closer to 1 [60].
i)
The MCC (Matthews Correlation Coefficient) is a correlation coefficient between actual values and predicted values. The MCC value takes a value between −1 and +1. It is calculated with the formula in Equation (12). It is understood that the classification success of the model increases as the MCC value approaches 1 [61]
MCC = TP   x   T . N .   -   F . P .   x   F . N . T P + F P T P + F N T N + F P T N + F N
j)
Log Loss, also called Logistic Regression Loss or Cross-Entropy Loss, takes into account uncertainty in addition to how much the model estimates differ from the true value. The more the estimated estimates deviate from the true values, the higher the Log Loss value [62]
When the prepared dataset is visualized, the P300 signal created on the EEG signals by the given sound stimulus is shown in blue, and the EEG signals obtained in the absence of the sound stimulus as orange, the P300 effect in the data obtained from all experimental studies is shown in Figure 7. As seen in Figure 7, while there is a separation between the signals heard and those not heard in channels 1–13, this separation is seen more clearly in channels 1–8. Therefore, artificial intelligence studies were applied and evaluated for 16 channels, 1–13 and 1–8.

4. Results

In this paper, hearing tests and simultaneous EEG recordings were performed in a test environment. In a quiet and calm room, under inconstant and the same conditions (temperature, test stages, test equipment, etc.), nine different people were tested with the Matlab hearing test interface, and the effects of each sound and silence on the brain were recorded with an EEG recorder. Data pre-processing studies were applied to EEG recordings, and then machine learning classification algorithms were tried.
In classical audiometry devices, wavelength and frequency values are given sequentially. With the designed hearing test interface, wavelength and frequency values of sounds can be assigned sequentially and randomly. In addition, hearing tests can be performed separately for the left and right ears and both ears in a sequential manner. In this study, the hearing test was carried out sequentially for both ears, with the wavelength and frequency settings of the sound being random. Figure 8 shows the result of a hearing test performed with the hearing test interface. According to the hearing test report in Figure 8, the sound signal with the lowest amplitude heard at each frequency is marked separately for the left and right ears. The left ear is shown in blue with the symbol “x”, and the right ear with the symbol “o” in red.
The effects of the sounds from the MATLAB hearing test interface on the brain are recorded with a 16-channel EEG recorder. The obtained performance results are shown in Table 4. ROC curves obtained with seven different classification algorithms using 16 channels of EEG signals are given in Figure 9. The obtained other performance results are shown in Table 5.
In the EEG data taken over 16 channels, the P300 effect is seen in channels 1–13. The following results were obtained by running machine learning algorithms for the first 13 channels. The obtained performance results with the first 13 channels are shown in Table 6. ROC curves obtained with seven different classification algorithms using the first 13 channels of EEG signals are given in Figure 10. Finally, the obtained other performance results with the first 13 channels are shown in Table 7.
Effect of P300 on EEG data received over 16 channels 1–13. However, seen on channels 1–8. The separation of heard and unheard sounds in channels is more pronounced. The following results were obtained by running machine learning algorithms for the first eight channels. The obtained performance results with the first eight channels are shown in Table 8. ROC curves obtained with seven different classification algorithms using the first eight channels of EEG signals are given in Figure 11. The obtained other performance results with the first eight channels are shown in Table 9.
When the accuracy rate (accuracy) metric is examined, LGBM was the most successful algorithm with 83% in the study for 16 channels, LGBM was the most successful algorithm with 84% in the study for 13 channels, and the most successful algorithm was LGBM with 82.1% in the study for eight channels. When the precision metric is examined, LGBM was the most successful algorithm with 84.3% in the study for 16 channels, LGBM was the most successful algorithm with 86.2% in the study for 13 channels, and the most successful algorithm was RFC with 87% in the study for eight channels. When the sensitivity (recall) metric is examined, LGBM was the most successful algorithm with 82.7% in the study for 16 channels, LGBM was the most successful algorithm with 81.9% in the study for thirteen channels, and LGBM was the most successful algorithm with 82.5% in the study for 8 channels. When the F1 score metric is examined, LGBM was the most successful algorithm with 83.5% in the study for 16 channels, LGBM was the most successful algorithm with 84% in the study for 13 channels, and LGBM was the most successful algorithm with 82.5% in the study for 8 channels. When the MCC metric is examined, LGBM was the most successful algorithm with a value of 0.66 in the study for 16 channels, LGBM was the most successful algorithm with a value of 0.681 in the study for 13 channels, and LGBM was the most successful algorithm with a value of 0.641 in the study for 8 channels. When the log-loss (Log-loss) metric is examined, LGBM was the most successful algorithm with 0.397 in the study for 16 channels, LGBM was the most successful algorithm with a value of 0.383 in the study for 13 channels, and LGBM was the most successful algorithm with a value of 0.422 in the study for 8 channels. When the AUC ratiometric in the ROC curve is examined, The most successful algorithm was LGBM, with 88% in the study for 16 channels, LGBM was the most successful algorithm with 89.9% in the study for 13 channels, and the most successful algorithm was LGBM with 88.2% in the study for 8 channels.
When the machine learning model success metrics were examined, it was understood that the LGBM algorithm made more successful predictions than other algorithms. It was determined that the success metrics changed when the EEG data of the first 13 channels and the first eight channels, in which the P300 effect was detected, instead of the 16-channel EEG data, were taken for training and tested with machine learning algorithms. Table 10 shows that the training with 13-channel EEG data obtained from the EEG recorder is more successful than the training with 16-channel and 8-channel EEG data.
Audiologists play different sound waves and frequencies to individuals using audiometry equipment and record their responses through button presses. This process allows audiologists to determine which frequency and wavelength of sound are audible to the person being tested. However, human-related factors such as delayed button presses, non-responses, or forgetfulness can lead to inaccurate recordings by audiologists. To mitigate this issue, this project proposes the use of an EEG headband fitted with electrodes that can be worn by the patient. Random sound waves and frequencies will be presented to the patient and the EEG signals detected by the headband will indicate if the patient heard the sound or not. This project aims to make the work of audiologists easier and more accurate, but it is still recommended that final decisions be made by audiologists. To utilize this system, audiologists only need to fit the patient with the EEG headband, input their demographic information into the system, and run the software. The system will then present sounds randomly and record the corresponding EEG signals. These EEG signals will be analyzed using machine learning models to make predictions.

5. Conclusions

In this study, the data obtained from the 16-channel EEG signals during the hearing test performed with the MATLAB hearing test interface were analyzed using machine learning classification algorithms with three methods: eight channels, thirteen channels, and sixteen channels. In the study conducted for sixteen channels, the most successful algorithm was LGBM, with a maximum Cross-Validation value of 77.5%. In the study conducted for thirteen channels, it was LGBM with a maximum Cross-Validation value of 78.7%. The study conducted for eight channels was LGBM with a maximum Cross-Validation value of 77.4%. The LGBM algorithm is the most successful in the studies conducted for all channels and channels where the P300 effect is seen, and there was not much difference between success rates. While the random estimation rate of an EEG signal as heard-unheard was 50%, the 78.7% estimation rate was determined by the LGBM algorithm.
In this study, which was carried out with the MATLAB hearing test interface and simultaneously recorded EEG data, it is estimated that the success rates may increase if the data are collected from more people with different demographic (age, gender, etc.) characteristics and working in different occupational groups and estimated by machine learning algorithms. In addition, during the hearing test, the sound isolation of the room where the test is performed and the filtering feature of the external sounds of the headphones used will ensure that the sounds given during the test will be heard more accurately so that the EEG data will be recorded more accurately. Thus the success rates of the machine learning algorithms will be higher. Increasing the number and diversity of volunteers can lead to more successful and consistent prediction results.
In this study, data was collected from nine volunteers. The data collection process from each volunteer takes between 3–4 min. The sounds given to the volunteers were randomly given, so if a sound was not heard, sounds with a smaller wavelength than that sound was not given. Therefore, the data collection process from each volunteer shows differences. The worst case is when each frequency starts from the smallest wavelength and increases. In this case, the data collection process from one volunteer takes about 10 min. The pre-processing process and the creation of the machine learning model for the data of the nine volunteers took about seven minutes. As the number of volunteers increases, the training time will likely increase. The prediction time is about five seconds, regardless of the number of volunteers and the data size. However, this time does not include the time to collect EEG signals from the person. Collecting EEG signals takes about 3–4 min. Time measurements were made on cloud servers with 8-core CPUs and 32 GB of RAM.

Author Contributions

Conceptualization, M.K., A.R.K., K.P., F.A. and A.A.; formal analysis, M.K., A.R.K., K.P., F.A., A.A. and R.A. investigation, K.P.; resources, M.K., A.R.K., K.P., F.A., A.A. and R.A. writing—original draft preparation, F.A.; writing—review and editing, K.P.; visualization, A.A.; supervision, M.K., A.R.K., K.P., F.A., A.A. and R.A.; project administration, F.A. and A.A. All authors have read and agreed to the published version of the manuscript.

Funding

The authors extend their appreciation to the Deputyship for Research & Innovation, Ministry of Education in Saudi Arabia for funding this research work through project number 223202.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki, and approved by the Institutional Ethics Committee of Karabuk University (protocol code 2022/1122 and 21 November 2021).

Informed Consent Statement

Written informed consent has been obtained from the patient(s) to publish this paper.

Data Availability Statement

We can send the datasets at the request of the authors.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. WHO. Deafness and Hearing Loss Estimates. 2018. Available online: https://Www.Who.Int/News-Room/Fact-Sheets/Detail/Deafness-and-Hearing-Loss. (accessed on 27 December 2022).
  2. Hawthorne, G.; Hogan, A.; Giles, E.; Stewart, M.; Kethel, L.; White, K.; Plaith, B.; Pedley, K.; Rushbrooke, E.; Taylor, A. Evaluating the health-related quality of life effects of cochlear implants: A prospective study of an adult cochlear implant program. Int. J. Audiol. 2004, 43, 183–192. [Google Scholar] [CrossRef]
  3. Davis, A.; Smith, P.; Ferguson, M.; Stephens, D.; Gianopoulos, I. Acceptability, benefit and costs of early screening for hearing disability: A study of potential screening tests and models. Health Technol. Assess. 2007, 11, 1–294. [Google Scholar] [CrossRef]
  4. Bess, F.H.; Humes, L. Audiologic Measurement. In Audiology: The Fundamentals, 4th ed.; Lippincott Williams & Wilkins: Philadelphia, PY, USA, 2008; pp. 101–158. [Google Scholar]
  5. Franks, J.R. Hearing Measurements. In Occupational Exposure to Noise Evaluation, Prevention and Control; World Health Organization: Geneva, Switzerland, 2001; Volume 8, pp. 183–202. [Google Scholar]
  6. Vencovský, V.; Rund, F. Pure tone audiometer. In Proceedings of the 20th Annual Conference Proceeding’s Technical Computing, Limassol, Cyprus, 27–31 August 2012; pp. 1–5. [Google Scholar]
  7. Gargouri, M.; Chaoui, M.; Wira, P. Development of hearing self-assessment pure tone audiometer. In Proceedings of the DTS 2020—IEEE International Conference on Design and Test of Integrated Micro and Nano-Systems, Hammamet, Tunisia, 7–10 June 2020; pp. 1–5. [Google Scholar]
  8. Saka, İ. Altmışbeş Yaş Üzeri Erişkinlerde, Saf Ses Odyometri, Mobil Uygulama İle Kendi Kendine Yapılabilen İşitme Testi Ve Türkçe İşitme Engeli Ölçeği—Yaşlı İle Elde Edilen Sonuçların Karşılaştırmalı Analizi. Master’s Thesis, Başkent University, Ankara, Turkey, 2021. [Google Scholar]
  9. Özelik, S.; Hardala, N. The statistical measurements and neural network analysis of the effect of musical education to musical hearing and sensing. Expert Syst. Appl. 2011, 38, 9517–9521. [Google Scholar] [CrossRef]
  10. Rajkumar, S.; Muttan, S.; Sapthagirivasan, V.; Jaya, V.; Vignesh, S.S. Software intelligent system for effective solutions for hearing impaired subjects. Int. J. Med. Inform. 2017, 97, 152–162. [Google Scholar]
  11. Fürbass, F.; Kural, M.A.; Gritsch, G.; Hartmann, M.; Kluge, T.; Beniczky, S. An artificial intelligence-based EEG algorithm for detection of epileptiform EEG discharges: Validation against the diagnostic gold standard. Clin. Neurophysiol. 2020, 131, 1174–1179. [Google Scholar] [CrossRef]
  12. Tan, S.-L.; Loh, S.-K.; Chee, W.-C. Speech-enabled pure tone audiometer. In Proceedings of the 2007 International Symposium on Intelligent Signal Processing and Communication Systems, Xiamen, China, 28 November–1 December 2007; pp. 361–364. [Google Scholar] [CrossRef]
  13. Faycal, Y.; Wahiba, B.; Lotfi, B.; Ratiba, B.; Benia, A. Computer Audiometer for Hearing Testing. In Proceedings of the 2008 International Conference on Advances in Electronics and Micro-electronics, Valencia, Spain, 29 September–4 October 2008; pp. 111–114. [Google Scholar] [CrossRef]
  14. Hossain, M.Y.; Doulah, A.B.M.S.U. Detection of Motor Imagery (MI) Event in Electroencephalogram (EEG) Signals using Artificial Intelligence Technique. In Proceedings of the 2020 IEEE East-West Design & Test Symposium (EWDTS), Varna, Bulgaria, 4–7 September 2020. [Google Scholar] [CrossRef]
  15. Sriraam, N. EEG based automated detection of auditory loss: A pilot study. Expert Syst. Appl. 2012, 39, 723–731. [Google Scholar] [CrossRef]
  16. Paulraj, M.P.; Subramaniam, K.; Bin Yaccob, S.; Bin Adom, A.H.; Hema, C.R. A machine learning approach for distinguishing hearing perception level using auditory evoked potentials. In Proceedings of the 2014 IEEE Conference on Biomedical Engineering and Sciences (IECBES), Kuala Lumpur, Malaysia, 8–10 December 2014; pp. 991–996. [Google Scholar] [CrossRef]
  17. Naravajhula, P.; Naravajula, A. Spam Classification: Genetically Optimized Passive-Aggressive Approach. SN Comput. Sci. 2022, 4, 93. [Google Scholar] [CrossRef]
  18. Aygün, A.B.; Kavsaoğlu, A.R. An innovative P300 speller brain–computer interface design: Easy screen. Biomed. Signal Process. Control 2022, 75, 103593. [Google Scholar] [CrossRef]
  19. Turnip, A.; Hong, K. Classıfying Mental Actıvities From Eeg-P300 Signals Using Adaptive Neural Networks. Int. J. Innov. Comput. Inf. Control. 2012, 8, 6429–6443. [Google Scholar]
  20. Bugrain, L.; Saavedra, C.; Ranta, R. Finally, what is the best flter for P300 detection? İn TOBI Workshop lll-Tools for Brain Computer Interaction; HAL: Würzburg, Germany, 2012. [Google Scholar]
  21. Won, K.; Kwon, M.; Ahn, M.; Jun, S.C. EEG Dataset for RSVP and P300 Speller Brain-Computer Interfaces. Sci. Data 2022, 9, 388. [Google Scholar] [CrossRef]
  22. Özdemir, M. Predicting Stock Movements With Machine Learning Using Textual Data. Master’s Thesis, Boğaziçi University, İstanbul, Turkey, 2020. [Google Scholar]
  23. Küçükakarsu, M. Audiometry System Design and Hearing Test With Machine Learning Methods Using EEG Signals. Master’s Thesis, Karabuk University, Karabuk, Turkey, 2021. [Google Scholar]
  24. Parmar, P.S.; Biju, P.K.; Shankar, M.; Kadiresan, N. Multiclass Text Classification and Analytics for Improving Customer Support Response through different Classifiers. In Proceedings of the 2018 International Conference on Advances in Computing, Communications and Informatics (ICACCI), Bangalore, India, 19–22 September 2018; pp. 538–542. [Google Scholar] [CrossRef]
  25. Dhage, S.N.; Raina, C.K. A Review on Machine Learning Algorithms. Int. J. Res. Appl. Sci. Eng. Technol. 2016, 7, 792–796. [Google Scholar]
  26. Lewis, D.D. Representation and Learning in Information Retrieval. Ph.D. Thesis, University of Massachusetts, Amherst, MA, USA, 1992. [Google Scholar]
  27. Learning Data Science: Day 19—Naive Bayes. Available online: https://haydar-ai.medium.com/learning-data-science-day-19-naive-bayes-3d5d8b93f8e9 (accessed on 27 December 2022).
  28. Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Ye, Q.; Liu, T.Y. LightGBM: A highly efficient gradient boosting decision tree. Adv. Neural Inf. Process. Syst. 2017, 30. Available online: https://proceedings.neurips.cc/paper/2017/hash/6449f44a102fde848669bdd9eb6b76fa-Abstract.html (accessed on 20 January 2023).
  29. Gümüştaş, E. Kayıp Gözlem İçeren Dengesiz Veri Setlerinin Topluluk Öğrenme Algoritmaları İle Sınıflandırılması. Master’s Thesis, Mimar Sinan Fine Arts University, İstanbul, Turkey, 2019. [Google Scholar]
  30. Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
  31. Akman, M.; Genç, Y.; Ankaralı, H. Random Forests Yöntemi ve Sağlık Alanında Bir Uygulama. Turk. Klin. J. Biostat. 2011, 3, 36–48. [Google Scholar]
  32. Daldal, N.; Polat, K.; Guo, Y. Classification of multi-carrier digital modulation signals using NCM clustering based feature-weighting method. Comput. Ind. 2019, 109, 45–58. [Google Scholar] [CrossRef]
  33. Daldal, N.; Cömert, Z.; Polat, K. Automatic determination of digital modulation types with different noises using Convolutional Neural Network based on time–frequency information. Appl. Soft Comput. 2020, 86, 105834. [Google Scholar] [CrossRef]
  34. Akçay, A. Bilgi ve Belge Yönetiminde Veri Madenciliği. Master’s Thesis, İstanbul University, İstanbul, Turkey, 2014. [Google Scholar]
  35. Daldal, N.; Sengur, A.; Polat, K.; Cömert, Z. A novel demodulation system for base band digital modulation signals based on the deep long short-term memory model. Appl. Acoust. 2020, 166, 107346. [Google Scholar] [CrossRef]
  36. Uçar, M.K.; Uçar, Z.; Köksal, F.; Daldal, N. Estimation of body fat percentage using hybrid machine learning algorithms. Measurement 2021, 167, 108173. [Google Scholar] [CrossRef]
  37. Chih-Wei, H.; Chih-Chung Chang, C.-J.L. A Practical Guide to Support Vector Classification. BJU Int. 2008, 101, 1396–1400. [Google Scholar]
  38. Cover, T.M.; Hart, P.E. Nearest Neighbor Pattern Classification. IEEE Trans. Inf. Theory 1967, 13, 21–27. [Google Scholar] [CrossRef]
  39. Vapnik, V. Pattern recognition using generalized portrait method. Autom. Remote Control. 1963, 24, 774–780. [Google Scholar]
  40. Ivanciuc, O. Applications of Support Vector Machines in Chemistry. Rev. Comput. Chem. 2007, 23, 291–400. [Google Scholar] [CrossRef]
  41. Sahin, M.; Krücker, D.; Melzer-Pellmann, I.-A. Performance and optimization of support vector machines in high-energy physics classification problems. Nucl. Instrum. Methods Phys. Res. Sect. A Accel. Spectrometers Detect. Assoc. Equip. 2016, 838, 137–146. [Google Scholar] [CrossRef]
  42. Ayhan, S.; Doğmuş, Ş. Destek Vektör Makineleriyle Sınıflandırma Problemlerinin Çözümü İçin Çekirdek Fonksiyonu Seçimi. Eskişehir Osman. Üniversitesi İktisadi Ve İdari Bilim. Derg. 2014, 9, 175–201. [Google Scholar]
  43. Kavzoglu, T.; Colkesen, I. Destek Vektör Makineleri ile Uydu Görüntülerinin Sınıflandırılmasında Kernel Fonksiyonlarının Etkilerinin İncelenmesi. Harit. Derg. 2010, 144, 73–82. [Google Scholar]
  44. Gülaçar, H. Nesnelerin İnterneti Platformları İçin Makine Öğrenmesi Tabanlı Bir Tahmin Modülü. Master’s Thesis, Istanbul Technical University, İstanbul, Turkey, 2018. [Google Scholar]
  45. Görgün, M. Makine Öğrenmesi Yöntemleri İle Kalp Hastalığının Teşhis Edilmesi. Master’s Thesis, İstanbul Aydın University, İstanbul Turkey, 2020. [Google Scholar]
  46. Yangın, G. Xgboost ve Karar Ağacı Tabanlı Algoritmaların Diyabet Veri Setleri Üzerine Uygulaması. Master’s Thesis, Mimar Sinan Fine Arts University, İstanbul Turkey, 2019. [Google Scholar]
  47. Pearl, R.; Reed, L.J.; Kish, J.F. The Logistic Curve and the Census Count of 1940. Science 1940, 92, 486–488. [Google Scholar] [CrossRef]
  48. Peng, C.-Y.J.; Lee, K.L.; Ingersoll, G.M. An Introduction to Logistic Regression Analysis and Reporting. J. Educ. Res. 2002, 96, 3–14. [Google Scholar] [CrossRef]
  49. Uzun, A.; Baş, S. Tedarik Zincirinde Müşteri Siparişlerinin Lojistik Regresyon Analizi İle Değerlendirilmesi. Ömer Halisdemir Üniversitesi İktisadi Ve İdari Bilim. Fakültesi Derg. 2018, 11, 67–81. [Google Scholar] [CrossRef]
  50. Hewett, T.E.; Webster, K.E.; Hurd, W.J. Systematic Selection of Key Logistic Regression Variables for Risk Prediction Analyses: A Five-Factor Maximum Model. Clin. J. Sport Med. 2019, 29, 78–85. [Google Scholar] [CrossRef]
  51. Felitti, V.J.; Anda, R.F.; Nordenberg, D.; Williamson, D.F.; Spitz, A.M.; Edwards, V.; Koss, M.P.; Marks, J.S. REPRINT OF: Relationship of Childhood Abuse and Household Dysfunction to Many of the Leading Causes of Death in Adults: The Adverse Childhood Experiences (ACE) Study. Am. J. Prev. Med. 2019, 56, 774–786. [Google Scholar] [CrossRef] [PubMed]
  52. Candan, H. Ses İletim Hızıyla Akciğer Hastalıklarının Teşhisinde Makine Öğrenimi Yöntemlerinin Performanslarının Karşılaştırılması. Master’s Thesis, Ege University, İzmir, Turkey, 2019. [Google Scholar]
  53. Uzosike, U.B. Kestirimsel Analizde Boyutluluk İndirgenmesi ve Makine Öğrenmesi. Master’s Thesis, Mersin University, Mersin Turkey, 2020. [Google Scholar]
  54. Tozlu, İ. Simplifying Balance Sheet Adjustment Process In Commercial Loan Applications Using Machine Learning Methods. Master’s Thesis, Istanbul Technical University, İstanbul, Turkey, 2019. [Google Scholar]
  55. Karslı, Ö.B. Makine Öğrenme Yöntemleri İle Karaciğer Hastalığı Teşhisi. Master’s Thesis, Istanbul Technical University, İstanbul Turkey, 2019. [Google Scholar]
  56. Moruff, O.A.; Maruf, A.O.; Tosho, A. Performance Analysis of Selected Machine Learning Algorithms for the Classification of Phishing URLs; Faculty of Natural and Applied Sciences Al-Hikmah University: Nashville, TX, USA, 2020; Volume 13, pp. 16–20. [Google Scholar]
  57. Hassler, E.E.; Hale, D.P.; Hale, J.E. A comparison of automated training-by-example selection algorithms for Evidence Based Software Engineering. Inf. Softw. Technol. 2018, 98, 59–73. [Google Scholar] [CrossRef]
  58. Il, B.; Ayyıldız, H.; Tuncer, T. Discrimination of β-thalassemia and iron deficiency anemia through extreme learning machine and regularized extreme learning machine based decision support system. Med. Hypotheses 2020, 138, 109611. [Google Scholar]
  59. Ye, Z.; Guo, S.; Chen, D.; Wang, H.; Li, S. Drilling formation perception by supervised learning: Model evaluation and parameter analysis. J. Nat. Gas Sci. Eng. 2021, 90, 103923. [Google Scholar] [CrossRef]
  60. Hassan, S.U.; Zahid, M.S.M.; Husain, K. Performance comparison of CNN and LSTM algorithms for arrhythmia classification. In Proceedings of the 2020 International Conference on Computational Intelligence (ICCI), Bandar Seri Iskandar, Malaysia, 8–9 October 2020; pp. 223–228. [Google Scholar] [CrossRef]
  61. Bulut, F. Sınıflandırıcı Topluluklarının Dengesiz Veri Kümeleri Üzerindeki Performans Analizleri. Bilişim Teknol. Derg. 2016, 9, 153. [Google Scholar]
  62. Manzali, Y.; Chahhou, M.; El Mohajir, M. Impure Decision Trees for Auc and Log loss optimization. In Proceedings of the 2017 International Conference on Wireless Technologies Embedded and Intelligent Systems WITS 2017, Fez, Morocco, 19–20 April 2017; pp. 430–436. [Google Scholar]
Figure 1. The proposed procedure in our study.
Figure 1. The proposed procedure in our study.
Diagnostics 13 00575 g001
Figure 2. The representation of located EEG electrodes on the scalp [18].
Figure 2. The representation of located EEG electrodes on the scalp [18].
Diagnostics 13 00575 g002
Figure 3. The designed hearing test interface start screen in the study.
Figure 3. The designed hearing test interface start screen in the study.
Diagnostics 13 00575 g003
Figure 4. Representative audible and unheard sounds during the test.
Figure 4. Representative audible and unheard sounds during the test.
Diagnostics 13 00575 g004
Figure 5. Recorder software settings in the EEG signal analysis.
Figure 5. Recorder software settings in the EEG signal analysis.
Diagnostics 13 00575 g005
Figure 6. Schematic representation of the proposed automatic audiometric system design based on Machine Learning Methods using the EEG signals.
Figure 6. Schematic representation of the proposed automatic audiometric system design based on Machine Learning Methods using the EEG signals.
Diagnostics 13 00575 g006
Figure 7. P300 signal effect on the hearing performance in data from all experimental studies.
Figure 7. P300 signal effect on the hearing performance in data from all experimental studies.
Diagnostics 13 00575 g007
Figure 8. Hearing test results performed with MATLAB GUI hearing test interface.
Figure 8. Hearing test results performed with MATLAB GUI hearing test interface.
Diagnostics 13 00575 g008
Figure 9. ROC curves obtained with seven different classification algorithms using 16 channels of EEG signals.
Figure 9. ROC curves obtained with seven different classification algorithms using 16 channels of EEG signals.
Diagnostics 13 00575 g009aDiagnostics 13 00575 g009b
Figure 10. The obtained ROC curves with seven different classification algorithms using the first 13 channels of EEG signals.
Figure 10. The obtained ROC curves with seven different classification algorithms using the first 13 channels of EEG signals.
Diagnostics 13 00575 g010aDiagnostics 13 00575 g010b
Figure 11. The obtained ROC curves with seven different classification algorithms using the first eight channels EEG signals.
Figure 11. The obtained ROC curves with seven different classification algorithms using the first eight channels EEG signals.
Diagnostics 13 00575 g011
Table 1. The working of Count Vectorizer.
Table 1. The working of Count Vectorizer.
AThisStudySourceTextExampleVectorTime
1. text01101100
2. text10011210
3. text11112001
Table 2. The completed Count Vectorizer.
Table 2. The completed Count Vectorizer.
01234567
01101100
10011210
11112001
Table 3. Confusion Matrix.
Table 3. Confusion Matrix.
Actual Total
Positive (1)Negative (0)
PredictedPositive (1)T.P.FPTP + FP
Negative (0)FNTNFN + TN
TotalTP + FNFP + TNTP + FN + FP + TN = N
TP: It refers to positive situations that the model predicts positively. F.P.: It refers to the positive cases that the model predicts negatively. F.N.: Expresses negative situations that the model predicts positively. TN: It refers to negative situations that the model predicts negatively.
Table 4. The performance results using 16 channels of EEG signals with machine-learning classification algorithms.
Table 4. The performance results using 16 channels of EEG signals with machine-learning classification algorithms.
AlgorithmTNFPFNTPAccuracy(%)MSE(%)Recall(%)Precision(%)
N.Bayes14281521048.751.36.255.6
LGBM125252813483.017.082.784.3
SVM (SVC)1500162048.151.90-
Decision Tree Classifier (DTC)130205011277.622.469.184.8
k-NN (KNC)9159709258.741.356.860.9
LR125251095357.142.932.767.9
Random Forests Classifier (RFC)13317818168.631.450.082.7
Table 5. The obtained other performance metrics results using 16 channels of EEG signals with machine-learning classification algorithms.
Table 5. The obtained other performance metrics results using 16 channels of EEG signals with machine-learning classification algorithms.
AlgorithmF1 (%)Specificity(%)MCCLog Loss
N.Bayes11.194.70.0185.965
LGBM83.583.30.660.397
SVC-10000.692
DTC76.286.70.567.749
KNC58.860.70.1752.191
LR44.283.30.1850.688
RFC62.388.70.4160.519
Table 6. The performance results using the first 13 channels of EEG signals with machine-learning classification algorithms.
Table 6. The performance results using the first 13 channels of EEG signals with machine-learning classification algorithms.
AlgorithmTNFPFNTPAccuracy(%)MSE(%)Recall(%)Precision(%)
N.Bayes132201392149.051.013.151.2
LGBM131212913184.016.081.986.2
SVC1520160048.751.30-
DTC134185910175.324.763.184.9
KNC9260748657.142.953.858.9
LR109431006054.245.837.558.3
RFC13715718972.427.655.685.6
Table 7. The obtained other performance metrics results using the first 13 channels EEG signals with machine learning classification algorithms.
Table 7. The obtained other performance metrics results using the first 13 channels EEG signals with machine learning classification algorithms.
AlgorithmF1 (%)Specificity(%)MCCLog Loss
N.Bayes20.986.807.093
LGBM84.086.20.6810.383
SVC-10000.693
DTC72.488.20.5288.524
KNC56.260.50.1431.885
LR45.671.70.0980.690
RFC67.490.10.4850.484
Table 8. The performance results using the first eight channels of EEG signals with machine learning classification algorithms.
Table 8. The performance results using the first eight channels of EEG signals with machine learning classification algorithms.
AlgorithmTNFPFNTPAccuracy(%)MSE(%)Recall(%)Precision(%)
N.Bayes131211332750.649.416.956.3
LGBM124282813282.117.982.582.5
SVC1520160048.751.30-
DTC13121669472.127.958.881.7
KNC9260669459.640.458.861.0
LR10448976353.546.539.456.8
RFC13814669474.425.658.887.0
Table 9. The obtained other performance metrics results using the first eight channels EEG signals with machine learning classification algorithms.
Table 9. The obtained other performance metrics results using the first eight channels EEG signals with machine learning classification algorithms.
AlgorithmF1 (%)Specificity(%)MCCLog Loss
N.Bayes26.086.20.0427.787
LGBM82.581.60.6410.422
SVC-10000.693
DTC68.486.20.4669.631
KNC59.960.50.1932.170
LR46.568.40.0810.693
RFC70.190.80.5200.495
Table 10. The obtained performance metrics results using 16 channels, the first 13 channels, and the first eight channels EEG signals with the LGBM algorithm.
Table 10. The obtained performance metrics results using 16 channels, the first 13 channels, and the first eight channels EEG signals with the LGBM algorithm.
Algorithm16 Channels EEG13 Channels EEG8 Channels EEG
Accuracy (%)83.084.082.1
MSE17.016.017.9
Recall (%)82.781.982.5
Precision (%)84.386.282.5
F1 (%)83.584.082.5
Specificity (%)83.386.281.6
MCC0.660.6810.641
Log Loss0.3970.3830.422
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Küçükakarsu, M.; Kavsaoğlu, A.R.; Alenezi, F.; Alhudhaif, A.; Alwadie, R.; Polat, K. A Novel Automatic Audiometric System Design Based on Machine Learning Methods Using the Brain’s Electrical Activity Signals. Diagnostics 2023, 13, 575. https://doi.org/10.3390/diagnostics13030575

AMA Style

Küçükakarsu M, Kavsaoğlu AR, Alenezi F, Alhudhaif A, Alwadie R, Polat K. A Novel Automatic Audiometric System Design Based on Machine Learning Methods Using the Brain’s Electrical Activity Signals. Diagnostics. 2023; 13(3):575. https://doi.org/10.3390/diagnostics13030575

Chicago/Turabian Style

Küçükakarsu, Mustafa, Ahmet Reşit Kavsaoğlu, Fayadh Alenezi, Adi Alhudhaif, Raghad Alwadie, and Kemal Polat. 2023. "A Novel Automatic Audiometric System Design Based on Machine Learning Methods Using the Brain’s Electrical Activity Signals" Diagnostics 13, no. 3: 575. https://doi.org/10.3390/diagnostics13030575

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop