some bugfixes
This commit is contained in:
parent
d3ffdf3cba
commit
6d488e092e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
main.py
2
main.py
|
@ -68,7 +68,7 @@ import matplotlib.pyplot as plt
|
||||||
|
|
||||||
plt.plot(p[:,0],p[:,1],".",alpha=0.75)
|
plt.plot(p[:,0],p[:,1],".",alpha=0.75)
|
||||||
plt.title(str(loss))
|
plt.title(str(loss))
|
||||||
plt.how()
|
plt.show()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
4
show.py
4
show.py
|
@ -1,7 +1,7 @@
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
|
|
||||||
|
|
||||||
from data2 import data
|
from data import data
|
||||||
|
|
||||||
from loss import numpyloss2d
|
from loss import numpyloss2d
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ def plotone(x,y,show=True):
|
||||||
plotone(x,y)
|
plotone(x,y)
|
||||||
plotone(x,z)
|
plotone(x,z)
|
||||||
plotone(y,z)
|
plotone(y,z)
|
||||||
print("desired")
|
plt.title("desired")
|
||||||
plotone(x,y-z)
|
plotone(x,y-z)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue