用决策树科学地分析自己的择偶观
修改huatian/spider.py中的用户名和密码,运行文件spider.py,爬取花田网站上上海地区年龄22-27的女性用户,数据存储在mongodb中,结果如下:
由于没有好的工具根据照片评估项目,只能主观打分,mark.py是为了方便快捷整理数据的一个桌面程序,运行结果如下:
运行train.py, 生成结果如下:
科学地分析自己的择偶观
json的list中没有house、car、position的信息。
想修改下筛选范围,然而不知道从哪里获取地理信息代号修改至对应位置
😂
{u'apiErrorMessage': u'服务器谈恋爱去了,稍后回来', u'requestUri': u'/search/user/list', u'message': u'Server Error!', u'code': 520}
兄弟啊,网站返回的是这个东西,一条数据都没抓到
Traceback (most recent call last):
File "./spider.py", line 82, in
search()
File "./spider.py", line 76, in search
users = response.json()['list']
KeyError: 'list'
for key, val in inner_dict.items():
提示这行 遍历时字典的size变化了,请问怎么解决呢?我还没解决掉。
花田更改了密码验证方式,应该是无法登录花田了。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.