摘要:
2.1.1人工神经元的正式定义 如果把人工神经元逻辑运用在二元分类场景,将两个类分别名命为正类(1)和负类(-1)以简化操作。定义决策函数Φ(z) z=w1x1+...wmxm作为净输入。 令w0=-θ,x0=1则有: z=w0x0+...+wmxm=wTx 当z≥0时,决策函数为1,反之为-1 一 阅读全文
摘要:
1.alt+鼠标左键 以物体为中心全方位观察选中物体 2.按住ctrl移动物体,可以按指定步长移动,在snap setting中可以选定步长 3.按住v后可以吸附选中物体的顶点,可以选择两个顶点重合 如下 阅读全文
摘要:
#include #include #include #include #include using namespace std; int main() { string s="aaabbbbccccc"; vector v; int ans=0; do{ int i; for( i=0;i<v.size();i++){ if(... 阅读全文
摘要:
#include #include using namespace std; void f(int x[], int k) { int i,t; if(k>=3){//出口 for(int i=0;i<3;i++)cout<<x[i]<<" "; cout<<endl; return; } for(i=k;... 阅读全文
摘要:
1.1机器学习在20世纪下半叶演变为人工智能(AI)的一个分支,它涉及从数据中通过自我学习获得算法以进行预测。 1.2三种类型的机器学习: 有监督,无监督,强化 1.2.1用有监督学习预测 有监督学习:从有标签的训练数据中学习模型,以便对未知或未来的数据做出预测。“监督”一词指的是已经知道样本所需要 阅读全文
摘要:
#include #include #include using namespace std; bool judge(int n) {//判断整数奇偶 偶数返回true if(n % 2 == 0) return true; else return false; } double getAMid(int a[], int x, int y) {//求一个数组的中位数 ... 阅读全文
摘要:
题目: dfs穷举递归: 动态规划: 结果正确,不贴了 阅读全文
摘要:
题目: 菜鸟代码: #include<iostream>#include<string>#include<algorithm>using namespace std; bool behind(string &s,int p,char a){//Ñ°ÕÒÇ°ÃæÓÐûÓÐÓëaÏàͬµÄ×Ö·û 阅读全文