Skip to content
Nishant Munjal
  • About
  • NMRIL Labs
  • Courses
  • ResearchExpand
    • Research Publications
    • Books
    • Patents
    • Ph.D. Supervised
  • Workshop/Conferences
  • ToolsExpand
    • Creative Image Converter
    • Creative QRCode Generator
    • Creative QR Code Generator Tool
    • EMI Calculator
    • SIP Calculator
  • Blog
  • Resume
One Page CV
Nishant Munjal
Latest

Dimensionality Reduction

Dimensionality reduction is the process of reducing the number of features (variables) in a dataset while preserving important information. It helps in:

✅ Reducing computational cost (faster processing)
✅ Removing noise from data
✅ Avoiding overfitting
✅ Visualizing high-dimensional data

Types of Dimensionality Reduction

1. Feature Selection (Selecting important features)

  • Methods: Correlation analysis, Mutual Information, Recursive Feature Elimination (RFE)

2. Feature Extraction (Creating new compressed features)

  • Methods: Principal Component Analysis (PCA), Autoencoders, t-SNE, UMAP

Mathematical Example: PCA (Principal Component Analysis)

PCA is a common method that projects data onto fewer dimensions while maximizing variance.

Example: Reducing 3D data to 2D

Given a dataset:

1️⃣ Compute Mean & Center Data
Subtract the mean of each column to center the data.

2️⃣ Compute Covariance Matrix

3️⃣ Compute Eigenvalues & Eigenvectors
The top k eigenvectors (principal components) form the new basis.

4️⃣ Transform Data
Multiply the dataset by the top k eigenvectors to get the lower-dimensional representation.

Post navigation

Previous Previous
Tanh Function in Neural Network
NextContinue
Prompts for Image Descriptions
  • Cybersecurity

    Command Injection Attack

    Command Injection Attack A Command Injection attack happens when a web application takes user input and passes it to the system shell (Linux/Windows command line)…

    Read More Command Injection AttackContinue

  • Cybersecurity

    CSRF in DVWA (for learning/demo)

    CSRF in DVWA (for learning/demo) CSRF: An attack where a logged-in user is tricked into sending unwanted requests to a web application, causing actions to…

    Read More CSRF in DVWA (for learning/demo)Continue

  • Cybersecurity

    XSS = Cross-Site Scripting using DVWA

    XSS = Cross-Site Scripting using DVWA It allows an attacker to inject JavaScript into a web page so that it runs in another user’s browser….

    Read More XSS = Cross-Site Scripting using DVWAContinue

  • Cybersecurity

    SQL Injection using DVWA

    SQL Injection using DVWA SQL injection happens when user input is directly inserted into SQL query without validation. Here are the steps to practical on…

    Read More SQL Injection using DVWAContinue

  • Artificial Intelligence

    The Future AI Internet: Lessons from Moltbook

    The Future AI Internet: Lessons from Moltbook The internet is entering a new phase. For decades it was a web of pages, then it became…

    Read More The Future AI Internet: Lessons from MoltbookContinue

Nishant Munjal

Coding Humanity’s Future </>


Facebook Twitter Linkedin YouTube Github Email

Tools

  • SIP Calculator
  • EMI Calculator
  • Creative QR Code
  • Image Converter

Resources

  • Blog
  • Contact
  • Refund and Returns

Legal

  • Disclaimer
  • Privacy Policy
  • Terms and Conditions

© 2026 Nishant Munjal - All Rights Reserved

  • About
  • NMRIL Labs
  • Courses
  • Research
    • Research Publications
    • Books
    • Patents
    • Ph.D. Supervised
  • Workshop/Conferences
  • Tools
    • Creative Image Converter
    • Creative QRCode Generator
    • Creative QR Code Generator Tool
    • EMI Calculator
    • SIP Calculator
  • Blog
  • Resume
Download CV
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.