Skip to content

Praveenk8051/deep-learning

Repository files navigation

Deep Learning

This repository consists of all files related to Deep Learning and Machine Learning.

Folder Structure and Code Access

basic_ml_algos

This folder consists of different machine learning algorithms.

  • Autoencoder: Code for Autoencoder-based implementation.
  • Linear Regression: Code for Linear Regression-based implementation.
  • Logistic Regression: Code for Logistic Regression-based implementation.
  • Multi-Layered Perceptron: Code for Multi-Layered Perceptron-based implementation.
  • Nearest Neighbour: Code for Nearest Neighbour-based implementation.

matched_filter_using_neural_nets

This folder consists of Matched Filter implementation.

  • Concept: It is a concept in signal processing to increase signal-to-noise ratio. This is implemented using MLP and RNN.
  • Code: The code for the related project is found here.
  • Blog: Detailed explanation can be found in the blog.

classification_scripts

This folder contains the generic classification script as a notebook.

  • Script: The code for the same can be found here.
  • Features:
    • Compute and plot means and standard deviation of all images.
    • Split dataset into train, test, and validation.
    • Option to fine-tune or perform transfer learning.
    • Option to load different architectures like ResNet, DenseNet, VGG, Inception, etc.
    • Perform training.
    • Visualize the confusion matrix.
    • Test.
    • View classification report.

object_detection_scripts

This folder contains scripts for object detection to check various scenarios and load and train based on pretrained networks.

  • Centroid_Resolution.ipynb: This notebook helps in finding the centroid of the bounding boxes in an image. It helps in analyzing and balancing the bounding boxes in the image. It also shows the code to plot resolutions of images if they are of different sizes and plot the number of images in the range. Code.
  • main_script_pytorch.ipynb: The object detection code is written using PyTorch. PyTorch provides the torchvision library which has flexible APIs to create a great working model with high accuracy. Code.
  • split_data.ipynb: Split the images and XML files created for object detection. Code.
  • xml_to_pkl.ipynb: Convert the XML files to pickle or CSV files. Code.
  • pkl_tfrecords.ipynb: Convert the pickle or CSV files to TensorFlow records. Code.

Additional Information

  • Scripts: The implementation scripts are written in Python.
  • Utilities: Utility functions used across different scripts are included in the utils.py file.
  • Documentation: This README file provides an overview of the repository structure and the purpose of each folder and script.

Feel free to explore the code and contribute to the repository!