摘要: 在深度学习实验中遇到一个问题就是虽然loss有变化,但是在验证集中准确率一直没变, 且值接近你的验证集的正负样本比例。 这是因为,在模型中某一个位置使用看ReLU激活函数,导致值全都变换到了 非负数,再最后用sigmoid的时候全是>0.5的结果。 还有一种情况就是loss一直不变,这类情况说明反向 阅读全文
posted @ 2023-06-30 16:31 chaosliang 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 原文 Knowledge Graph Reasoning with Relational Digraph 出版 Yongqi Zhang and Quanming Yao 2022 In Proceedings of the ACM Web Conference 2022 (WWW '22) Ass 阅读全文
posted @ 2023-05-15 16:43 chaosliang 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 原文 Diachronic Embedding for Temporal Knowledge Graph Completion 出版 The Thirty-Fourth AAAI Conference on Artificial Intelligence (AAAI-20) 申明 版权归原文作者及出 阅读全文
posted @ 2023-05-04 20:49 chaosliang 阅读(143) 评论(1) 推荐(0) 编辑
摘要: ![](https://img2023.cnblogs.com/blog/1708601/202304/1708601-20230425101319391-955575391.png) 阅读全文
posted @ 2023-04-25 10:14 chaosliang 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 题目来源 acwing 题目难度 3星 算法标签 完全背包 + 高等代数 参考程序 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 105, M = 2500 阅读全文
posted @ 2023-03-20 21:38 chaosliang 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 题目来源 acwing 题目难度 2星 算法标签 二分 参考程序 // Forward declaration of compare API. // bool compare(int a, int b); // return bool means whether a is less than b. 阅读全文
posted @ 2023-03-18 21:37 chaosliang 阅读(12) 评论(0) 推荐(0) 编辑
摘要: num: 2 3 5 7 8 9 //每一个出现的数,从小到大排序好 cnt: 2 1 1 2 3 1 //每个出现的数的数量,比如3表示8出现3次 dp表达方式:dp[n][2] dp[i][0]:表示在区间1~i上,不选num[i]的最大分数划分方案 dp[i][1]:表示在区间1~i上,选择n 阅读全文
posted @ 2023-03-18 19:46 chaosliang 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 题目来源 acwing 题目难度 3星 算法标签 dp + 优化 参考程序 #include <iostream> using namespace std; const int N = 3005; int n; int a[N], b[N]; //dp[i][j]表示a的前i个数,b的 //前j个数 阅读全文
posted @ 2023-03-09 19:05 chaosliang 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 题目来源 acwing 题目难度 3星 算法标签 dp+搜索 程序 #include <iostream> #include <cstdio> #include <algorithm> using namespace std; const int N = 55; int n; int up[N]; 阅读全文
posted @ 2023-03-07 17:48 chaosliang 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 原文 A Cybersecurity Ontology to Support Risk Information Gathering in Cyber-Physical Systems 出版 Computer Security. ESORICS 2021 International Workshops 阅读全文
posted @ 2022-11-11 21:00 chaosliang 阅读(38) 评论(0) 推荐(0) 编辑