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

Best choice for my use case? #76

Open
mitch0s opened this issue Mar 16, 2022 · 1 comment
Open

Best choice for my use case? #76

mitch0s opened this issue Mar 16, 2022 · 1 comment
Labels
question Further information is requested

Comments

@mitch0s
Copy link

mitch0s commented Mar 16, 2022

G'day, how's it going?

I've just started looking into machine learning stuff, and stumbled upon this, looks awesome!

I just want to know what kind of methods I should use for the following:

  • Text identification (Spam checker for example)
  • Image analysis (Detects whether the image given after training is a male or female)

Kind regards,

Machine-Learning newbie, Mitch!

@ddbourgin
Copy link
Owner

Hi Mitch! Sorry for the slow response. Yours is a big question, and there's no single right answer unfortunately (I hate this kind of "response," but it's true). A few pointers:

  • Text identification: The simplest version of this problem uses models from supervised classification. This could run the gamut from simple linear classifiers (e.g., logistic regression, naive Bayes) to deep neural networks (e.g., recent transformer models). For spam classification in particular, the canonical (but certainly not the most performant) example is a naive Bayes classifier.

  • Image analysis: Again, huge swath of models, although most meaningful models these days are variations on convolutional neural networks (of which the Conv2d layer forms the backbone). For classification, you would generally be relying on some form of cross-entropy loss. Unfortunately documentation on all of this is not as developed as I'd like it to be, but I think there's a pretty good correspondence between the operations here and those implemented in other popular deep learning frameworks (e.g, Keras/Tensorflow, PyTorch), so you might check there as well as you get familiar :)

@ddbourgin ddbourgin added the question Further information is requested label Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants