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

📄 iris.dt

📁 it is tree Dtree algorithm. so see it. it is in c++
💻 DT
字号:
/*----------------------------------------------------------------------  domains----------------------------------------------------------------------*/dom(petal_length) = IR [1, 6.9];dom(petal_width) = IR [0.1, 2.5];dom(iris_type) = { Iris-setosa, Iris-versicolor, Iris-virginica };/*----------------------------------------------------------------------  decision tree----------------------------------------------------------------------*/dtree(iris_type) ={ (petal_length|2.45)  <:{ Iris-setosa: 50 },  >:{ (petal_width|1.75)      <:{ (petal_length|5.35)          <:{ (petal_length|4.95)              <:{ Iris-versicolor: 47, Iris-virginica: 1 },              >:{ (petal_width|1.55)                  <:{ Iris-virginica: 2 },                  >:{ Iris-versicolor: 2 }}},          >:{ Iris-virginica: 2 }},      >:{ Iris-versicolor: 1, Iris-virginica: 45 }}};/*----------------------------------------------------------------------  number of attributes: 3  tree height         : 6  number of nodes     : 11  number of tuples    : 150----------------------------------------------------------------------*/

⌨️ 快捷键说明

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