Before an AI internship, an RGPV student needs four things: working Python, comfort with NumPy arrays, the ability to clean a messy table, and a basic grasp of how to train and honestly evaluate a simple model. You do not need deep learning or advanced maths. This article gives a scorecard of skills, exercises for each, and a worked example you can adapt.
What “ready” means for a short AI internship
A two-week internship is short. Time spent installing tools, debugging syntax errors or learning what a DataFrame is comes out of the time you have to produce something. The students who get the most out of a short programme arrive with the basics already automatic, so the fourteen days go on the actual task: loading data, cleaning it, fitting a model and explaining the result.
The CareerSwami free two-week online internship offers an offer letter and a completion certificate after successful completion, across 26 tracks. Whichever track you choose, the prerequisites below are a sensible foundation for an AI-oriented one.
“Ready” does not mean expert. It means you can do each item in the checklist without searching for the syntax every time. Searching is fine; being completely stuck is not.
The prerequisite scorecard
Rate yourself honestly on each row: 0 means never done it, 1 means done it with a tutorial open, 2 means done it alone. A total of 20 or more out of 28 suggests you can start comfortably. Below 14, spend a week on the weakest rows first.
| Area | Skill to demonstrate | Quick self-test | Score (0-2) |
|---|---|---|---|
| Python core | Variables, loops, conditionals, functions | Write a function that returns the mean of a list without using a library | |
| Python core | Lists, dictionaries, comprehensions | Count word frequencies in a sentence using a dictionary | |
| Python core | Reading and writing files, handling errors | Read a CSV with the csv module and skip malformed rows with try/except |
|
| NumPy | Array creation, shape, indexing, slicing | Extract every second row and the last column of a 5×4 array | |
| NumPy | Vectorised operations and broadcasting | Standardise each column of a matrix to zero mean and unit variance without a loop | |
| pandas | Loading, selecting, filtering, grouping | Find the average of a numeric column per category | |
| Data cleaning | Missing values, duplicates, wrong types | Fill, drop or flag missing entries and justify your choice | |
| Data cleaning | Outliers and inconsistent labels | Detect values outside 1.5 times the interquartile range; merge “M”, “male” and “Male” | |
| Model basics | Train/test split and why it exists | Explain in two sentences why you never evaluate on training data | |
| Model basics | Fit a simple classifier or regressor | Fit logistic regression or linear regression with scikit-learn | |
| Evaluation | Accuracy, precision, recall, F1, confusion matrix | Compute precision and recall by hand from a 2×2 matrix | |
| Evaluation | Overfitting and underfitting | Compare training and test scores and say what a large gap means | |
| Tooling | Jupyter or Colab, installing packages, virtual environments | Open a notebook, import the libraries, run a cell | |
| Communication | Writing up what you did | Summarise a notebook’s findings in five plain sentences |
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.
Python: the minimum that actually matters
For AI work, Python fluency is less about advanced features and more about reading and writing short, clear code quickly. Focus on these.
- Control flow and functions: write small functions with arguments and return values, and know the difference between printing and returning.
- Built-in containers: lists, tuples, sets and dictionaries, plus slicing and sorting with a key function.
- Comprehensions: replace simple loops with list and dictionary comprehensions, because library documentation uses them constantly.
- Reading errors: learn to read a traceback from the bottom up. The last line names the problem; the lines above show where.
- Basic object use: call methods on objects, for example
model.fit(X, y), without needing to write your own classes.
Python exercises
- Write a function that takes a list of marks and returns the mean, the highest mark and the number of marks above the mean.
- Given a list of strings, build a dictionary mapping each string to its length, then sort it by length.
- Read a small CSV file line by line, convert one column to float, and skip rows where conversion fails, counting how many were skipped.
- Write a function that splits a list into training and test portions by a given ratio, using a fixed random seed so the result is repeatable.
NumPy: thinking in arrays
NumPy is the layer underneath most Python AI libraries. If you understand shapes, you will understand most error messages you meet in the first week.
- Shape and dtype: always check
array.shapeandarray.dtypebefore and after an operation. - Indexing: integer indexing, slicing, boolean masks such as
a[a > 0]. - Vectorisation: do arithmetic on whole arrays rather than looping over elements.
- Broadcasting: know why subtracting a shape (4,) vector from a shape (5, 4) matrix works, and why a (5,) vector would not.
- Aggregations with axis:
mean(axis=0)gives one value per column;axis=1gives one per row. - Matrix products:
@ornp.dot, and checking that inner dimensions match.
NumPy exercises
- Create a 6×3 array of random numbers with a fixed seed. Print the column means and the row with the largest sum.
- Standardise every column (subtract the column mean, divide by the column standard deviation) in a single expression.
- Replace all negative values in an array with zero using a boolean mask, without a loop.
- Compute the Euclidean distance from one point to every row of a matrix in one vectorised line.
- Deliberately cause a shape-mismatch error in a matrix product, read the message, and fix it.
Data handling and cleaning with pandas
Real datasets are rarely tidy, and a large share of an AI task is preparing data. A short internship task often rewards a clean, well-documented dataset more than a clever model.
A cleaning checklist to follow every time
- Look first: check
df.head(),df.info()anddf.describe()before changing anything. - Fix types: numbers stored as text, dates stored as strings, categories stored as free text.
- Count missing values: use
df.isna().sum()and decide per column whether to drop, fill with a median or mode, or add a “missing” flag. - Remove exact duplicates: with
df.duplicated(), and check whether duplicates are genuinely errors. - Standardise labels: trim whitespace, unify case and merge spelling variants.
- Inspect outliers: decide whether they are errors (an age of 250) or real extremes (a very high income).
- Encode categories: one-hot encode nominal columns; keep ordered categories ordered.
- Split before fitting anything: any scaling or imputation statistic should be learned from training data only, to avoid leakage.
- Record your decisions: write one line in the notebook for each cleaning choice.
Data handling exercises
- Take any small public CSV and list every column’s missing-value count, then write down one fill strategy per column and why.
- Create a column that was stored as text such as “1,200” and convert it to a number.
- Group a dataset by a category and compute the count, mean and median of a numeric column.
- Find and remove duplicate rows, then explain whether any removed rows might have been legitimate.
- Build a simple IQR-based outlier flag and show how many rows it catches.
Model basics and evaluation
You do not need to know how every algorithm works internally. You do need to know how to fit one properly and report its performance without fooling yourself.
Concepts to be able to explain in your own words
- Features versus target, and supervised versus unsupervised learning.
- Why data is split into training and test sets, and what a validation set or cross-validation adds.
- Baselines: a model that always predicts the most common class, or the mean. Your model should beat it before you celebrate.
- Overfitting: high training score, noticeably lower test score.
- Data leakage: information from the test set or the future sneaking into training.
Metrics you should be able to compute and interpret
| Metric | Used for | What it tells you | Watch out for |
|---|---|---|---|
| Accuracy | Classification | Share of predictions that are correct | Misleading when one class dominates |
| Precision | Classification | Of the items predicted positive, how many truly are | Ignores positives the model missed |
| Recall | Classification | Of the true positives, how many were found | Can be raised cheaply by predicting positive too often |
| F1 score | Classification | Balance of precision and recall | Hides which of the two is weak |
| Confusion matrix | Classification | Counts of true/false positives and negatives | Needs a clear definition of the positive class |
| MAE / RMSE | Regression | Typical size of prediction error in the target’s units | RMSE penalises large errors more heavily |
| R-squared | Regression | Share of variance explained | Can look good on training data and fail on new data |
Model exercises
- Split a dataset 80/20 with a fixed seed and fit a baseline model that predicts the majority class. Record its accuracy.
- Fit logistic regression and compare training and test accuracy. Write one sentence on what the gap means.
- Print a confusion matrix and calculate precision and recall by hand, then check against the library.
- Run 5-fold cross-validation and report the mean and spread of the scores.
- Fit a linear regression, report MAE and RMSE, and explain what each means in the units of your target.
Worked example: AI internship prerequisites (illustrative)
The following is an illustrative example of the workflow a short internship task might follow. The dataset is hypothetical: a table of students with columns for attendance percentage, weekly study hours, a city name and whether they cleared a practice test. The snippet is shown as a pattern to adapt; it has not been executed here, so check column names and library versions on your own machine.
import pandas as pd
import numpy as np
from sklearn.model_selection import train_test_split
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import classification_report, confusion_matrix
df = pd.read_csv("practice_test.csv")
# 1. Inspect
print(df.info())
print(df.isna().sum())
# 2. Clean
df = df.drop_duplicates()
df["city"] = df["city"].str.strip().str.title()
df["attendance"] = pd.to_numeric(df["attendance"], errors="coerce")
df = df[(df["attendance"] >= 0) & (df["attendance"] <= 100)]
# 3. Split BEFORE imputing
X = df[["attendance", "study_hours", "city"]]
y = df["cleared"]
X_train, X_test, y_train, y_test = train_test_split(
X, y, test_size=0.2, random_state=42, stratify=y
)
# 4. Impute using training statistics only
for col in ["attendance", "study_hours"]:
median = X_train[col].median()
X_train[col] = X_train[col].fillna(median)
X_test[col] = X_test[col].fillna(median)
# 5. Encode categories
X_train = pd.get_dummies(X_train, columns=["city"])
X_test = pd.get_dummies(X_test, columns=["city"])
X_train, X_test = X_train.align(X_test, join="left", axis=1, fill_value=0)
# 6. Baseline and model
baseline_acc = (y_test == y_train.mode()[0]).mean()
model = LogisticRegression(max_iter=1000).fit(X_train, y_train)
pred = model.predict(X_test)
print("Baseline accuracy:", baseline_acc)
print(confusion_matrix(y_test, pred))
print(classification_report(y_test, pred))
What a reviewer would look for in the write-up that goes with this notebook:
- A statement of how many rows were removed in cleaning and why.
- The baseline score next to the model score, so the improvement is visible.
- Precision and recall for the class that matters, not only accuracy. If failing students are the minority, recall on that class is the more useful number.
- One honest limitation, such as a small dataset or a column that may encode information not available in real use.
Notice the order: inspect, clean, split, impute from training data, encode, baseline, model, evaluate. Memorising that order protects you from the most common beginner mistake, leakage.
A two-week preparation roadmap
If you have a fortnight before starting, this split is realistic alongside regular classes.
| Days | Focus | Output to finish |
|---|---|---|
| 1-3 | Python core and file handling | The four Python exercises above, saved in one notebook |
| 4-6 | NumPy arrays, broadcasting, masks | The five NumPy exercises with a short comment on each shape |
| 7-9 | pandas and data cleaning | One cleaned dataset with a written list of cleaning decisions |
| 10-12 | Model fitting and evaluation | Baseline, logistic regression, confusion matrix, cross-validation |
| 13-14 | Consolidate and write up | A one-page summary a stranger could follow |
RGPV and AI internship prep: where the scheme documents help
RGPV describes itself as the State Technological University of Madhya Pradesh, Bhopal, with UG, PG, doctoral and diploma programmes. Its scheme documents show that internships are already built into B.Tech, so a Python, data handling and model-basics preparation plan can be tied to a requirement you may have anyway.
Schemes issued under the AICTE Flexible Curricula list Internship-I as 60 hours at institute level, completed during or at the end of the second semester, with evaluation and credit added in the third semester (a 2018 scheme). A 2019 B.Tech CSE third-semester scheme lists Internship-I evaluation (50 marks) and a 90-hour Internship-II based on using various software. A 2022 Industrial Production Engineering scheme says Internship-II is completed in the fourth semester, with evaluation in the fifth. A 2023 CSBS scheme lists a 90-hour Internship-III in the sixth semester. These are older documents and were seen as excerpts, so the hours, timing and credit for your batch must be checked in your own current scheme.
In practice, the Python, NumPy and pandas sections above fit well into the early internship windows, since the software-based internship hours are where a small data project would plausibly sit. Whether an external online AI internship can count toward those hours is not stated in the documents reviewed, so do not assume it does.
For enquiries, the School of Information Technology placement page places the Training and Placement Cell on the 2nd floor of the Knowledge Resource Centre in Bhopal, with the email tpo@rgpv.ac.in. Another institute’s page notes that registration with the T&P cell and attending training classes is required for placement support, so register early. The university also publishes a 2026-27 academic calendar; use it to plan the two-week roadmap around your own semester.
Steps to settle internship credit and paperwork before you start
- Open your branch’s current scheme PDF and find the internship line: hours, semester of completion and semester of evaluation.
- Read the 2026-27 calendar for your semester and schedule the preparation roadmap away from exam periods.
- Email the T&P cell or your department asking whether an external online AI internship can be recorded against the college internship, and what proof is needed.
- Ask who evaluates the internship and what report format and signatory your college expects.
- Confirm whether your affiliated college follows the university scheme or adds its own rules, and keep the written reply.
Common mistakes when preparing for an AI internship in Python, data and models
- Reporting accuracy alone. On imbalanced data, always add precision, recall and a baseline.
- Cleaning before splitting. Any statistic computed from the full dataset leaks test information into training.
- Skipping the shape check. Most NumPy and scikit-learn errors are shape errors; print shapes early.
- Copying notebooks you do not understand. If you cannot explain a line, you cannot defend the result.
- Jumping to deep learning. A well-evaluated logistic regression beats a poorly understood neural network in a two-week task.
- Leaving no written trail. A short README or notebook summary turns a notebook into evidence of your work.
Frequently Asked Questions
Do I need to know machine learning before starting an AI internship?
No. You need to understand a train/test split, fit one simple model and read its metrics. The internship is where you deepen that, so basic fluency is enough.
How much mathematics is required?
Comfort with averages, standard deviation, probability basics and the idea of a line fitting data is enough for the tasks described here. You can pick up the rest of the linear algebra as you go.
Is Python enough, or should I learn R or SQL too?
Python with NumPy and pandas covers the checklist. Basic SQL is a useful extra for reading data from tables, but it is not needed to begin.
I am not from a computer-science branch. Can I still prepare in time?
Yes, if you start with Python and NumPy and work through the exercises in order. The two-week roadmap above is designed for someone with limited prior coding.
Which dataset should I practise on?
Choose a small table with a mix of numbers and categories and a few missing values, such as a public student-performance or housing dataset. Small data lets you run experiments quickly and inspect every step.
Do I need a powerful laptop as a Rajiv Gandhi Proudyogiki Vishwavidyalaya student?
Not for these tasks. A browser-based notebook such as Google Colab handles small datasets and standard libraries on an ordinary laptop with an internet connection.
How do I know if my model is good enough?
Compare it with a simple baseline on held-out data, and check the metric that matches the real cost of mistakes. A model that beats the baseline modestly and is honestly reported is better than a high score from leaked data.
Will this internship count towards my RGPV requirements?
That is decided by your college and department, not by the internship provider. Ask your department or training and placement cell in writing, using the list above, before you plan around it.
Related Artificial Intelligence guides
- Writing an AI Internship Report as a KTU Student: Methods, Results and Reflection
- AI Internship Project Selection for Ramaiah Institute of Technology Students
- AI Internship Prerequisites for PSG College of Technology Students: Math, Python and ML Basics
- All Artificial Intelligence internship guides
Ready to put this into practice?
Join the free two-week CareerSwami online internship in Artificial Intelligence. The internship, the offer letter and the completion certificate are free.




















