How to dynamically import a cross_validation submodule KFold, StratifiedKFold, ShuffleSplit etc based on the requirement

前端 未结 0 1015
后悔当初
后悔当初 2021-01-05 08:17

I want to import KFold and other cross_validation statergies like StratifiedKFold, ShuffleSplit etc dynamically based on my requirement I\'ve tried using __import__

相关标签:
回答
  • 消灭零回复
提交回复
热议问题