Skip to content

Latest commit

Β 

History

80 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Interactive AI, Machine Learning, and Computational Science Playground


Overview

Actife is an interactive web platform designed to explore and visualize concepts in Artificial Intelligence, Machine Learning, Computer Vision, Signal Processing, and Computational Imaging.

Built with React, Vite, and Tailwind CSS, the platform provides hands-on demonstrations and real-time visualizations that help users understand complex algorithms through interactive simulations.

The project serves as an educational and experimental environment for exploring AI/ML techniques through visual tools and real-time interaction.


Features

Neural Networks

  • Interactive neural network visualization using PyTorch
  • Real-time training visualization
  • Loss curve and decision boundary display
  • Customizable network architecture (3-5-5-1)

Linear Regression

  • Multi-dimensional regression demonstrations
  • 2D, 3D, and 4D regression visualization
  • Weather dataset integration (BMKG)
  • Logistic regression classification examples

Image Processing

  • Hierarchical JPEG compression simulation
  • Discrete Cosine Transform (DCT) visualization
  • Progressive image decoding
  • Interactive compression quality control

Computer Vision (MediaPipe)

  • Real-time hand landmark detection
  • Hand gesture recognition
  • Object detection demonstrations
  • Image classification
  • Camera-based real-time interaction

Machine Learning Algorithms

  • Interactive ML algorithm demonstrations
  • Model training visualization
  • Performance metric analysis

Signal Processing

  • Fourier transform demonstrations
  • Signal spectrum analysis
  • Digital filtering simulations
  • Real-time signal visualization

Color Science

  • Color space transformations:
    • RGB
    • CMY
    • SMPTE
  • Color theory exploration
  • Interactive color manipulation tools

Note: Radio-navigation simulations (Loran-C & eLoran) have moved to the dedicated standalone project SIMULORAN (GitHub repository).

Tutorials

  • Step-by-step explanations of AI/ML concepts
  • Educational modules with code demonstrations
  • Interactive visual learning

Technology Stack

Frontend

  • React 19
  • Vite
  • Tailwind CSS

AI / Machine Learning

  • Python
  • PyTorch
  • TensorFlow
  • OpenCV

Computer Vision

  • MediaPipe

Visualization

  • Chart.js
  • Matplotlib
  • Plotly

Tooling

  • Vite
  • ESLint
  • Node.js

πŸ“ Project Structure

ai_ml/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ Navbar.jsx          # Navigation component
β”‚   β”‚   β”œβ”€β”€ Home.jsx            # Landing page
β”‚   β”‚   β”œβ”€β”€ Tutorials.jsx       # Tutorials section
β”‚   β”‚   β”œβ”€β”€ NeuralNetwork.jsx   # NN visualization
β”‚   β”‚   β”œβ”€β”€ LinearRegression.jsx # Regression demos
β”‚   β”‚   β”œβ”€β”€ ImageProcessing.jsx # Image processing tools
β”‚   β”‚   β”œβ”€β”€ MachineLearning.jsx # ML algorithms
β”‚   β”‚   β”œβ”€β”€ SignalProcessing.jsx # Signal processing demos
β”‚   β”‚   β”œβ”€β”€ ColorScience.jsx    # Color science tools
β”‚   β”‚   β”œβ”€β”€ MediaPipe.jsx       # Computer vision demos
β”‚   β”‚   └── CardNav.jsx         # Navigation card component
β”‚   β”œβ”€β”€ assets/                 # Static assets
β”‚   β”œβ”€β”€ App.jsx                 # Main app component
β”‚   β”œβ”€β”€ main.jsx               # App entry point
β”‚   └── index.css              # Global styles
β”œβ”€β”€ asset/                      # Public assets (images, icons)
β”œβ”€β”€ random/                     # Miscellaneous files
β”œβ”€β”€ requirements.txt            # Python dependencies
β”œβ”€β”€ package.json                # Node.js dependencies
β”œβ”€β”€ vite.config.js              # Vite configuration
β”œβ”€β”€ tailwind.config.js          # Tailwind CSS configuration
└── README.md                   # Project documentation

πŸš€ Getting Started

Prerequisites

  • Node.js (v18+)
  • Python 3.8+
  • npm or yarn

Installation

  1. Clone the repository

    git clone https://github.com/rhaffle87/actife.git
    cd actife
  2. Install Node.js dependencies

    npm install
  3. Install Python dependencies

    pip install -r requirements.txt
  4. Start the development server

    npm run dev
  5. Open your browser Navigate to http://localhost:5173

Build for Production

npm run build
npm run preview

πŸ“– Usage

Home

  • Overview of all available AI/ML tools and sections
  • Quick navigation to different modules

Tutorials

  • Access step-by-step guides for AI/ML concepts
  • Interactive learning modules with code examples

Neural Network Demo

  • Navigate to the Neural Network section
  • View the interactive training visualization
  • Adjust parameters and see real-time updates
  • Explore decision boundaries and loss curves

Linear Regression

  • Choose from 2D, 3D, or 4D regression examples
  • View scatter plots and fitted lines/planes
  • Experiment with different datasets

Image Processing

  • Upload images for JPEG compression
  • Adjust quality settings
  • See hierarchical decoding in action

Machine Learning

  • Explore comprehensive ML algorithm demonstrations
  • Interactive model training and evaluation
  • View performance metrics and visualizations

Signal Processing

  • Analyze signals using Fourier transforms
  • Apply various filtering techniques
  • Real-time signal processing demonstrations

Color Science

  • Experiment with color space conversions
  • Learn color theory through interactive tools
  • Manipulate colors in different spaces (RGB, CMY, SMPTE)

MediaPipe Integration

  • Enable camera permissions for real-time demos
  • Try hand gesture recognition
  • Test object detection capabilities

πŸ”§ Configuration

Tailwind CSS

The project uses Tailwind CSS v4 with PostCSS. Configuration is in tailwind.config.js.

Vite

Build configuration is in vite.config.js. Hot reload is enabled for development.

Python Integration

Python scripts are executed separately. Ensure all dependencies in requirements.txt are installed.

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • PyTorch for neural network implementations
  • MediaPipe for computer vision capabilities
  • React and Vite communities
  • Academic sources for algorithm implementations

πŸ“„ Credits

This AI/ML Interactive Toolkit was developed by Rafli Alif as a comprehensive platform for exploring machine learning algorithms, image processing techniques, and computer vision applications.

Developer: Rafli Alif

πŸ“ž Contact

For questions or suggestions, please open an issue on GitHub.

Releases

Packages

Contributors

Languages