Linear algebra is the branch of mathematics concerning vector spaces and linear mappings between such spaces. It includes the study of lines, planes, ... ...
分类:
其他好文 时间:
2019-07-19 18:29:32
阅读次数:
103
1、线性回归 假设线性函数如下: 假设我们有10个样本x1,y1),(x2,y2).....(x10,y10),求解目标就是根据多个样本求解theta0和theta1的最优值。 为了解决这个问题,我们需要引入误差分析预测值与真实值之间的误差为最小。 2、梯度下降算法 梯度下降的场景: 梯度下降法的基 ...
分类:
编程语言 时间:
2019-07-17 18:38:52
阅读次数:
175
一.安装目前用了tensorflow、deeplearning4j两个深度学习框架, tensorflow 之前一直支持到python 3.5,目前以更新到3.6,故安装最新版体验使用。 慢慢长征路:安装过程如下 WIN10: anaconda3.5: PYTHON3.6: tensorflow1. ...
分类:
其他好文 时间:
2019-07-14 13:17:19
阅读次数:
101
from sklearn.linear_model import LinearRegression,Lasso,Ridge from sklearn.datasets import load_boston import matplotlib.pyplot as plt boston=load_bos... ...
分类:
其他好文 时间:
2019-07-11 11:13:07
阅读次数:
138
# -*- coding: utf-8 -*- number_list = [0, 1, 2, 3, 4, 5, 6, 7] def linear_search(value, iterable): for index, val in enumerate(iterable): if val == va... ...
分类:
编程语言 时间:
2019-07-10 23:14:23
阅读次数:
232
一、文本颜色渐变 <gradient> :可以应用在所有接受图像的属性上,允许使用简单的语法实现颜色渐变,以便UA在渲染页面自动生成图像。 语法:<gradient> = linear-gradient() | repeating-linear-gradient() | radial-gradien ...
分类:
Web程序 时间:
2019-07-10 18:31:07
阅读次数:
163
1. Gauss Elimination Method $(1\times 1)$ $ax_1=b$ $\rightarrow$ $x_1=\frac{b}{a}$ $(2 \times 2)$ $\begin{cases}a_{11}x_1+a_{12}x_2=b_1 \\ a_{21}x_1+a ...
分类:
其他好文 时间:
2019-07-10 15:02:28
阅读次数:
87
1.基于树模型提取特征 2.基于L1,L2惩罚值提取特征 3.递归特征消除法提取特征 4.互信息选择法提取特征 5.利用相关系数选择特征 6.卡方检验法提取特征 7.利用方差选择特征 参考:https://www.kesci.com/ ...
分类:
其他好文 时间:
2019-07-09 00:28:36
阅读次数:
371
快速定义一个神经网络 Sequential( (0): Linear(in_features=2, out_features=10, bias=True) (1): ReLU() (2): Linear(in_features=10, out_features=2, bias=True) ) ...
分类:
其他好文 时间:
2019-07-08 19:21:19
阅读次数:
85