Skip to content

Instantly share code, notes, and snippets.

View angadsinghsandhu's full-sized avatar
🎯
Focusing

Angad Sandhu angadsinghsandhu

🎯
Focusing
View GitHub Profile
@angadsinghsandhu
angadsinghsandhu / regression_eg.py
Created December 16, 2020 08:06
regression model example code
from Framework.RegressionFramework import NeuralNetwork
from Framework.predict import predict_regression as predict
from Framework.normalize import normalize
from Data_Creation import regression_data
def run():
# getting data
x_train, y_train = regression_data.data(values=1000)
# Full Code at : https://colab.research.google.com/gist/angadsinghsandhu/2b329be4e90e51eef457997d1a72ec81/esel3d_beta-demo-colab.ipynb
'''
Func : AndhaBT
A function that calculates the number of
instagram stories that one person studying
in 7th semester MIT might see over the course
of this year. This function takes into account
the number of people in your college as well as
the factions of people that would not post
@angadsinghsandhu
angadsinghsandhu / print.py
Last active November 20, 2024 03:34
Project Summary Generator: This script scans a directory to generate a summary file containing its structure and the contents of specified files. It includes functions to build a nested dictionary of the directory, read file contents, and write both to a summary file. The script can be customized via command-line arguments for file extensions an…
# General Imports
import os
import argparse
def scan_directory_structure(src_dir, file_extensions, exclude_files, exclude_dirs):
"""
Scans the directory structure of the source directory and builds a nested dictionary representation.
Parameters:
src_dir (str): The source directory to scan.