我正在使用jupyter笔记本,并使用pip install pystruct安装了pystruct
from pystruct.learners import SubgradientStructuredSVM
ImportError:无法导入名称'SubgradientStructuredSVM'
你能试一下吗:
from pystruct.learners import SubgradientSSVM
有关https://pystruct.github.io/generated/pystruct.learners.SubgradientSSVM.html链接中提供的更多信息,请参阅文档。