摘要: 目录关于Docker普通用户权限提升风险SothisAI 平台的解决表现策略猜想 关于Docker 使用过Docker的朋友都知道,在Docker创建的Container中,用户可以具有root权限。在多人使用的运算平台上,一些用户使用的软件可能需要通过Docker解决一些环境依赖问题。Docker 阅读全文
posted @ 2023-11-09 00:25 esctrionsit 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 根据贝叶斯定理,当观测到值 \(x\),其属于分类 \(w_i\) 的概率为: \(P(w_i|x) = \frac{P(x|w_i)P(w_i)}{P(x)}\) 显然,当 \(x\) 为离散型变量时,\(P(x)\) 和 \(P(x|w_i)\) 均可直接计算频率得出。 当 \(x\) 为连续型 阅读全文
posted @ 2022-04-16 21:55 esctrionsit 阅读(632) 评论(0) 推荐(0) 编辑
摘要: Electron是由GitHub开发的一个开源框架,原名为Atom Shell。其基于Node.js,使用chrome渲染引擎作为前端,可以进行跨平台的桌面GUI应用程序开发。如VSCode就是采用Electron开发的。 使用中出现的问题 linux下的root权限问题 在linux下运行时,如果 阅读全文
posted @ 2021-11-25 12:40 esctrionsit 阅读(1589) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <string> #include <vector> int main(){ std::string infile = "./infile.txt"; std::ifstream in(infile.c_str()); // 将string对 阅读全文
posted @ 2021-08-23 15:51 esctrionsit 阅读(110) 评论(0) 推荐(0) 编辑
摘要: # https://my.oschina.net/u/3375733/blog/1827778 # https://blog.csdn.net/qq_40015566/article/details/90169882 # https://newsn.net/say/nginx-subs_filter 阅读全文
posted @ 2021-08-23 15:30 esctrionsit 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 通过c/c编写动态链接库,再用Python调用写好的函数,可以有效利用c/c程序的高效与Python的便捷。Python的ctypes库提供了相对便捷的clib调用。 下述代码在Python3中成功运行,但是Python2会报错,原因尚未深究。 C++ #include <iostream> #in 阅读全文
posted @ 2021-08-23 15:07 esctrionsit 阅读(318) 评论(0) 推荐(0) 编辑
摘要: df=data.frame( Y=c(101,101,100,99,201,201,200,199,51,51,50,49), X2=c("1","1","1",'1','2','2','2','2','3','3','3','3'), X=c(1,1,1,1,2,2,2,2,3,3,3,3), R 阅读全文
posted @ 2021-07-11 22:50 esctrionsit 阅读(612) 评论(0) 推荐(0) 编辑
摘要: Gao, S., Wu, J., Stiller, J. et al. Identifying barley pan-genome sequence anchors using genetic mapping and machine learning. Theor Appl Genet 133, 2 阅读全文
posted @ 2021-04-11 23:53 esctrionsit 阅读(326) 评论(0) 推荐(0) 编辑
摘要: Gao Y, Yang Z, Yang W, et al. Plant-ImputeDB: an integrated multiple plant reference panel database for genotype imputation[J]. Nucleic Acids Research 阅读全文
posted @ 2020-11-16 02:10 esctrionsit 阅读(560) 评论(0) 推荐(0) 编辑
摘要: Wu B, Zhong Y, Wu Q, et al. Genetic Diversity, Pedigree Relationships, and A Haplotype-Based DNA Fingerprinting System of Red Bayberry Cultivars[J]. F 阅读全文
posted @ 2020-11-07 19:11 esctrionsit 阅读(295) 评论(0) 推荐(0) 编辑