Skip to content

Commit

Permalink
Merge branches 'master' and 'master' of github.com:entrylabs/entryjs
Browse files Browse the repository at this point in the history
  • Loading branch information
usbsync committed Jun 3, 2024
2 parents 5b70d0c + 9f010fa commit f3bf420
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/class/learning/NumberClassification.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
Expand Down

0 comments on commit f3bf420

Please sign in to comment.