📘 Uncategorized

CS7DS2 Mini-Batch SGD Overfitting Report Assignment Help

NU NursingExpert Expert · 📅 15 July 2026 · ⏱ 2 min read
✍️ Need help with this assignment? Get expert quotes in minutes — free to submit. ✍️ Get Writing Help FREE

CS7DS2 Assignment Brief

1. It is thought that the “noise” added to the gradient when using mini-batch SGD acts as a regulariser and so helps prevent overfitting. Your task is to write a short report critically evaluating the use of mini-batch SGD to reduce overfitting and improve generalisation performance.

The choice of model and dataset to use is up to you, but you need to justify why your choice is appropriate – in particular you should take care to make sure that overfitting takes place when using gradient descent (or SGD with a large batch size). Its also probably a good idea to look at two models/datasets so that you can compare/contrast them. You should investigate the role of mini-batch size on overfitting (remember that SGD becomes gradient descent the batch size equals the full dataset), and also the interplay between step size and mini-batch size. You should also investigate the use of constant-step size vs adaptive approaches such as adam.

Be sure to split the data into training, test and validation sets (cross-validation does not measure generalisation behaviour adequately). Also bear in mind the random nature of SGD, which means that you will probably need to do multiple runs and look at both the average behaviour and the fluctuations about the average from run to run.

Remember that most of the marks are for critical analysis/discussion.

indicative breakdown

(i) methodology 30 marks,
(ii) evaluation and critical discussion 45 marks,
(iii) report organisation and presentation 10 marks.

2. (a) Give short code for mini-batch SGD and explain its operation. [5 marks]

(b) Explain how a projected gradient descent can be used to enforce a constraint on the decision variables. Illustrate with a brief example. [5 marks]

(c) Briefly describe the RMSProp algorithm. Discuss how it differs from Adagrad (and why), and how it can change both the magnitude and direction of the step taken. [5 marks]

Total Marks : 85 marks

Struggling with Your CS7DS2 Optimisation for Machine Learning Assignment?
Get A Free Quote

Plagiarism Free Assignment Help

Expert Help With This Assignment — On Your Terms

  • Native UK, USA & Australia writers
  • 100% Plagiarism-Free — Turnitin report included
  • Deadline from 3 hours
  • Unlimited free revisions
  • Free to submit — compare quotes
NU
NursingExpert Expert
Academic Expert · NursingExpert

Expert academic writer and education specialist helping students in the UK, USA, and Australia achieve their best results.

Need help with your own assignment?

Our expert writers can help you apply everything you've just read — to your actual assignment, brief, and marking criteria.

Get Expert Help Now →
📝 Free Submission — No Card Required

Need Help With This Assignment?

Our verified experts deliver 100% original, plagiarism-free work to your exact brief and marking criteria. Submit free — compare quotes — choose your expert.

Write My Assignment FREE Get A Free Quote →

No credit card · No commitment · First quote in minutes