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.
|
|
|
import numpy as np
|
|
|
|
|
|
|
|
def sigmoid(x):
|
|
|
|
return 1/(1 + np.exp(-x))
|
|
|
|
|
|
|
|
def correctFunc(rgb):
|
|
|
|
return ( rgb[0], rgb[1], rgb[2] )
|