Collection of my machine-learning stuff.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
machinelearning/main.py

18 lines
273 B

4 years ago
#!/usr/bin/env python
from lib.func import *
class rgb(object):
def __init__(self):
self.weights = 1
def think(self, inputMatrix):
print("thonk: " + str( sigmoid(self.weights) ))
def init(): # init func
bot = rgb()
bot.think(1)
init()