Skip to content

Commit 6cebfda

Browse files
author
minjk-bl
committed
Add Save/Load app for ml models
1 parent 6e80fa0 commit 6cebfda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

visualpython/data/m_ml/mlLibrary.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ define([
654654
'model_save': {
655655
name: 'Save model',
656656
import: 'import joblib',
657-
code: "joblib.dump(${target}, ${savePath})",
657+
code: "joblib.dump(${target}, ${savePath}${etc})",
658658
options: [
659659
{ name: 'target', component: ['data_select'], placeholder: 'Select model'},
660660
{ name: 'savePath', component: ['file-save'], placeholder: 'Select path'}
@@ -663,7 +663,7 @@ define([
663663
'model_load': {
664664
name: 'Load model',
665665
import: 'import joblib',
666-
code: "${allocateTo} = joblib.load(${loadPath})",
666+
code: "${allocateTo} = joblib.load(${loadPath}${etc})",
667667
options: [
668668
{ name: 'loadPath', component: ['file-open'], placeholder: 'Select path'},
669669
{ name: 'allocateTo', component: ['data_select'], placeholder: 'New variable to load'}

0 commit comments

Comments
 (0)