AI & Data Analytics Internship Prep Notes
Prepared by ChatGPT for Manit
Linear Regression
Linear regression is the simplest form of supervised learning, modeling the relationship between an
input (independent variable) and an output (dependent variable) with a straight line.
- Simple linear regression: Y = b0 + b1X
- Training: Use optimization to minimize error (MSE)
- Output: Predicts a continuous value
- Applications: Forecasting, trend analysis, relationship modeling
Neural Networks: Weights and Biases
Neural networks are made of neurons connected by weights and biases.
- Weights: Determine the influence of each input
- Biases: Allow shifting the activation function
- Learning: Adjusted during training to minimize prediction error
Activation Functions
Activation functions introduce non-linearity.
- ReLU: f(x) = max(0, x)
- Sigmoid: f(x) = 1 / (1 + e^-x)
- Tanh: f(x) = (e^x - e^-x) / (e^x + e^-x)
- Purpose: Enables the network to learn complex patterns
Feed Forward Networks
Feedforward neural networks pass information in one direction.
- Structure: Input -> Hidden Layers -> Output
- Operation: Compute outputs layer by layer
- Applications: Regression and classification tasks
Backpropagation
Backpropagation is how networks learn.
- Steps: Forward pass -> Compute error -> Backward pass (gradients) -> Update weights
- Uses gradient descent
- Goal: Minimize loss function
NLP: Embedding, Tokenization, POS Tagging
NLP processes human language.
- Embedding: Word to vector mapping (Word2Vec, GloVe)
- Tokenization: Splits text into tokens (words/subwords)
- POS Tagging: Labels grammatical role (noun, verb, etc.)
Named Entity Recognition
NER identifies and classifies entities in text.
- Detects: People, locations, organizations, dates
- Example: "Google in Paris" -> Google (ORG), Paris (LOC)
Computer Vision (Overview)
Computer Vision enables machines to interpret images.
- Image classification: Label the whole image
- Object detection: Find objects with bounding boxes
- Image segmentation: Label each pixel
Data Analytics
Data analytics finds insights from raw data.
- Process: Extract -> Clean -> Analyze -> Visualize
- Types: Descriptive, diagnostic, predictive, prescriptive
- Goal: Data-driven decisions
Regression vs. Classification
- Regression: Predicts continuous values (e.g. price)
- Classification: Predicts categories (e.g. spam/not spam)
- Evaluation: MSE for regression, Accuracy/Precision for classification