{
const group = svg.select("#RMSProp")
group.selectAll("path").remove()
const path = group.append("path")
.attr("stroke", colors["RMSProp"])
.attr("stroke-width", 0.5)
.attr("fill", "none")
.attr("d", `M${scaleX(start[0])},${scaleY(start[1])}`)
descent(fn, start, new RMSProp(0.2, 0.9, 1e-8), 1000, (x, y) => {
path.attr("d", path.attr("d") + `L${scaleX(x)},${scaleY(y)}`)
})
return "Adam"
}