代码含学习曲线绘制。 1 from sklearn.datasets import load_breast_cancer 2 data=load_breast_cancer() 3 X,y=data.data,data.target 4 5 from sklearn.model_selection ...
分类:
其他好文 时间:
2020-02-03 18:56:07
阅读次数:
83
1、获取Cookie: 1 request.COOKIES['key'] 2 request.get_signed_cookie(key, default=RAISE_ERROR, salt='', max_age=None) 3 参数: 4 default: 默认值 5 salt: 加密盐 6 m ...
分类:
其他好文 时间:
2020-02-03 18:44:06
阅读次数:
82
01.代码如下: package TIANPAN; class Book { // 定义一个新的类 public Book() { // 构造方法 System.out.println("************************"); } } /** * 此处为文档注释 * * @autho ...
分类:
编程语言 时间:
2020-02-03 16:00:31
阅读次数:
96
moment.js 是很常見的日期時間 library,友善的 API 與極佳的執行效率是它的兩大賣點。例如 (new Date()).getFullYear(),如果使用 moment.js 我可以只寫 moment().get('year'),可讀性增強許多。問題React Native 0.2... ...
分类:
Web程序 时间:
2020-02-03 15:53:46
阅读次数:
75
HUANG, C., LI, F. and WENG, X. (2020), Star Ratings and the Incentives of Mutual Funds. The Journal of Finance. Accepted Author Manuscript. doi:10.111 ...
分类:
其他好文 时间:
2020-02-03 15:51:54
阅读次数:
77
Let's define a number ebne (even but not even) if and only if its sum of digits is divisible by 22 but the number itself is not divisible by 22. For e ...
分类:
其他好文 时间:
2020-02-03 15:36:17
阅读次数:
55
今天简单的学习了页面的切换和界面之前的数据传递。 页面切换需要用到Navigation。Navigation 是 JetPack 中的一个组件,用于方便的实现页面的导航,所以抽象出了一个 destination 的概念,大部分情况一个 destination 就表示一个 Fragment,但是它同样 ...
分类:
移动开发 时间:
2020-02-03 14:14:26
阅读次数:
139
我计算了一下10以内的素数,控制台打印如图: public static void main(String[] args) { System.out.println("10以内的素数是:"); for (int i = 0; i <= 10; i++) { if (isSuShu(i)) { Sys ...
分类:
其他好文 时间:
2020-02-03 14:12:08
阅读次数:
82
一、神经网络: 1.1非线性假设: 无论是线性回归还是逻辑回归都有这样一个缺点,即: 当特征太多时,计算的负荷会非常大 。 使用非线性的多项式项,能够帮助我们建立更好的分类模型 ,但与此同时他们的特征组合就有很多。普通的线性模型无法处理,就需要神经网络。 1.2模型表示1 每一个神经元都可以被认为是 ...
分类:
其他好文 时间:
2020-02-03 14:10:32
阅读次数:
93