Text组件上勾选Best Fit,当内容变多时,按原来大小装不下时,会总体缩放显示 ...
分类:
其他好文 时间:
2019-01-05 13:28:14
阅读次数:
182
Train model: Show parameters of best model: Show the score of train set: Fit on test set: Show the score of test set: More about GridSearchCV: https:/ ...
分类:
编程语言 时间:
2019-01-02 10:35:02
阅读次数:
192
history = model.fit() 绘制训练损失和验证损失 绘制训练精度和验证精度 ...
分类:
其他好文 时间:
2018-12-30 02:37:16
阅读次数:
343
1. 读取数据集 2. 训练集与测试集划分 3. 线性回归模型:建立13个变量与房价之间的预测模型,并检测模型好坏。 ...
分类:
其他好文 时间:
2018-12-27 00:26:49
阅读次数:
117
1 from sklearn import datasets 2 iris = datasets.load_iris() 3 from sklearn.naive_bayes import GaussianNB 4 gnb = GaussianNB() 5 y_pred = gnb.fit(iris... ...
分类:
其他好文 时间:
2018-12-26 14:29:36
阅读次数:
357
如上代码,三张图片一行均分布局,LinearLayout + android:layout_weight="1" 很正常的做法。使用glide给图片绑定。 结果-->>>>>图片全出不来。 简单分析也不知道哪个环节出问题了。根本问题是图片的宽高没了。 项目紧先给个解决方案,后期再分析原因。 改用ta ...
分类:
移动开发 时间:
2018-12-26 11:39:43
阅读次数:
160
function callAndroid(obj){ meetfitjs.callShareSdk(JSON.stringify(obj)); } function callShareSdk() { test.hello(JSON.stringify(obj)) } function testDem... ...
分类:
移动开发 时间:
2018-12-25 11:34:11
阅读次数:
244
效果图 使用工具 Axure RP 9 beta 绘制原型 Camtasia 2018 录屏及导出gif Adobe Photoshop CC 2017 处理图片 实现逻辑 函数使用: 逻辑描述 以上是本案例使用的函数,接下来介绍实现小图块移动的逻辑:(下边内容繁杂,不愿意阅读的同行可以直接下载原型 ...
分类:
其他好文 时间:
2018-12-24 20:56:31
阅读次数:
141
A Communist regime is trying to redistribute wealth in a village. They have have decided to sit everyone around a circular table. First, everyone has ...
分类:
其他好文 时间:
2018-12-22 11:40:54
阅读次数:
197