会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Kiss_the_rain
博客园
首页
新随笔
联系
管理
订阅
2019年3月15日
python机器学习 第二章(1.感知器的训练与测试)
摘要: 2.1.1人工神经元的正式定义 如果把人工神经元逻辑运用在二元分类场景,将两个类分别名命为正类(1)和负类(-1)以简化操作。定义决策函数Φ(z) z=w1x1+...wmxm作为净输入。 令w0=-θ,x0=1则有: z=w0x0+...+wmxm=wTx 当z≥0时,决策函数为1,反之为-1 一
阅读全文
posted @ 2019-03-15 00:45 Kiss_the_rain
阅读(1267)
评论(0)
推荐(0)
2019年3月14日
移动物体的小技巧
摘要: 1.alt+鼠标左键 以物体为中心全方位观察选中物体 2.按住ctrl移动物体,可以按指定步长移动,在snap setting中可以选定步长 3.按住v后可以吸附选中物体的顶点,可以选择两个顶点重合 如下
阅读全文
posted @ 2019-03-14 16:29 Kiss_the_rain
阅读(546)
评论(0)
推荐(0)
2019年3月13日
手链问题(循环,翻转算作一种的排列问题)
摘要: #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(...
阅读全文
posted @ 2019-03-13 17:08 Kiss_the_rain
阅读(358)
评论(0)
推荐(0)
递归回溯求全排列
摘要: #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;...
阅读全文
posted @ 2019-03-13 14:33 Kiss_the_rain
阅读(141)
评论(0)
推荐(0)
2019年3月12日
python机器学习 第一章
摘要: 1.1机器学习在20世纪下半叶演变为人工智能(AI)的一个分支,它涉及从数据中通过自我学习获得算法以进行预测。 1.2三种类型的机器学习: 有监督,无监督,强化 1.2.1用有监督学习预测 有监督学习:从有标签的训练数据中学习模型,以便对未知或未来的数据做出预测。“监督”一词指的是已经知道样本所需要
阅读全文
posted @ 2019-03-12 00:09 Kiss_the_rain
阅读(187)
评论(0)
推荐(0)
2019年3月11日
分治法求两个等长升序序列的联合中位数
摘要: #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) {//求一个数组的中位数 ...
阅读全文
posted @ 2019-03-11 21:00 Kiss_the_rain
阅读(529)
评论(0)
推荐(0)
2019年3月10日
蓝桥——地宫寻宝(dfs递归 动态规划)**
摘要: 题目: dfs穷举递归: 动态规划: 结果正确,不贴了
阅读全文
posted @ 2019-03-10 17:56 Kiss_the_rain
阅读(293)
评论(0)
推荐(0)
蓝桥——扑克排序 (穷举全排列+check())
摘要: 题目: 菜鸟代码: #include<iostream>#include<string>#include<algorithm>using namespace std; bool behind(string &s,int p,char a){//ѰÕÒÇ°ÃæÓÐûÓÐÓëaÏàͬµÄ×Ö·û
阅读全文
posted @ 2019-03-10 15:25 Kiss_the_rain
阅读(313)
评论(0)
推荐(0)
2019年3月8日
蓝桥杯——神奇算式(相乘与结果同数)
摘要: 垃圾代码。。。暴力解法。。。 题目:
阅读全文
posted @ 2019-03-08 19:57 Kiss_the_rain
阅读(420)
评论(0)
推荐(0)
蓝桥——剪格子(深度优先搜索+剪枝+回溯)
摘要: // test.cpp: 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include #include #include using namespace std; int m, n, total; int input[10][10]; int vis[10][10]; int ans = 100; void f(int i, int j, i...
阅读全文
posted @ 2019-03-08 14:47 Kiss_the_rain
阅读(216)
评论(0)
推荐(0)
下一页
公告