Steps for final Logistic Regression Modal
In general these steps are correct, but are few clarifications would be good. For supervised learning, you can:


pick model to use
split data into training and test set
train model, or determine weights by optimization of our error function (inputting in training data)
use trained model to predict on test data
utilize metrics of interest to evaluate our model (e.g. MSE for continuous outcomes, AUC for binary)


This however is a very elementary pipeline to train a supervised machine learning model. There are many other steps taken to ensure our model is as robust as possible (like cross validation, feature selection, hyperparameter optimization, model selection...). I would strongly recommend learning about these other steps and seeing how they integrate with the above pipeline.



For unsupervised learning, the process depends a lot on the task, but in general it involves optimizing some objective function using the data provided. This is usually done using all the data in one go (not split into training and test) unlike supervised learning. This can be seen more clearly with examples, take methods like PCA and k clustering; the steps taken to apply these methods very much depend on the method used.



Going further, I would recommend Andrew Ng's coursera course on machine learning. It is very accessible and a great introduction to this field, covering both unsupervised/supervised learning.