Git Product home page Git Product logo

classify_dream_of_the_red_chamber's Introduction

对《红楼梦》的各回目进行分类

这个程序最初的诞生是为了写微信公众号的一篇文章,那篇文章的也大致讲解了程序的原理和流程。 因此,在使用程序之前,强烈建议您先读这两篇文章:

依赖库

程序依赖了两个python库

pip3 install sklearn 
pip3 install matplotlib

基本用法

运行python3 knn_clf.py就可以复现公众号文章的计算结果。 程序很简单,直接看代码应该就能明白,我也不在此多解释了。

广告

我的微信公众号里还写了其他一些用程序来分析文学作品的文章,大家对这个话题感兴趣的话可以关注一波,微信公众号:mrqianjinsi

classify_dream_of_the_red_chamber's People

Contributors

mrqianjinsi avatar

Watchers

James Cloos avatar Xiaoting Kuang 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.