- 博客(7)
- 收藏
- 关注
原创 MIT6.S191-L1_Introduction_to_Deep_Learning
The PerceptronForward PropagationCommon Activation FunctionsNOTE: All activation functions are non-linearSimoid![]](https://img-blog.csdnimg.cn/20200212203526581.png?x-oss-process=image/wate...
2020-02-12 20:41:56 236 1
原创 4.C++对象和类
#ifndef STOCK00_H#define STOCK00_H#include <string>class Stock{private: std::string company; long shares; double share_val; double total_val; void set_tot() { total_val = shares * sh...
2020-02-12 20:29:35 96
原创 3.C++循环和函数
基于范围的循环-C++11只读版本int a[3] = {1, 2, 3};for (int i : a){ cout << i << endl; }// output:// 1// 2// 3可写版本 - 使用引用int a[3] = {1, 2, 3};for (int &i : a){ ++i; ...
2020-02-12 20:28:12 416
原创 2.C++复合类型
数组初始化规则int cards[4] = {1, 2, 3, 4}; //okayint hand[4]; // okayhand[4] = {1, 2, 3, 4} // not allowedhand = cards; // not allowed, 不允许静态数组相互赋值,必须单个单个赋值。可使用array取代short things[500] = {1} // 只有第0...
2020-02-12 20:24:58 549
原创 1.C++开始
名称空间 using编译指令名称空间是用来区分不同库的相同函数名,仅当引用头文件没有.h时使用名称空间。// 方式1:全部引用,可以直接调用std名称空间的全部函数。using namespace std;// 方式2:单独引用,仅可以直接调用std名称空间的cout和endl。using std::cout;using std::endl;变量的声明定义声明(defini...
2020-02-12 20:18:44 101
原创 ML线性回归 python实现
最近在学习Andrew Ng的课程,仅做完Octave的编程作业感觉并没有理解算法的精髓。故打算从今天开始,将重要的ML算法用Python重新实现一遍,加深印象,提高自己实际应用的能力。编程环境:Windows10+Jupyter Lab+Python3.6+Numpy+Matplotlib+scipy+sklearn;数据:ex1data1.txt,ex1data2.txt(文中有下载链接)...
2019-01-15 23:37:30 388
原创 【解决】deepin 应用商店安装QT5 qml找不到
deepin 应用商店安装QT5 qml找不到bash:apt install qtdeclarative5-dev
2018-03-21 00:15:46 610
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人