Python知識分享網(wǎng) - 專業(yè)的Python學習網(wǎng)站 學Python,上Python222
Approaching (Almost) Any Machine Learning Problem PDF 下載
發(fā)布于:2024-06-05 10:19:32
(假如點擊沒反應,多刷新兩次就OK!)

Approaching (Almost) Any Machine Learning Problem PDF 下載 圖1

 

 

資料內容:

Cross-validation
We did not build any models in the previous chapter. The reason for that is simple. 
Before creating any kind of machine learning model, we must know what crossvalidation is and how to choose the best cross-validation depending on your 
datasets.
So, what is cross-validation, and why should we care about it?
We can find multiple definitions as to what cross-validation is. Mine is a one-liner: 
cross-validation is a step in the process of building a machine learning model which 
helps us ensure that our models fit the data accurately and also ensures that we do 
not overfit. But this leads to another term: overfitting.
To explain overfitting, I think it’s best if we look at a dataset. There is a red winequality dataset2 which is quite famous. This dataset has 11 different attributes that 
decide the quality of red wine. 
These attributes include:
• fixed acidity
• volatile acidity
• citric acid
• residual sugar
• chlorides
• free sulfur dioxide
• total sulfur dioxide
• density
• pH
• sulphates
• alcohol
Based on these different attributes, we are required to predict the quality of red wine 
which is a value between 0 and 10