[Machine Learning] Advice for Applying Machine Learning Week 6
This learning curve shows high error on the test sets but comparatively low error on training set, so the algorithm is suffering from high variance.
The gap in errors between training and test suggests a high variance problem in which the algorithm has overfit the training set. Adding more training data will increase the complexity of the training set and help with the variance problem.
The gap in errors between training and test suggests a high variance problem in which the algorithm has overfit the training set. Reducing the feature set will ameliorate the overfitting and help with the variance problem
The poor performance on both the training and test sets suggests a high bias problem. Adding more complex features will increase the complexity of the hypothesis, thereby improving the fit to both the train and test data.
Decreasing the regularization parameter will improve the high bias problem and may improve the performance on the training set.
You should not use the test set to choose the regularization parameter, as you will then have an artificially low value for test error and it will not give a good estimate of generalization error.
You should not use training error to choose the regularization parameter, as you can always improve training error by using less regularization (a smaller value of ). But too small of a value will not generalize well onthe test set.
The cross validation lets us find the “just right” setting of the regularization parameter given the fixed model parameters learned from the training set.
The learning algorithm finds parameters to minimize training set error, so the performance should be better on the training set than the test set.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
2019-09-27 [Javascript] Construct a Regex to Match Twitter Mentions with Regexr
2018-09-27 [RxJS] Implement RxJS `switchMap` by Canceling Inner Subscriptions as Values are Passed Through
2018-09-27 [RxJS] Implement RxJS `mergeMap` through inner Observables to Subscribe and Pass Values Through
2018-09-27 [RxJS] Chain RxJS Operators Together with a Custom `pipe` Function using Array.reduce
2018-09-27 [RxJS] Implement the `map` Operator from Scratch in RxJS
2017-09-27 [Python] Different ways to test multiple flags at once in Python
2017-09-27 [Angular] Use :host-context and the ::ng-deep selector to apply context-based styling