Skip to content

Instantly share code, notes, and snippets.

View masaponto's full-sized avatar
🍣
🍣

Ponto masaponto

🍣
🍣
View GitHub Profile
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import numpy as np
import matplotlib.pyplot as plt
import os.path
class SimplePerceptron:
def __init__(self, r = 0.5, v = 0):