thundersvm icon indicating copy to clipboard operation
thundersvm copied to clipboard

thundersvm does not support sklearn

Open BinchaoPeng opened this issue 4 years ago • 2 comments

thundersvm lacks necessary attributes so that I can not use thundersvm in sklearn. for example, thundersvm can not be used in GridSearchCV of sklearn. and, thundersvm can not be used in StackingClassifier of sklearn.

BinchaoPeng avatar Oct 18 '21 08:10 BinchaoPeng

看介绍里可以用grid.sh脚本实现网格搜索。但我目前还没实现。不知道如何在python中使用grid.sh。期望可以得到帮助,3ku~ `#!/usr/bin/bash

DATASET=$1 OPTIONS= N_FOLD=5 for c in 1 3 10 30 100 do for g in 0.1 0.3 1 3 10 do bin/thundersvm-train -c ${c} -g ${g} -v ${N_FOLD} ${OPTIONS} ${DATASET} done done` https://thundersvm.readthedocs.io/en/latest/how-to.html#how-can-i-do-grid-search 复制后在浏览器打开

LiangZai-He avatar Nov 24 '21 02:11 LiangZai-He