Code Monkey home page Code Monkey logo

coding_finalproject's Introduction

Coding_FinalProject

项目简介

本次项目为《编程基础》课程的期末大作业,为使用课堂上所教的一些Python知识,以及package完成的作业。项目所用到的数据集为National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK)中的糖尿病数据集,该项目的研究目标为:

  • 对数据集进行探索性数据分析
  • 定义了多个Python类、函数和异常处理
  • 使用sklearn、xgboost、lightgbm等package来对是否患糖尿病进行预测

项目环境

该项目所使用的Python为3.8.11,相应的package和版本如下:

  • numpy 1.20.3
  • pandas 1.5.0
  • seaborn 0.11.0
  • sklearn 1.2.0
  • matplotlib 3.6.1
  • plotly 5.11.0
  • optuna 3.0.5
  • imblearn 0.9.0
  • scipy 1.6.2
  • lightgbm 3.3.3
  • xgboost 1.5.1
  • mglearn 0.1.9
  • altair 4.2.0
  • altair-ally 0.1.0
  • altair-data-server 0.4.1
  • shap 0.41.0

复现步骤

数据集

处理后的数据集,训练集和测试集均在./data文件夹下

代码

所有的代码均在./code文件夹的final.ipynb文件中,通过逐个代码块运行代码即可复现项目。

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.