python - SVM - Scikit-learn -


i have vector of scores (data) x 3 variables (s1,s2,s3) .shape of x (n_sample,3) , vector class (target) y (2 class : 0 or 1).

i build weigthed score combing them s=s1*w1+s2*w2+s3*w3. need test different value w1, w2, , w3, using svm (or svr).

but i'm getting lost parameters. should use gamma vector of weigth? , possible have 1 variable x, have la (n_sample, 1) how initialize it?

if have suggestion using else scikit-learn it's fine me.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -