abhisheks008 / DL-Simplified

Deep Learning Simplified is an Open-source repository, containing beginner to advance level deep learning projects for the contributors, who are willing to start their journey in Deep Learning. Devfolio URL, https://devfolio.co/projects/deep-learning-simplified-f013
https://quine.sh/repo/abhisheks008-DL-Simplified-499023976
MIT License
334 stars 296 forks source link

Heart Disease Prediction using Deep Learning #568

Closed KamakshiOjha closed 2 months ago

KamakshiOjha commented 2 months ago

Pull Request for DL-Simplified 💡

Issue Title : [Project Addition]: Heart Disease Prediction using Deep Learning #567

Closes: #567

Describe the add-ons or changes you've made 📃

The neural network architecture:

Input Layer:

Shape: (None, 12, 1) Explanation: This specifies that the input data has a shape of (batch_size, 12, 1), where each input sample has 12 time steps and 1 feature. Convolutional Blocks:

The model consists of several convolutional blocks, each containing: Conv1D layer with ReLU activation. Additional Conv1D layer with ReLU activation. Add layer that performs element-wise addition of the output of the first Conv1D layer and the output of the second Conv1D layer. These blocks progressively increase the number of filters from 32 to 256, capturing increasingly complex patterns in the data. Global Average Pooling Layer:

This layer computes the average of the feature maps across the time dimension, resulting in a fixed-length vector regardless of the input sequence length. This helps in capturing global information from the entire sequence. Dense Layers:

Several Dense layers follow the Global Average Pooling layer, reducing the dimensionality of the feature space. Each Dense layer is followed by a ReLU activation function. Output Layer:

The final Dense layer with 2 units and a sigmoid activation function produces the output of the model. This architecture is suitable for binary classification tasks, where the model predicts the probability of belonging to each class.

github-actions[bot] commented 2 months ago

Our team will soon review your PR. Thanks @KamakshiOjha :)

abhisheks008 commented 2 months ago

Can you implement 2-3 more models other than the existing one?

KamakshiOjha commented 2 months ago

can you please check