import numpy as np import matplotlib.pyplot as plt from sklearn import datasets, linear_model,svm from sklearn.model_selection import train_test_split... ...
分类:
编程语言 时间:
2019-05-01 11:55:09
阅读次数:
123
import numpy as np import matplotlib.pyplot as plt from sklearn import datasets, linear_model,svm from sklearn.model_selection import train_test_split... ...
分类:
编程语言 时间:
2019-05-01 10:34:34
阅读次数:
175
在做移动端开发时,设计师提供的视觉稿一般是750px,当你定义 border-width:1px 时,在iphone6手机上却发现:边框变粗了。。 这是因为,1px是相对于750px的(物理像素),而我们定义的1px是相对于375px的(css像素)“实际上应该是border-width:0.5px ...
分类:
移动开发 时间:
2019-04-26 18:18:26
阅读次数:
304
搞统计的线性代数和概率论必须精通,最好要能锻炼出直觉,再学机器学习才会事半功倍。 线性代数只推荐Prof. Gilbert Strang的MIT课程,有视频,有教材,有习题,有考试,一套学下来基本就入门了。 不多,一共10次课。 链接:https://ocw.mit.edu/courses/math ...
分类:
其他好文 时间:
2019-04-25 14:41:11
阅读次数:
217
一、SVM目标和原理 svm分为线性可分和线性不可分两种 线性可分: svm.SVC(C=0.8, kernel='linear', class_weight={-1:1, 1:20}) 线性不可分: 使用径向基(高斯)核函数 svm.SVC(C=0.8, kernel='rbf', class_w ...
分类:
其他好文 时间:
2019-04-22 20:56:40
阅读次数:
168
推荐系统遇上深度学习(一)--FM模型理论和实践 https://www.jianshu.com/p/152ae633fb00 1、FM背景 在计算广告和推荐系统中,CTR预估(click-through rate)是非常重要的一个环节,判断一个商品的是否进行推荐需要根据CTR预估的点击率来进行。在 ...
分类:
其他好文 时间:
2019-04-22 12:39:04
阅读次数:
415
Search I You are given a sequence of n integers S and a sequence of different q integers T. Write a program which outputs C, the number of integers in ...
分类:
其他好文 时间:
2019-04-21 11:37:27
阅读次数:
220
来源 css渐变 CSS 中设置的渐变是 gradient 数据类型,它是一种特别的image数据类型。使用background-image设置,可叠加设置多个; CSS3 定义了两种类型的渐变(gradients): 线性渐变 linear-gradient() 渐变的实现由两部分组成:渐变线和色 ...
分类:
Web程序 时间:
2019-04-19 13:23:00
阅读次数:
210
LinearRecyclerViewActivity.java LinearAdapter.java RecyclerViewActivity activity_layout_linear_item.xml activity_linear_recycler_view.xml activity_rec ...
分类:
移动开发 时间:
2019-04-15 23:25:11
阅读次数:
330
import pandas as pd import numpy as np from sklearn.linear_model import Lasso from sklearn.ensemble import GradientBoostingRegressor from sklearn.pipe... ...
分类:
其他好文 时间:
2019-04-08 11:56:20
阅读次数:
214