From 823ca295dd272124b2d60528ccec32b8a6000e63 Mon Sep 17 00:00:00 2001 From: "lee.hungyu" Date: Mon, 3 Jun 2024 14:49:00 +0900 Subject: [PATCH] =?UTF-8?q?trainParam=20init=20=EC=8B=9C=EC=A0=90=EC=9D=84?= =?UTF-8?q?=20load=EC=A7=81=EC=A0=84=EC=9C=BC=EB=A1=9C=20=EC=9D=B4?= =?UTF-8?q?=EB=8F=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/class/learning/NumberClassification.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/class/learning/NumberClassification.js b/src/class/learning/NumberClassification.js index 40fcbcebdf..60698efcb6 100644 --- a/src/class/learning/NumberClassification.js +++ b/src/class/learning/NumberClassification.js @@ -44,7 +44,6 @@ class NumberClassification { init({ name, url, table, trainParam, modelId, loadModel }) { this.#name = name; - this.#trainParam = trainParam; this.#table = table; this.#trainCallback = (value) => { this.#view.setValue(value); @@ -59,6 +58,8 @@ class NumberClassification { this.#chartEnable = true; } if (this.url !== url || this.modelId !== modelId) { + // load시 trainParam에 추가되는 파라미터가 있어서 로드 직전 추가. + this.#trainParam = trainParam; this.load(url, modelId); this.url = url; this.modelId = modelId;