摘要: 评价: assignment + lab + final exam。 MVC: Model和database走的最近,2个相辅相成。 View是展示给用户看的 Control 控制着展示的内容。 下图为ASP.NET + MVC 开发的目录结构图 App_Data存放着与数据库相关的内容 View 阅读全文
posted @ 2022-07-06 19:49 dream_fu 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 1,numpy处理多维数组 a = np.random.randint(0,20,(5,6)) #处理连续时,不加方括号 print(a[1:3,0:2) #处理离散时,加方括号 print(a[[0,1],[2,3]] 阅读全文
posted @ 2021-10-14 20:00 dream_fu 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 1, 背景:复杂模型不好直接部署,简单模式更容易直接部署在服务器中 目的:模型压缩 解决办法: 1,使用Distillation:将老师(复杂模型)学到的“知识”灌输给学生(简单模型),所谓的知识其实是泛化能力。 2,衡量模型的复杂程度:模型中参数的数量。 模型容量的概念:模型的容量是指它拟合各种函 阅读全文
posted @ 2021-10-10 19:24 dream_fu 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 1,浮点神经网络: 权重值和激活值都是32位浮点数 2,二值神经网络 权重值和激活值都是2个值 阅读全文
posted @ 2021-10-10 12:31 dream_fu 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 1,目标: 寻找对数据更好的表示方式 阅读全文
posted @ 2021-09-07 20:51 dream_fu 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 1,CNN是什么? 2, RGB-D是什么? 3,解决的问题是 RGB-D salient object detection 4,解决的问题分为三个层面: modal-specific representation learning 作者提出:a hierarchical cross-modal d 阅读全文
posted @ 2021-08-30 22:29 dream_fu 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 1,K-NN算法的理解: 第一,对n维未知量xεRn , 测试其label 第二,对已知训练数据y,计算x到y每个row的距离 第三,选出k个最短的距离,根据这k个训练数据label的投票,确定x的label import numpy as np def knn_cla(train_data,tra 阅读全文
posted @ 2021-05-26 21:46 dream_fu 阅读(147) 评论(0) 推荐(0) 编辑
摘要: map<char, string>my_map; void backTrack(vector<string>&combinations,string digits, int index,string &combination) { if (index == digits.size()) { comb 阅读全文
posted @ 2021-03-18 11:20 dream_fu 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 最大连续子序列之和 //一维最大连续子序列之和 int maxSubSequence(int n) { int res = 0; for (int i = 0; i < n; i++) { if (i == 0) { dp[i] = A[i]; } else { dp[i] = max(A[i], 阅读全文
posted @ 2021-03-17 23:49 dream_fu 阅读(51) 评论(0) 推荐(0) 编辑
摘要: Dijkstra算法 #define INF 1000000 using namespace std; const int MAXN = 505; int N; int grapth[MAXN][MAXN]; int dis[MAXN]; bool vis[MAXN]; int res; void 阅读全文
posted @ 2021-03-17 20:30 dream_fu 阅读(59) 评论(0) 推荐(0) 编辑