06 2019 档案
摘要:Main operation categories that encompass the operations of tensors. 1. "Reshaping operations " 2. "Element wise operations " 3. "Reduction operations
阅读全文
摘要:Reshapeing operations Suppose we have the following tensor: We have two ways to get the shape: The rank of a tensor is equal to the length of the tens
阅读全文
摘要:Access operations Accessing elements inside tensors Suppose we have the following tensors: Do it with multiple values:
阅读全文
摘要:Reuction operations Reduction operations A reduction operations on a tensor is an operation that reduces the number of elements contained within the t
阅读全文
摘要:Element wise operations An element wise operation operates on corresponding elements between tensors. Two tensors must have the same shape in order to
阅读全文
摘要:C++ STL map map内部数据组织:自建一颗红黑树(一种非严格意义上的平衡二叉树) 头文件: Operation: 1. 自动建立Key Value的键值对; 2. 根据Key值快速查找记录,复杂度 O(log(N)) ; 3. 快速插入Key Value记录; 4. 快速删除Key V
阅读全文
摘要:主修: (1)计算机科学 (2)神经科学 辅修: (1)经济学 (2)心理学 盖士人读书 第一要有志,第二要有识,第三要有恒 有志则断不甘为下流 有识则知学问无尽,不敢以一得自足 有恒则断无不成之事 ——曾国藩 有时候我们把自己困在角落,挣扎着想要逃离,但其实只要我们往后退一步,用不一样的角度看待问
阅读全文
摘要:1. 为什么需要数据增强? (1)数据增强是扩充数据样本规模的一种有效的方法,深度学习是一种基于大数据的方法,数据的规模越大、质量越高就越好,模型也能够拥有更好的泛化能力。然而在实际采集数据的时候,往往很难覆盖全部的场景,比如光照条件,那么在训练模型的时候,就需要加入光照方面的数据增强; (2)即使
阅读全文
摘要:正则化策略 Since because of the function of being a potential tool for ensuring the generalization of the algorithm, studies on regularization of the algor
阅读全文
摘要:在机器学习算法中,我们通常将原始数据集划分为三个部分(划分要尽可能保持数据分布的一致性): (1)Training set(训练集): 训练模型 (2)Validation set(验证集): 选择模型 (3)Testing set(测试集): 评估模型 其中Validation set的作用是用来
阅读全文
摘要:###排版方式: 行级元素(inline):使用...,表示公式的首尾 块级元素(displayed):使用...,默认居中显示 ###LaTex数学符号表 小写希腊字母 大写希腊字母 数学函数名 二元关系符 二元运算符 大尺寸运算符 箭头 定界符 大尺寸定界符 其它符号 AMS二元关系
阅读全文
摘要:偏差: 是指一个模型的在不同训练集上的平均性能和最优模型的差异,可以用来衡量一个模型的拟合能力。换句话说,偏差反映的是 预测值期望E(f(x)) 与 真实值y 之间 偏移 了多少; 方差: 是指一个模型在不同训练集上的差异,可以用来衡量一个模型是否容易过拟合。换句话说,方差衡量的是 模型自身
阅读全文
摘要:基于Numpy的神经网络+手写数字识别 本文代码来自Tariq Rashid所著《Python神经网络编程》 代码分为三个部分,框架如下所示: 这是一个坚实的框架,可以在这个框架之上,充实神经网络工作的详细细节。 使用以上定义的神经网络类: 以上训练中所用到的数据集: "训练集" "测试集"
阅读全文