Skip to content

Instantly share code, notes, and snippets.

View hubertben's full-sized avatar
🎯
Focusing

Ben hubertben

🎯
Focusing
  • Wright Media - HireMaster.AI
  • Clifton Park, NY
  • LinkedIn in/hubertben
View GitHub Profile
@hubertben
hubertben / colors.py
Last active November 15, 2023 20:30
8-bit Mac Terminal Colors
# 8-bit Mac Terminal Colors
print("\033c\033[3J")
ENDC = "\033[0m"
PINK = "\033[94m"
MAGENTA = "\033[35m"
CYAN = "\033[36m"
LIGHT_CYAN = "\033[96m"
GREEN = "\033[92m"
@hubertben
hubertben / network.py
Created July 17, 2023 15:43
Python Feed Forward Network
import random
import math
import copy
class Layer:
def __init__(self, inputSize, outputSize, init_random = False):
self.inputSize = inputSize
self.outputSize = outputSize
# ~ Trees ~
# This Gist focuses on the Tree datastructure,
# generation of random trees by encoded distribution,
# verbose printing and visual display of tree,
# and the ability to check the deepest-rightmost node.