#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Aug 25 18:23:39 2017

@author: duc
"""

import numpy as np

def getInput():
    input = np.array([[0,0,0],[1,0,0],[0,1,0],[1,1,0],[0,0,1],[1,0,1],[0,1,1],[1,1,1]])
    output = np.array([[0,0,0],[0,0,1],[0,0,1],[0,0,0],[0,0,0],[0,1,0],[0,1,0],[0,0,0]])
    return(input, output)

def getInput2():
    input = np.array([[0,0],[1,0],[0,1],[1,1]])
    output = np.array([[0],[1],[1],[0]])
    return(input, output)

def getInput3():
    input = np.array([[0.35, 0.9], [0.1, -0.7]])
    output = np.array([[0.5],[0.35]])
    return (input,output)
@@ -85,264 +85,85 @@
 17%0A%0A
-@author: duc%0A%22%22%22%0A%0Aimport numpy as np%0A%0Adef getInput():%0A    input = np.array(%5B%5B0,0,0%5D,%5B1,0,0%5D,%5B0,1,0%5D,%5B1,1,0%5D,%5B0,0,1%5D,%5B1,0,1%5D,%5B0,1,1%5D,%5B1,1,1%5D%5D)%0A    output = np.array(%5B%5B0,0,0%5D,%5B0,0,1%5D,%5B0,0,1%5D,%5B0,0,0%5D,%5B0,0,0%5D,%5B0,1,0%5D,%5B0,1,0%5D,%5B0,0,0%5D%5D)%0A    return(input, output)
+Prepare datasets for neural_network.py%0A%0A@author: duc%0A%22%22%22%0A%0Aimport numpy as np%0A
 %0A%0Ade
@@ -171,14 +171,11 @@
  get
-Input2
+XOR
 ():%0A
@@ -294,133 +294,4 @@
 t)%0A%0A
-def getInput3():%0A    input = np.array(%5B%5B0.35, 0.9%5D, %5B0.1, -0.7%5D%5D)%0A    output = np.array(%5B%5B0.5%5D,%5B0.35%5D%5D)%0A    return (input,output)

remove unused functions