@@ -296,7 +296,7 @@ define([
296296import :'from sklearn.svm import SVR' ,
297297code :'SVR(${C}${kernel}${degree}${gamma}${coef0}${random_state}${etc})' ,
298298options :[
299- { name :'C' , component :[ 'input_number' ] , placeholder :'1.0' , usePair :true } ,
299+ { name :'C' , component :[ 'input_number' ] , placeholder :'1.0' , usePair :true , step : 0.1 , min : 0 } ,
300300{ name :'kernel' , component :[ 'option_select' ] , type :'text' , usePair :true ,
301301options :[ 'linear' , 'poly' , 'rbf' , 'sigmoid' , 'precomputed' ] , default :'rbf' } ,
302302{ name :'degree' , component :[ 'input_number' ] , placeholder :'3' , usePair :true } ,
@@ -396,7 +396,7 @@ define([
396396code :'LogisticRegression(${penalty}${C}${random_state}${etc})' ,
397397options :[
398398{ name :'penalty' , component :[ 'option_select' ] , type :'text' , default :'l2' , usePair :true , options :[ 'l1' , 'l2' , 'elasticnet' , 'none' ] } ,
399- { name :'C' , component :[ 'input_number' ] , placeholder :'1.0' , usePair :true } ,
399+ { name :'C' , component :[ 'input_number' ] , placeholder :'1.0' , usePair :true , step : 0.1 , min : 0 } ,
400400{ name :'random_state' , component :[ 'input_number' ] , placeholder :'123' , usePair :true }
401401]
402402} ,
@@ -429,7 +429,7 @@ define([
429429import :'from sklearn.svm import SVC' ,
430430code :'SVC(${C}${kernel}${degree}${gamma}${coef0}${random_state}${etc})' ,
431431options :[
432- { name :'C' , component :[ 'input_number' ] , placeholder :'1.0' , usePair :true } ,
432+ { name :'C' , component :[ 'input_number' ] , placeholder :'1.0' , usePair :true , step : 0.1 , min : 0 } ,
433433{ name :'kernel' , component :[ 'option_select' ] , type :'text' , usePair :true ,
434434options :[ 'linear' , 'poly' , 'rbf' , 'sigmoid' , 'precomputed' ] , default :'rbf' } ,
435435{ name :'degree' , component :[ 'input_number' ] , placeholder :'3' , usePair :true } ,