University of Engineering & Management Students: Building a Simple Prediction Model for an Internship Deliverable

University of Engineering & Management Students: Building a Simple Prediction Model for an Internship Deliverable

Facebook
Twitter
LinkedIn
WhatsApp
Email

A simple prediction model for an internship deliverable should start with a baseline that needs no learning at all (such as predicting the average), then beat it with one or two honest models judged on data the model has never seen. What a reviewer values is the discipline: a clean split, a metric that fits the problem, an error analysis, and a limitations paragraph a non-technical reader can follow.

This guide gives you a complete worksheet you can fill in over a 14-day internship, a worked illustrative example, and a section for students of the University of Engineering & Management, Jaipur, on what to confirm before you submit anything for academic purposes.

Why a baseline-first approach suits a two-week deliverable

In two weeks you will not build anything sophisticated, and you should not try. The risk for beginners is not a weak model; it is a model nobody can judge. If you report “accuracy 92%” without a baseline, a reader cannot tell whether that is impressive or trivial. If 91% of the rows belong to one class, a model that always predicts that class scores 91% without learning anything.

Baseline-first work solves this by forcing a comparison. The order is:

  1. Define the question and the target column in one sentence.
  2. Split the data before looking at it closely.
  3. Build a baseline that uses no features.
  4. Build one simple model (linear or logistic regression).
  5. Optionally build one stronger model (a decision tree or random forest).
  6. Compare all of them on the same held-out test set with the same metric.
  7. Look at where the best model fails.
  8. Write down what the model cannot be trusted to do.

Every step is small, and each leaves a trace you can paste into the deliverable. That trace is what makes the work reviewable.

The baseline-first modelling worksheet

Copy this table into your notebook or document and fill each row as you go. A row left empty is a gap in your deliverable.

Step What to decide or do What to record
1. Problem statement Regression (predict a number) or classification (predict a category)? Who would use the prediction, and when? One sentence: “Predict X for Y using Z.”
2. Target and leakage check Remove any column that would not exist at prediction time or that is derived from the target. List of dropped columns and why.
3. Train-test split Hold out 20 to 25% for testing. Use a fixed random seed. Use stratified splitting for imbalanced classes. Use a time-ordered split if rows are dated. Split ratio, seed, row counts, class balance in each part.
4. Cleaning rules Decide imputation and encoding using the training set only, then apply the same rules to the test set. Each rule in plain words.
5. Baseline Regression: predict the training mean or median. Classification: predict the most frequent class. Baseline score on the test set.
6. Simple model Linear or logistic regression with minimal tuning. Test score and the main coefficients or features.
7. Stronger model (optional) Decision tree or random forest with a few settings changed. Test score and what you changed.
8. Metric choice Pick one primary metric before comparing, and justify it by the cost of mistakes. Metric name and a two-line reason.
9. Error analysis Inspect the worst predictions and slice errors by segment. Three patterns in the errors, with counts.
10. Limitations paragraph Write 120 to 180 words in plain English (template below). The paragraph itself.

Free 2-Week CareerSwami Internship

Online, 14 days, with a free offer letter and a free completion certificate once you finish the work. Check with your college that it fits your requirement before you enrol.

Apply for the free internship

Train-test split decisions that change your results

The split is the single most important choice because every number you report depends on it. A few rules cover most beginner datasets.

  • Split first, explore second. If you scale, impute or select features on the full dataset and then split, information from the test rows leaks into training and your score looks better than reality.
  • Fix the seed and write it down. Anyone re-running your notebook should get the same split.
  • Stratify for classification. If only 8% of rows are the positive class, a random split can leave the test set with very few of them. Stratifying keeps the proportion similar in both parts.
  • Split by time for dated data. If you are predicting next month’s sales, train on earlier months and test on later ones. A random split lets the model peek at the future.
  • Keep groups together. If the same customer or student appears in several rows, put all of that person’s rows on one side of the split.
  • Touch the test set once. If you keep adjusting the model after seeing test scores, the test set quietly becomes training data. With a small dataset, use cross-validation on the training portion for tuning and keep the test set for the final comparison.

Choosing a metric by the cost of being wrong

Do not choose a metric because it is the default in your library. Choose it by asking which mistake is worse and who bears it.

