nehulagrawal
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -3,15 +3,21 @@ license: apache-2.0
|
|
3 |
language:
|
4 |
- en
|
5 |
tags:
|
6 |
-
-
|
7 |
- machine-learning
|
8 |
- audio-analysis
|
|
|
9 |
- signal-processing
|
10 |
- acoustic-feature-extraction
|
11 |
- audio-classification
|
12 |
- speech-recognition
|
13 |
---
|
14 |
-
#
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
## Table of Contents
|
17 |
1. [Introduction](#introduction)
|
@@ -27,53 +33,53 @@ tags:
|
|
27 |
|
28 |
## Introduction
|
29 |
|
30 |
-
The
|
31 |
|
32 |
## Problem Statement
|
33 |
|
34 |
-
Interpreting an
|
35 |
|
36 |
1. Increased stress for parents and caregivers
|
37 |
-
2. Delayed response to the
|
38 |
3. Potential misinterpretation of the baby's requirements
|
39 |
|
40 |
## Solution
|
41 |
|
42 |
-
Our
|
43 |
|
44 |
-
1. Analyzing audio recordings of
|
45 |
2. Extracting relevant acoustic features
|
46 |
3. Classifying the cry into predefined categories (e.g., belly pain, burping, discomfort, hunger, tiredness)
|
47 |
|
48 |
## Importance and Need
|
49 |
|
50 |
-
### 1. Enhanced
|
51 |
|
52 |
-
By accurately identifying the reason behind an
|
53 |
|
54 |
-
- Improved
|
55 |
-
- Reduced stress for both the
|
56 |
- Better overall care and nurturing
|
57 |
|
58 |
### 2. Medical Applications
|
59 |
|
60 |
-
In healthcare settings, the
|
61 |
|
62 |
- Assisting pediatricians in identifying potential health issues
|
63 |
-
- Supporting early detection of certain conditions that may affect an
|
64 |
- Providing objective data to complement clinical observations
|
65 |
|
66 |
### 3. Research Opportunities
|
67 |
|
68 |
This model opens up new avenues for research in:
|
69 |
|
70 |
-
-
|
71 |
- Early childhood psychology
|
72 |
-
- Acoustic analysis of
|
73 |
|
74 |
## How It Works
|
75 |
|
76 |
-
1. **Data Collection**: The model is trained on
|
77 |
|
78 |
2. **Feature Extraction**: Advanced signal processing techniques are used to extract relevant acoustic features from the audio samples.
|
79 |
|
@@ -95,8 +101,8 @@ This model opens up new avenues for research in:
|
|
95 |
|
96 |
1. Clone this repository:
|
97 |
```bash
|
98 |
-
git clone https://huggingface.co/nehulagrawal/
|
99 |
-
cd
|
100 |
```
|
101 |
|
102 |
2. Download the pre-trained model files:
|
@@ -174,6 +180,31 @@ result = predict_cry(file_path)
|
|
174 |
print(f"Predicted cry type: {result}")
|
175 |
```
|
176 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
### Integration
|
178 |
|
179 |
You can integrate this model into your own applications, such as:
|
@@ -200,7 +231,7 @@ For inquiries and contributions, please contact us at [email protected].
|
|
200 |
@ModelCard{
|
201 |
author = {Nehul Agrawal and
|
202 |
Priyal Mehta},
|
203 |
-
title = {
|
204 |
year = {2024}
|
205 |
}
|
206 |
```
|
|
|
3 |
language:
|
4 |
- en
|
5 |
tags:
|
6 |
+
- baby-cry-classification
|
7 |
- machine-learning
|
8 |
- audio-analysis
|
9 |
+
- baby-cry-classification
|
10 |
- signal-processing
|
11 |
- acoustic-feature-extraction
|
12 |
- audio-classification
|
13 |
- speech-recognition
|
14 |
---
|
15 |
+
# Baby Cry Classifier
|
16 |
+
|
17 |
+
<p align="center">
|
18 |
+
<!-- Smaller size image -->
|
19 |
+
<img src="https://huggingface.co/foduucom/infant-cry-classification/resolve/main/Baby-cry.jpg" alt="Image" style="width:500px; height:300px;">
|
20 |
+
</p>
|
21 |
|
22 |
## Table of Contents
|
23 |
1. [Introduction](#introduction)
|
|
|
33 |
|
34 |
## Introduction
|
35 |
|
36 |
+
The Baby Cry Classifier is an advanced machine learning model designed to analyze and categorize different types of baby cries. This innovative tool aims to assist parents, caregivers, and healthcare professionals in understanding and responding to babys' needs more effectively.
|
37 |
|
38 |
## Problem Statement
|
39 |
|
40 |
+
Interpreting an baby's cries can be challenging, especially for new parents or in high-stress situations. Babies communicate their needs primarily through crying, but distinguishing between different types of cries (e.g., hunger, discomfort, tiredness) can be difficult. This uncertainty can lead to:
|
41 |
|
42 |
1. Increased stress for parents and caregivers
|
43 |
+
2. Delayed response to the baby's needs
|
44 |
3. Potential misinterpretation of the baby's requirements
|
45 |
|
46 |
## Solution
|
47 |
|
48 |
+
Our baby Cry Classifier addresses these challenges by:
|
49 |
|
50 |
+
1. Analyzing audio recordings of baby cries
|
51 |
2. Extracting relevant acoustic features
|
52 |
3. Classifying the cry into predefined categories (e.g., belly pain, burping, discomfort, hunger, tiredness)
|
53 |
|
54 |
## Importance and Need
|
55 |
|
56 |
+
### 1. Enhanced baby Care
|
57 |
|
58 |
+
By accurately identifying the reason behind an baby's cry, caregivers can respond more promptly and appropriately to the baby's needs. This can lead to:
|
59 |
|
60 |
+
- Improved baby comfort and well-being
|
61 |
+
- Reduced stress for both the baby and caregiver
|
62 |
- Better overall care and nurturing
|
63 |
|
64 |
### 2. Medical Applications
|
65 |
|
66 |
+
In healthcare settings, the baby Cry Classifier can be a useful diagnostic tool:
|
67 |
|
68 |
- Assisting pediatricians in identifying potential health issues
|
69 |
+
- Supporting early detection of certain conditions that may affect an baby's cry patterns
|
70 |
- Providing objective data to complement clinical observations
|
71 |
|
72 |
### 3. Research Opportunities
|
73 |
|
74 |
This model opens up new avenues for research in:
|
75 |
|
76 |
+
- baby communication and development
|
77 |
- Early childhood psychology
|
78 |
+
- Acoustic analysis of baby vocalizations
|
79 |
|
80 |
## How It Works
|
81 |
|
82 |
+
1. **Data Collection**: The model is trained on baby cry audio samples, carefully labeled with their corresponding causes.
|
83 |
|
84 |
2. **Feature Extraction**: Advanced signal processing techniques are used to extract relevant acoustic features from the audio samples.
|
85 |
|
|
|
101 |
|
102 |
1. Clone this repository:
|
103 |
```bash
|
104 |
+
git clone https://huggingface.co/nehulagrawal/baby-cry-classification
|
105 |
+
cd baby-cry-classifier
|
106 |
```
|
107 |
|
108 |
2. Download the pre-trained model files:
|
|
|
180 |
print(f"Predicted cry type: {result}")
|
181 |
```
|
182 |
|
183 |
+
## Model Performance
|
184 |
+
|
185 |
+
Model Performance
|
186 |
+
The baby Cry Classifier has undergone extensive testing to evaluate its effectiveness. Here's an overview of its performance:
|
187 |
+
Accuracy Metrics:
|
188 |
+
|
189 |
+
class precision recall f1-score
|
190 |
+
|
191 |
+
0 0.00 0.00 0.00
|
192 |
+
1 0.67 0.67 0.67
|
193 |
+
2 0.75 0.33 0.46
|
194 |
+
3 0.50 0.43 0.46
|
195 |
+
4 0.25 0.50 0.33
|
196 |
+
|
197 |
+
accuracy 0.38
|
198 |
+
macro avg 0.43 0.39 0.38
|
199 |
+
weighted avg 0.51 0.38 0.41
|
200 |
+
|
201 |
+
Overall Accuracy:
|
202 |
+
|
203 |
+
Accuracy: 0.38461538461538464
|
204 |
+
Precision: 0.4333333333333333
|
205 |
+
Recall: 0.38571428571428573
|
206 |
+
F1 Score: 0.38461538461538464
|
207 |
+
|
208 |
### Integration
|
209 |
|
210 |
You can integrate this model into your own applications, such as:
|
|
|
231 |
@ModelCard{
|
232 |
author = {Nehul Agrawal and
|
233 |
Priyal Mehta},
|
234 |
+
title = {baby Cry Classifier},
|
235 |
year = {2024}
|
236 |
}
|
237 |
```
|