// Update is called once per frame void Update() { if (Input.GetKeyDown(KeyCode.S)) { double[] results = learning(); PC_script.init_val(inputs, outputs, inputs, results); PC_script.plot(); } }
// Update is called once per frame void Update() { if (Input.GetKeyDown(KeyCode.S)) { double[] results = learning(); double[] dx = new double[] { 1, 2, 3, 4, 5 }; PC_script.init_val(dx, outputs, dx, results); PC_script.plot(); } }