Skip to content

Principal Component Analysis (PCA) is a popular dimensionality reduction technique used in machine learning and data analysis. It aims to reduce the dimensionality of high-dimensional data while preserving its variance and important features. PCA identifies the principal components of the data, which are linear combinations of the original features

Notifications You must be signed in to change notification settings

bakar10/PCA-and-Feature-Extraction-on-IRIS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

PCA and Feature Extraction Project

This repository contains Python implementations of various deep learning algorithms for classification, clustering, dimensionality reduction, and feature extraction.

Overview

The project includes implementations of the following algorithms:

  1. Principal Component Analysis (PCA):

    • PCA is implemented for dimensionality reduction and feature extraction.
    • The algorithm computes the principal components and reconstructs the data based on the selected components.
  2. Adaptive Resonance Theory 1 (ART1) Network:

    • The ART1 network is implemented for clustering unlabeled data.
    • It trains the network on the Iris dataset and predicts clusters.
    • The repository also includes visualization of clusters and prototypes in bottom-up and top-down space.

Contents

  • PCA:

    • Implementation of PCA algorithm.
    • Visualization of transformed data in a scatter plot.
    • Computation of covariance matrix.
  • ART1 Network:

    • Implementation of ART1 network for clustering.
    • Training the network on the Iris dataset.
    • Visualization of clusters and prototypes.

Getting Started

Prerequisites

Make sure you have the following dependencies installed:

  • NumPy
  • Matplotlib
  • scikit-learn

Usage

  1. Clone the repository:

    git clone <repository_url>
  2. Navigate to the repository directory:

    cd <repository_directory>
  3. Run the Python scripts for the algorithms you want to use:

    • For PCA: python pca.py
    • For ART1 Network: python art1_network.py
  4. View the output and visualizations provided by the scripts.

Author

About

Principal Component Analysis (PCA) is a popular dimensionality reduction technique used in machine learning and data analysis. It aims to reduce the dimensionality of high-dimensional data while preserving its variance and important features. PCA identifies the principal components of the data, which are linear combinations of the original features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published