- Effective Amazon Machine Learning
- Alexis Perrier
- 208字
- 2021-07-03 00:17:52
Underfitting
Underfitting means that the model was poorly trained. Either the training dataset did not have enough information to infer strong predictions, or the algorithm that trained the model on the training dataset was not adequate for the context. The algorithm was not well parameterized or simply inadequate for the data.
If we measure the prediction error not only on the validation set but also on the training set, the prediction error will be large if the model is underfitting. Which makes sense: if the model cannot predict the training, it won't be able to predict the outcomes in the validation set it has not seen before. Underfitting basically means your model is not working.
Common strategies to palliate this problem include:
- Getting more data samples – If the problem comes from a dataset that is too small or does not contain sufficient information, getting more data may improve the model performance.
- Adding more features, raw or via feature engineering – by taking the log, squaring, binning, using splines or power functions. Adding many features and seeing how that improves the predictions.
- Choosing another model – Support Vector Machine, Random Forest, Boosted trees, Bayes classifiers all have different strengths in different contexts.
推薦閱讀
- 公有云容器化指南:騰訊云TKE實戰與應用
- 數據分析實戰:基于EXCEL和SPSS系列工具的實踐
- SQL Server 2016 數據庫教程(第4版)
- SQL Server 2012數據庫技術與應用(微課版)
- 文本數據挖掘:基于R語言
- 企業大數據系統構建實戰:技術、架構、實施與應用
- 卷積神經網絡的Python實現
- 深入淺出 Hyperscan:高性能正則表達式算法原理與設計
- 數據庫原理與應用
- 編寫有效用例
- Augmented Reality using Appcelerator Titanium Starter
- Unreal Engine Virtual Reality Quick Start Guide
- Hadoop 3實戰指南
- Spring MVC Beginner’s Guide
- 企業大數據處理:Spark、Druid、Flume與Kafka應用實踐