About me...
摘要: flex 编写a.lex文件 %{ int wordCount=0; int numcount=0; %} chars [A-Za-z\_\'\.\"] numbers ([0-9])+ delim [" "\n\t] whitespace {delim}+ words {chars}+ %% wh 阅读全文
posted @ 2025-05-07 15:56 -Z00- 阅读(50) 评论(0) 推荐(0)
摘要: 新用户300元试用,要实名认证,支付宝账号 实例选择 2GB示例2400小时,4GB实例1200小时 但是2G不太够用,容易内存爆满导致vscode直接断连了,且必须重启服务器才可以恢复连接,十分麻烦(有时服务器抽风要7分钟以上才能关闭) vscode常见配置 首先免密登录,本地ssh-key,上传 阅读全文
posted @ 2025-05-04 20:58 -Z00- 阅读(13) 评论(1) 推荐(0)
摘要: 贝尔曼方程 \[v_{\pi}(s)=\sum_{a,s'}\pi(a|s)p(s'|s,a)\{r(s,a,s')+\gamma v_\pi(s')\} \]\[q_\pi(s,a)=\sum_{s'}p(s'|s,a)\{r(s,a,s')+\gamma \sum_{a'}\pi(a'|s')q 阅读全文
posted @ 2025-05-03 10:17 -Z00- 阅读(14) 评论(0) 推荐(0)
摘要: Problem: Git failed with a fatal error. unable to access 'address': error setting certificate file: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.c 阅读全文
posted @ 2025-04-24 16:36 -Z00- 阅读(35) 评论(0) 推荐(0)
摘要: 自动编码器 输入x 先编码encode,得到压缩的特征表示(这一过程即特征提取) 然后再解码decode, 还原为原本的x (理想情况下,否则计算误差反向梯度更新) 阅读全文
posted @ 2025-04-24 16:32 -Z00- 阅读(17) 评论(0) 推荐(0)
摘要: 图像处理分为RGB和灰度图(三通道和单通道区别, 在网络第一层有区别) 特征灰度图不适合数据增强,因为破坏了语义信息。 例如向上的箭头向右旋转90°,成为了向右的箭头,但正常的人像向右旋转还是这个人像 考虑实验复现效果,应该在模型训练、数据集读取之前设置好随机种子 def setup_seed(se 阅读全文
posted @ 2025-04-17 09:13 -Z00- 阅读(22) 评论(0) 推荐(0)
摘要: 给shell script文件加权限 ls -l chmod +x run.sh ls -l ./run.sh 非空文件夹删除 rm -rf dir_name 阅读全文
posted @ 2025-04-17 09:02 -Z00- 阅读(8) 评论(0) 推荐(0)
摘要: Git Error:invalid path 'umaps/MNISTmain.pt_adjustedUMAP_plot.png' unable to checkout working tree warning: Clone succeeded, but checkout failed. You c 阅读全文
posted @ 2025-04-12 20:32 -Z00- 阅读(59) 评论(0) 推荐(0)
摘要: 精确率$$Precision=\frac{TP}{TP+FP}$$ 召回率$$Recall=\frac{TP}{TP+FN}$$ F1指标:false positive 和 false negative同等重要,Precision 和 Recall同等重要 \[F1=\frac{2*Precisio 阅读全文
posted @ 2025-04-05 09:08 -Z00- 阅读(67) 评论(0) 推荐(0)
摘要: C++ 私有继承的特性与访问控制分析 私有继承的核心特性 私有继承(private inheritance)是 C++ 中一种重要的继承方式,它具有以下两个关键特性: 成员访问权限转换 在私有继承关系中,基类的所有成员(包括public和protected成员)在派生类中都将变为private成员。 阅读全文
posted @ 2025-04-04 21:25 -Z00- 阅读(96) 评论(0) 推荐(0)