I hereby claim:
- I am devArtoria on github.
- I am devartoria (https://keybase.io/devartoria) on keybase.
- I have a public key whose fingerprint is 58DB 9834 14E8 8675 9FA7 2C39 BEF8 51B8 75A0 5B6B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#include <stdio.h> | |
#include <stdlib.h> | |
int myscanf(char type[2], void *var); | |
int gets(char *address); | |
int main(void){ | |
/* | |
char temp[16]; | |
myscanf("%c", temp); |
def AND(x1, x2): | |
x = np.array([x1, x2]) | |
w = np.array([0.5, 0.5]) | |
b = -0.7 | |
tmp = np.sum(w*x) + b | |
if tmp <= 0: | |
return 0 | |
else: | |
return 1 |
def AND(x1, x2): | |
x = np.array([x1, x2]) | |
w = np.array([0.5, 0.5]) | |
b = -0.7 | |
tmp = np.sum(w*x) + b | |
if tmp <= 0: | |
return 0 | |
else: | |
return 1 | |
def AND(x1, x2): | |
w1, w2, theta = 0.5, 0.5, 0.7 | |
tmp = (x1 * w1) + (x2 * w2) | |
if tmp <= theta: | |
return 0 | |
elif tmp > theta: | |
return 1 |