⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 randomindicescv.py

📁 orange源码 数据挖掘技术
💻 PY
字号:
# Description: Constructs indices for cross-validation
# Category:    sampling
# Classes:     MakeRandomIndices, MakeRandomIndicesCV
# Uses:        lenses
# Referenced:  RandomIndices.htm

import orange

data = orange.ExampleTable("lenses")

print orange.MakeRandomIndicesCV(data)

print orange.MakeRandomIndicesCV(10, folds=5)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -