自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 Computer vision 1

1.SVMLagrangian TheoryGiven an optimization problem with the objective function f(w) and equality constrains gig_igi​(w)=0L(w,α)=f(w)−∑i=1naigi(w)  L(w,b,a)=12∥w∥2−∑ai(yi(w⋅xi+b)−1)i=1NL(w,\alph...

2020-05-05 21:21:13 149

原创 Generative Adversarial Network 4 Info GAN,BIGAN

1.InfoGAN1.regular GANmodifying a specific dimension,no clear meaning就是不明白改变什么维度,会对特征有什么影响2.What is InfoGANdiscriminator是用来判断到底是不是真实的图片而classifier是用来预测此时的种类如何解决上述的问题呢c must have clear infl...

2020-05-04 20:21:57 149

原创 Generative Adversarial Network 3 WGAN/ EBGAN

前提回顾JS 散度 Jensen-Shannon Divergence解决了两个概率分布的相似度,值0-1之间但是如果P,Q离得很远,完全没有重叠的时候,KL散度值是没有意义的,JS散度值是个常数,这就意味着这一点梯度为0.JS divergence is not suitablein most case,PGandPdata are not overlapped1.PGandPd...

2020-05-03 16:10:54 207

原创 1.Adversarial Examples in Malware Detection

Outlinemalware detector based on deep learningdomain challengers for evasionappend attackslack attack1.Malware detector based on deep learningFeature extraction in static malware classificatio...

2020-04-26 19:12:34 354

原创 Neural Network 5 优化器

神经网络参数优化器引导参数优化的方法,1.SGD没有momentumWt+1=Wt−lr  ∗  ∂loss∂WtW_{t+1}=W_t-lr\;\ast\;\frac{\partial loss}{\partial W_t}Wt+1​=Wt​−lr∗∂Wt​∂loss​2.SGDM含有momentum,在SGD基础上增加一阶动量β 一般取值0.9mt=β⋅mt−1+(1−β)...

2020-04-26 10:23:41 173

原创 Generative Adversarial Network 2 basic thoery

1.Maximum Likelihood Estimation(1) 最大似然法Maximum Likelihood Estimation = Minimize KL Divergence(2).GeneratorA generator G is a network.The network defines a probability distribution PgG∗=argminG...

2020-04-25 23:35:38 118

原创 Neural Network 4 神经网络基本概念

1.基础语法tf.where() 条件语句真/ 假tf.where(条件语句,真返回A,假返回B)np.random.RandomState.rand()返回一个[0,1)间的随机数import numpy as nprdm = np.random.RandomState()a = rdm.rand(3,4)print(a)[[0.18780617 0.01291...

2020-04-25 16:06:58 127

原创 Neural Network 3 鸢尾花神经网络搭建

1.主代码#导入所需模块import tensorflow as tffrom sklearn import datasetsfrom matplotlib import pyplot as pltimport numpy as np#导入数据x_data = datasets.load_iris().datay_data = datasets.load_iris().targ...

2020-04-24 16:17:32 166

原创 Neural Network 2 基础知识

Tensorflow 2.0的语法规则和之前有一些差异,多注意1 张量 tensor2 数据类型tf.int , tf.floattf.booltf.constant([True , False])tf.string3.创造一个张量使用convert_to_tensorimport tensorflow as tfimport numpy as np#change ...

2020-04-21 18:04:09 136

原创 Neural Network 1 导读

神经网络最重要的参数output = input * weights + biasloss function:预测值和标准答案的差距目的:想要找到一组参数w和b,使得损失函数最小梯度:函数对各参数求偏导后的向量所以梯度下降就是寻找损失函数的最小值,得到最优参数学习率:梯度下降速度反向传播 : 从后向前,逐层求损失函数对每层神经元参数偏导数,迭代更新所有参数wt+l  =  wt  ...

2020-04-20 17:34:33 106

原创 panda(2)

read_csv and to_csvread_csv:读文件to_pickle :储存文件import pandas as pdimport numpy as npdata = pd.read_csv('student.csv')print(data)data.to_pickle('student_pickle.csv')

2020-04-19 16:04:22 103

原创 pandas (1)

pandas和numpy不同的是,pandas更像一个字典型的,而numpy是类似列表的会像个字典一样把每个数据上都加上序列import pandas as pdimport numpy as nps = pd.Series([1,2,3,6,np.nan,44,1])print(s)#result0 1.01 2.02 3.03 6.0...

2020-04-19 00:16:10 130

原创 Numpy

1.numpy属性import numpy as nparray = np.array([[1,2,3], [2,3,4]]) #define the matrixprint(array)print('number of dim:',array.ndim) #dimentionprint('shape:',array.shape)print(('s...

2020-04-17 22:45:45 86

原创 PYTHON 基础语法学习

PYTHON语法特点- 不需要声明数据类型 `a = 10`- 代码语句不需要加分号 `print(‘hello world’)` - 缩进决定代码块的范围,不需要大括号基本数据类型数值型 :整型,浮点型字符串:str布尔型:True / Falsea = Trueprint(type(a))常用容器数据存储结构,能够更好管理数据列表list:类似数组,索引从0开始...

2020-03-29 10:33:27 110 1

原创 Linux基础

linux基础基础语言1.apt 包管理工具 可以进行对包的安装 更新 卸载-apt update 检查已经安装的软件包-apt upgrade 更新已经安装的软件包-apt-cache search xxx 搜索 (用apt-cache show 可以查看包的信息)-apt install xxx 安装-apt ...

2020-03-28 18:45:25 62

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除