Created
October 7, 2019 21:27
-
-
Save bobbywlindsey/f1ebcf7d4811222ad6f9ba8073d7bbed to your computer and use it in GitHub Desktop.
Perceptron training data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import numpy as np | |
data = [[2.7810836,2.550537003,0], | |
[1.465489372,2.362125076,0], | |
[3.396561688,4.400293529,0], | |
[1.38807019,1.850220317,0], | |
[3.06407232,3.005305973,0], | |
[7.627531214,2.759262235,1], | |
[5.332441248,2.088626775,1], | |
[6.922596716,1.77106367,1], | |
[8.675418651,-0.242068655,1], | |
[7.673756466,3.508563011,1]] | |
pd.DataFrame(data = data, index=list(range(len(data))), columns=['X_1', 'X_2', 'label']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment