Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Deep Learning #57 (Model-Simple feed-forward neural network) #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ranamanish674zu
Copy link

I used deep learning (simple feed forward neural network) on the given datasest, but due to small size of dataset or something else model gone overfitted(training accuracy-100 %, testing accuracy-69%, Overfitting occurs when your model learns the training data too well, capturing noise and details that do not generalize to new, unseen data ) , so to resolve it i used Regularization(regularization techniques like L2 regularization (weight decay) to the model) , Dropout(Introduce dropout layers to the model to randomly set a fraction of input units to 0 at each update during training time, which helps prevent overfitting) , Early Stopping(Use early stopping to halt training when the validation loss stops improving) for balanced the training and testing accuracy. So after applying this i get training accuracy-above 80 % and testing accuracy-75%. after this i save the model into deeplearning.pkl file, if we developers want use this model then they can use by importing this file in the code. that's i solved issue #57
image
image

Copy link

vercel bot commented Jun 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
diabetes-prediction ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 1, 2024 7:39pm

@BamaCharanChhandogi
Copy link
Owner

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@BamaCharanChhandogi
Copy link
Owner

I will look at this PR later.

Repository owner locked and limited conversation to collaborators Jun 2, 2024
BamaCharanChhandogi

This comment was marked as resolved.

Copy link
Owner

@BamaCharanChhandogi BamaCharanChhandogi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you create a separate file for deep learning, because we do not need deep learning as of now? I want to keep separate this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants