Engine prototype #13
@ -1,5 +1,6 @@
|
|||||||
include("Engine.jl")
|
include("Engine.jl")
|
||||||
|
|
||||||
|
using LinearAlgebra
|
||||||
using SparseArrays
|
using SparseArrays
|
||||||
using Random
|
using Random
|
||||||
|
|
||||||
@ -87,4 +88,9 @@ else
|
|||||||
println("\nFailed to reach target accuracy")
|
println("\nFailed to reach target accuracy")
|
||||||
end
|
end
|
||||||
println("Steps: ", size(history.scaled_loss, 1))
|
println("Steps: ", size(history.scaled_loss, 1))
|
||||||
println("Loss: ", history.scaled_loss[end], "\n")
|
println("Loss: ", history.scaled_loss[end])
|
||||||
|
if success
|
||||||
|
infty = BigFloat[0, 0, 0, 0, 1]
|
||||||
|
radius_ratio = dot(infty, Engine.Q * L[:,5]) / dot(infty, Engine.Q * L[:,6])
|
||||||
|
println("\nCircumradius / inradius: ", radius_ratio)
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user