Giter VIP home page Giter VIP logo

huatian-funny's Introduction

huatian-funny

用决策树科学地分析自己的择偶观

爬取数据

修改huatian/spider.py中的用户名和密码,运行文件spider.py,爬取花田网站上上海地区年龄22-27的女性用户,数据存储在mongodb中,结果如下:

爬虫结果

数据标注

由于没有好的工具根据照片评估项目,只能主观打分,mark.py是为了方便快捷整理数据的一个桌面程序,运行结果如下:

打分

生成决策树

运行train.py, 生成结果如下:

决策树

huatian-funny's People

Contributors

liuroy avatar

Watchers

James Cloos avatar Gillian Knightley 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.