NumPy(Numerical Python)是 Python 中的一个线性代数库。对每一个数据科学或机器学习 Python 包而言,这都是一个非常重要的库, SciPy(Scientific Python)、Mat-plotlib(plotting library)、Scikit-learn 等都 ...
分类:
其他好文 时间:
2019-12-13 00:03:14
阅读次数:
93
一 :项目目的 研究Lending Club 贷款的风险特征,并提出建模方案。 二:数据获取 数据集来自Lending Club平台发生借贷的业务数据,2017年第一季度,具体数据集可以从Lending Club官网下载,需要先用邮箱注册一个账号。 三:数据探索 1.导入需要用到的工具 import ...
分类:
其他好文 时间:
2019-12-13 00:00:55
阅读次数:
144
本节主要介绍使用Canny函数达到边缘探测的结果。 Code: import cv2from matplotlib import pyplot as pltimg = cv2.imread('ball.png',0)/** Canny(image, threshold1, threshold2[,e ...
分类:
编程语言 时间:
2019-12-10 11:43:48
阅读次数:
99
http://blog.imuxuan.com/archives/86 在Java中如何优雅地判空 2018年11月22日 / 665次浏览 判空灾难 作为搬砖党的一族们,我们对判空一定再熟悉不过了,不要跟我说你很少进行判空,除非你喜欢NullPointerException。 不过NullPoin ...
分类:
编程语言 时间:
2019-12-09 13:39:59
阅读次数:
109
#!/usr/bin/python # -*- coding: UTF-8 -*- # @Time : 2019/12/5 17:30 # @Author : shenghao/10347899@qq.com '''test with selenium's move''' from builtins... ...
分类:
编程语言 时间:
2019-12-09 11:56:20
阅读次数:
123
和上一篇相比,差别不是很大 1 import xlrd#读取excel 2 import xlwt#写入excel 3 import requests 4 import linecache 5 import wordcloud 6 import jieba 7 import matplotlib.p ...
分类:
编程语言 时间:
2019-12-09 01:23:28
阅读次数:
79
%matplotlib inline比较奇怪,而且无论你是用哪个python的IDE如spyder或者pycharm,这个地方都会报错,显示是invalid syntax(无效语法)。 那为什么代码里面还是会有这一句呢? %matplotlib作用 是在使用jupyter notebook 或者 j ...
分类:
其他好文 时间:
2019-12-05 22:11:39
阅读次数:
132
Docker入门一概念和安装LinuxDocker Docker概念Docker 是一个基于 LXC 技术构建的容器引擎,基于 GO 语言开发,遵循 Apache2.0 协议开源。Docker 的发展得益于为使用者提供了更好的容器操作接口。包括一系列的容器,镜像,网络等管理工具,可以让用户简单的创建... ...
分类:
其他好文 时间:
2019-12-04 20:02:50
阅读次数:
141
import matplotlib.pyplot as plt plt.plot() plt.scatter() plt.hist() plt.subplots() plt.subplot() plt.xlabel() plt.ylabel() plt.title() plt.xticks() pl ...
分类:
其他好文 时间:
2019-12-03 23:40:45
阅读次数:
113