rasbt / machine-learning-book

Code Repository for Machine Learning with PyTorch and Scikit-Learn
https://sebastianraschka.com/books/#machine-learning-with-pytorch-and-scikit-learn
MIT License
3.6k stars 1.29k forks source link

Make an optional flowchart #56

Closed rasbt closed 10 months ago

rasbt commented 2 years ago

Suggestion : I would recommend and suggest that the author do a flowchart or a diagram for all steps from chapter 1 to 6 for each Machine learning algorithm or all of them at once. like for example some machine learning algorithm don't need to preprocess data ( standardized for example Like tree algorithm ) this will help new learners like me to memorize all required steps fast starting from preprocessing data till tuning and evaluating. This will help us to achieve and done a perfect machine learning model.

OmarAlmighty commented 2 years ago

Hi, Sebastian

I would like to contribute to creating the flowcharts for the algorithms. Here is a simple diagram for the Perceptron learning rule which is provided in chapter 2.

m

Please let me know if you are interested so we can work together.

rasbt commented 2 years ago

Hi @OmarAlmighty, thanks for creating this! I'd say this definitely captures the essence of the perceptron algorithm. However, at the same time, it's also similar to Adaline (and almost similar to logistic regression). Now, thinking about some more complicated learning algorithms, I wonder if it is feasible to create flowcharts for them this way ...

If you find it helpful to create these flowcharts, I am open to collect them in a "contributed" or "community" folder. Maybe "machine-learning-book/contributed/algorithm-flowcharts". I'd be happy to share it on social media and showcase the contributions. But now pressure creating those. Looks like it would be lots of work.

OmarAlmighty commented 2 years ago

Hi @rasbt, thanks for your feedback. I will start working on them ASAP. But how should I submit them to you? What method best works for you; should I send them via email or post them in a comment?

Also, it would be great if I get feedback about the flowcharts when I submit them to ensure the validity of the diagram and that it captures the essence of the algorithm.

rasbt commented 2 years ago

Thanks and no rush at all! I would say submitting them via PR would be best. Ideally in a new folder machine-learning-book/contributed/algorithm-flowcharts