24 lines
306 B
Python
24 lines
306 B
Python
import matplotlib.pyplot as plt
|
|
|
|
|
|
from data2 import data
|
|
|
|
from loss import numpyloss2d
|
|
|
|
x,y,z=data()
|
|
|
|
def plotone(x,y,show=True):
|
|
#plt.title(str(numpyloss2d(x,y)))#buggy
|
|
plt.plot(x,y,"o",alpha=0.75)
|
|
if show:plt.show()
|
|
|
|
plotone(x,y)
|
|
plotone(x,z)
|
|
plotone(y,z)
|
|
print("desired")
|
|
plotone(x,y-z)
|
|
|
|
|
|
|
|
|