Situation Suggested primary metric Why Watch out for
Regression, errors matter in the same units as the target Mean absolute error (MAE) Easy to explain: “off by about X on average.” Hides rare large misses.
Regression, large misses are especially costly Root mean squared error (RMSE) Penalises big errors more heavily. Sensitive to outliers.
Balanced classification Accuracy, with a confusion matrix Simple and fair when classes are similar in size. Misleading if classes are skewed.
Imbalanced classification, missing a positive is costly Recall, with precision reported alongside Shows how many true cases you catch. Easy to inflate by flagging everything.
Imbalanced classification, false alarms are costly Precision, with recall reported alongside Shows how trustworthy a flag is. Easy to inflate by flagging almost nothing.
You need one number for imbalanced classes F1 score Balances precision and recall. Treats both errors as equally bad, which may not be true.

Whichever you pick, report the baseline on the same metric. The headline of your deliverable is the gap between baseline and model, not the model score alone.

A worked illustration: predicting monthly electricity bills

This example is illustrative. The numbers are invented to show the method; no code was run and no real dataset is described.

Suppose your task is to predict a household’s monthly electricity bill in rupees from floor area, number of occupants, air conditioner count and month. The dataset has 1,000 rows.

  1. Split. Hold out 250 rows (25%) with seed 42. Training has 750 rows.
  2. Baseline. Predict the training mean bill for every household. Suppose this gives an MAE of Rs 1,400 on the test set.
  3. Simple model. A linear regression with the four inputs. Suppose test MAE falls to Rs 900.
  4. Stronger model. A random forest. Suppose test MAE is Rs 820.
  5. Decision. The forest improves on the linear model by Rs 80. You judge whether that gain justifies a harder-to-explain model. For a two-week deliverable, you might choose the linear model and say why.

The error analysis then asks where the Rs 900 average hides trouble. Suppose you sort test errors and find that most of the largest misses are summer months with three or more air conditioners. That tells you the model underestimates heavy cooling use, a finding worth more than another point of accuracy.

You report it in one line: “Compared with always guessing the average (MAE Rs 1,400), the linear model reduces typical error by about a third (MAE Rs 900) but underpredicts bills in high-AC summer households.” Every number in that sentence comes from the table you filled in.

Error analysis you can finish in an afternoon

Error analysis does not need advanced tooling. Work through this list on the test set.

  • Sort by error. Look at the 15 to 20 worst predictions and ask what they have in common.
  • Slice by segment. Compute your metric separately for categories such as month, region or customer type. A good overall score can hide a poor segment.
  • Check direction. Does the model mostly over-predict or under-predict? Bias in one direction matters for decisions.
  • Plot predicted against actual. Points should hug the diagonal. A fan shape means errors grow with the value.
  • Read the confusion matrix (classification). Name which class is confused with which, not just the total.
  • Look for data problems. Some large errors are mislabelled or mistyped rows, not model failures. Note them rather than silently deleting them.

End with three findings written as plain sentences, each with a count or a number attached.

The plain-English limitations paragraph

This is the part most beginner deliverables skip, and the part that shows the most maturity. Write it for a manager who has never seen your notebook. Avoid hedging words that say nothing, such as “may not be perfect.” Be concrete about what the model cannot do.

Cover these points in 120 to 180 words:

  1. What the data covers. Size, time period, source, and who or what is missing.
  2. What the model is good for. The decision it can reasonably support.
  3. Where it fails. The segments or conditions from your error analysis.
  4. What it should not be used for. One clear boundary.
  5. What would improve it. More data, a missing feature, or better labels.

Fill-in template (illustrative wording):

This model was trained on [N] records from [source/period]. It predicts
[target] about [X metric value] off on average, compared with [Y] for a
simple average-based guess. It is suitable for [rough planning / ranking /
screening], not for [individual high-stakes decisions]. It performs worst
for [segment], where it tends to [over/under]-predict by about [amount].
The data does not include [missing factor], so changes in that factor
would not be reflected. Results come from one train-test split of a small
dataset and could shift with different data. Adding [specific data] would
be the most useful next step.

A 14-day plan for the modelling deliverable

If you take the free two-week online internship at CareerSwami, the structure is a 14-day window, and a baseline-first plan fits it well. Adjust the days to your own track and schedule.

Days Focus Output
1-2 Choose a dataset, state the problem, inspect columns, check leakage Problem sentence and column notes
3 Split the data, fix the seed, record class balance Split log
4-5 Cleaning rules from training data; exploratory charts Cleaning notes and 3 charts
6 Baseline and metric choice with justification Baseline score
7-8 Simple model, interpretation of coefficients Score and short interpretation
9-10 Optional stronger model; cross-validation on training data Comparison table
11-12 Final test evaluation and error analysis Three error findings
13 Limitations paragraph and summary Draft write-up
14 Clean the notebook, re-run top to bottom, proofread Final deliverable

UEM Jaipur students: aligning a modelling deliverable with your programme

