Giter VIP home page Giter VIP logo

northeast-forestry-university-machine-learning-experiment-2020's Introduction

东北林业大学信息学院2020级机器学习专业选修课实验

线性回归

没什么好说的,所有代码都能跑,别动文件里东西就行

决策树和朴素贝叶斯

第一题:信息熵准则划分决策树

  1. 代码为实验二/第一题.py
  2. 数据集是 西瓜数据集3.0.xlsx
  3. 启用自己的数据集需要在 121 行更改数据集名称或路径

第二题:基尼系数划分决策树

  1. 代码有两部分,分别是Gain_tree2.py和decisionTreePlot.py
  2. 运行的时候只需要运行Gain_tree2.py即可
  3. 可能有需要安装的库,看报错文件即可
  4. 数据集已经内置
  5. 输出结果是一个dot图

第三题:KNN人体行为识别

  1. 代码是第三题.py
  2. 运行使用纯CPU,非常慢。
  3. 数据集单独在百度网盘上,使用时请解压到决策树、朴素贝叶斯、KNN模型文件夹,解压结果是一个名字叫做“第三题数据集”的文件夹

BPNN

第一题:BP网络鸢尾花分类

  1. 代码是第一题.py
  2. 测试集是第一题数据集/iris_test.csv
  3. 训练集是第一题数据集/iris_training.csv
  4. 在JB系列软件中绘图会在SciView中显示

第二题:全连接神经网络数字识别

  1. 代码是第二题.py
  2. 测试集是第二题数据集/testDigits
  3. 训练集是第二题数据集/trainingDigits
  4. 运行结果显示在命令行中

第三题:K最近邻算法数字识别

  1. 代码是第三题.py
  2. 测试集是第二题数据集/testDigits
  3. 训练集是第二题数据集/trainingDigits

支持向量机

  1. 没啥好说的,代码都能跑,别动文件里东西就行

northeast-forestry-university-machine-learning-experiment-2020's People

Contributors

lipu0324 avatar

Stargazers

 avatar 洛河冰 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.