- Scala Machine Learning Projects
- Md. Rezaul Karim
- 430字
- 2021-06-30 19:05:27
Typical machine learning workflow
A typical ML application involves several processing steps, from the input to the output, forming a scientific workflow as shown in Figure 1, ML workflow. The following steps are involved in a typical ML application:
- Load the data
- Parse the data into the input format for the algorithm
- Pre-process the data and handle the missing values
- Split the data into three sets, for training, testing, and validation (train set and validation set respectively) and one for testing the model (test dataset)
- Run the algorithm to build and train your ML model
- Make predictions with the training data and observe the results
- Test and evaluate the model with the test data or alternatively validate the model using some cross-validator technique using the third dataset called a validation dataset
- Tune the model for better performance and accuracy
- Scale up the model so that it can handle massive datasets in future
- Deploy the ML model in production:

The preceding workflow is represent a few steps to solve ML problems. Where, ML tasks can be broadly categorized into supervised, unsupervised, semi-supervised, reinforcement, and recommendation systems. The following Figure 2, Supervised learning in action, shows the schematic diagram of supervised learning. After the algorithm has found the required patterns, those patterns can be used to make predictions for unlabeled test data:

Examples include classification and regression for solving supervised learning problems so that predictive models can be built for predictive analytics based on them. Throughout the upcoming chapters, we will provide several examples of supervised learning, such as LR, logistic regression, random forest, decision trees, Naive Bayes, multilayer perceptron, and so on.
A regression algorithm is meant to produce continuous output. The input is allowed to be either discrete or continuous:

A classification algorithm, on the other hand, is meant to produce discrete output from an input of a set of discrete or continuous values. This distinction is important to know because discrete-valued outputs are handled better by classification, which will be discussed in upcoming chapters:

In this chapter, we will mainly focus on the supervised regression algorithms. We will start with describing the problem statement and then we move on to the very simple LR algorithm. Often, performance of these ML models is optimized using hyperparameter tuning and cross-validation techniques. So knowing them, in brief, is mandatory so that we can easily use them in future chapters.
- PPT,要你好看
- Splunk 7 Essentials(Third Edition)
- 智能傳感器技術與應用
- Getting Started with MariaDB
- Photoshop CS4經典380例
- Effective DevOps with AWS
- RPA:流程自動化引領數字勞動力革命
- 基于多目標決策的數據挖掘方法評估與應用
- 21天學通Visual C++
- 悟透AutoCAD 2009完全自學手冊
- 網絡安全與防護
- Mastering ServiceNow Scripting
- 計算機與信息技術基礎上機指導
- 在實戰中成長:Windows Forms開發之路
- Spatial Analytics with ArcGIS