The university’s group website presents UEM Jaipur as one of two campuses under the IEM-UEM Group, and its menu lists undergraduate programmes including B.Tech in CSE, BCA and B.Sc, and postgraduate programmes including M.Tech, MBA and MCA. The menu does not list a separate data science or AI B.Tech for Jaipur, so a modelling project will most likely sit alongside coursework in another programme rather than inside a dedicated data science degree. That is fine for a baseline-first project, but it means you should not assume your department has a template for one.

The site links Jaipur syllabus and academic calendar pages, and a group-level guideline page on writing patents, research papers and project reports. The contents of these pages have not been verified here, so treat them as places to look rather than rules. The guideline page may be useful for formatting a written report, but check whether it applies to an external internship.

Nothing verified here describes UEM Jaipur’s rules on internships, online internships, credits or evaluation. Do not assume a certificate from any online internship will be counted for academic requirements. The same applies to placement claims: the group-level placements page, last modified in June 2024, gives self-reported figures that are not specific to Jaipur, so do not treat them as a promise of outcomes from any project you complete.

Verification steps for your modelling deliverable at UEM Jaipur

  1. Open the Jaipur syllabus page for your programme and look for any project, mini-project or training component; note its exact name and semester.
  2. Email your department coordinator or faculty mentor asking in writing whether an online internship deliverable can be submitted for any academic requirement, and what documents they would need.
  3. Ask what report format applies, and whether the group-level project report guidelines are the correct reference for your programme.
  4. Check the academic calendar for submission and break dates so your 14 days fit around exams.
  5. If you use a dataset from a course or lab, ask the faculty member whether you may reuse it in an external deliverable.
  6. Keep the reply emails and your offer letter and certificate together in one folder.

Pre-submission checklist for a prediction model deliverable

  • The problem statement fits in one sentence and names the target.
  • The split was done before cleaning, with the seed recorded.
  • No column leaks the answer.
  • A baseline is reported on the same metric and test set as every model.
  • The metric choice has a written reason tied to the cost of mistakes.
  • The test set was used once for the final comparison.
  • Error analysis contains three specific findings with numbers.
  • The limitations paragraph names a boundary of use and a segment where the model fails.
  • The notebook runs from top to bottom on a fresh kernel.
  • Dataset source and licence are cited.

Mistakes that quietly inflate model scores

  • Scaling before splitting. Fit scalers and encoders on training data only.
  • Tuning on the test set. Each peek makes the score less trustworthy.
  • Reporting accuracy on skewed data. Always show the majority-class baseline beside it.
  • Duplicate rows across the split. Check for repeats before splitting.
  • Comparing models on different splits. Use one fixed test set for every model.
  • Ignoring a small test set. With very few test rows, a single score is unstable; say so in your limitations.

Frequently Asked Questions

How big should the test set be for a small internship dataset?

Twenty to twenty-five percent is a common choice. With a few hundred rows, the test score will be noisy, so use cross-validation on the training portion for comparing options and state in your limitations that results come from a small sample.

What counts as a good baseline for classification?

Predicting the most frequent class is the standard minimum. If your model barely beats it, the features may carry little signal, which is itself a legitimate finding to report.

Should I use a random forest instead of linear regression to look more impressive?

Only if it clearly improves your chosen metric and you can still explain the result. A simpler model that is slightly worse but easy to interpret is often the better deliverable for a short internship.

How do I choose between precision and recall?

Ask which error is more costly. If missing a real case is worse, prioritise recall. If false alarms waste effort or cause harm, prioritise precision. Write that reasoning in one or two sentences next to the metric.

What should I do if my model is no better than the baseline?

Report it honestly, then use error analysis to explore why: weak features, too little data or noisy labels. A clear explanation of a null result is more credible than a score reached through leakage.

How long should the limitations paragraph be?

Around 120 to 180 words. It should be short enough that a manager reads it and specific enough to name a segment where the model fails and a use it should not be put to.

Can I use the same dataset as my college mini-project?

Only after asking the faculty member concerned and confirming reuse is allowed. Submitting the same work twice without permission can create academic integrity problems, so get the answer in writing.

Is a baseline-first write-up realistic within the 14-day CareerSwami internship?

Yes. The day-by-day plan above fits the 14-day window, and the baseline and simple model can be done in the first week, leaving time for error analysis and the limitations paragraph.

Related Data Science guides

Ready to put this into practice?

Join the free two-week CareerSwami online internship in Data Science. The internship, the offer letter and the completion certificate are free.

Start your free 2-week internship

Web Stories

Scroll to Top