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

💡[Feature]: Perceptron Learning Algorithm || Classification model #1575

Closed
4 tasks done
Suvadip-sana opened this issue Oct 26, 2024 · 3 comments
Closed
4 tasks done
Labels
enhancement New feature or request

Comments

@Suvadip-sana
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Feature Description

This code is an implementation of a basic linear classifier that attempts to train weights (parameters) to classify data based on given input features. It follows a Perceptron-like structure, which is a simple type of neural network with a linear decision boundary. Here's a breakdown of what the code does and its applications:

Use Case

Binary Classification: The code classifies data into two categories. This approach can be used in basic binary classification tasks, such as spam detection, disease prediction, and fraud detection.

Perceptron Model Training: This code demonstrates how a simple linear classifier, like the Perceptron, can be trained to adjust its weights using errors from predictions, making it a foundational step for understanding neural networks and deep learning.

Error Analysis & Convergence: By observing the loss curve, you can see whether the model converges (i.e., reduces errors over time) or if it diverges, indicating potential issues with learning rate or data separability.

Medical Diagnosis: In this example, the model uses features like Glucose and BMI to predict diabetes presence. Although simplistic, this can be a useful prototype model for binary classification in healthcare. It provides a starting point for understanding how multiple features contribute to a prediction, paving the way for more complex models.

Benefits

@sanjay-kv Sir please assign me this task. I want to add it under classification models

Add ScreenShots

No response

Priority

High

Record

  • I have read the Contributing Guidelines
  • I'm a GSSOC'24 contributor
  • I want to work on this issue
@Suvadip-sana Suvadip-sana added the enhancement New feature or request label Oct 26, 2024
Copy link

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions reach out to LinkedIn. Your contributions are highly appreciated! 😊

Note: I Maintain the repo issue twice a day, or ideally 1 day, If your issue goes stale for more than one day you can tag and comment on this same issue.

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.
We are here to help you on this journey of opensource, any help feel free to tag me or book an appointment.

@sanjay-kv
Copy link
Member

please see pinned issue

Copy link

Hello @Suvadip-sana! Your issue #1575 has been closed. Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants