摘要: Exponential Family The pdf is as follows, $$ p(y;\eta)=b(y) e^{\eta^TT(y)-a(\eta)} $$ Mathematical properties: MLE w.r.t. $\eta$ is concave, but negat 阅读全文
posted @ 2022-08-11 16:49 19376273 阅读(83) 评论(0) 推荐(0) 编辑
摘要: Locally Weighted Regression None parametric learning algorithm. Need to keep training data in the memory. Formally fit $\theta$ to minimize $$ \sum_{i 阅读全文
posted @ 2022-08-10 21:51 19376273 阅读(26) 评论(0) 推荐(0) 编辑
摘要: cs229 Generative Model & Discriminative Model Defination learns P(x|y) : x is feature and y is the class Bayes rule $$ P(y|x)=\frac{P(x|y)P(y)}{P(x)} 阅读全文
posted @ 2022-08-07 23:32 19376273 阅读(34) 评论(0) 推荐(0) 编辑
摘要: T5 and Large Language Model T5 Text-to-Text Transfer Transformer. see all NLP questions as A TEXT-TO-TEXT TASK universal format: task description + se 阅读全文
posted @ 2022-08-05 11:47 19376273 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 共指消解——Coreference Resolution Coreference Resolution Coreference Resolution: find all the words that refer to the same entity in the world. antecedent 阅读全文
posted @ 2022-08-04 11:46 19376273 阅读(36) 评论(0) 推荐(0) 编辑
摘要: Add Knowledge to Language Model Add pre-trained entity embeddings entity linking: map the word occurred in text to the entity in knowledge database. i 阅读全文
posted @ 2022-08-03 20:15 19376273 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 以太坊(ETH) 区块链研究者梅兰妮·斯万,在《区块链:新经济蓝图》一书中,她将区块链分为:区块链1.0,货币;区块链2.0,合约;区块链3.0,应用。比特币是区块链1.0的代表,以太坊则是区块链2.0的代表。 以太坊最初的设计目标就是成为智能合约和去中心化应用的平台,它的创始人是维塔利克·布特林( 阅读全文
posted @ 2022-02-28 08:43 19376273 阅读(539) 评论(0) 推荐(0) 编辑
摘要: 比特币系统可以分成三层: 应用层:比特币 协议层:比特币协议 技术层:比特币区块链 比特币系统设计的5个要点: 1) 去中心化的点对点电子现金系统 比特币要做的是一个“点对点的电子现金系统”,发送方和接收方直接交易,它们之间不需要中介机构的介入。 要去掉可信第三方等中介机构,就需要解决“双花问题”。 阅读全文
posted @ 2022-02-27 15:16 19376273 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 思考题 Thinking6.1 示例代码中,父进程操作管道的写端,子进程操作管道的读端。如果现在想让父进程作为“读者”,代码应当如何修改? 除了将case 0:与default:分支的内容交换一下,还要注意父进程开始要先调度子进程完成写,自己才能读。 switch (fork()) { case - 阅读全文
posted @ 2022-02-24 16:36 19376273 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 思考题 Thinking5.1 查阅资料,了解 Linux/Unix 的 /proc 文件系统是什么?有什么作用?Windows 操作系统又是如何实现这些功能的?proc 文件系统的设计有哪些好处和不足? proc文件系统是伪文件系统,是服务于用户和内核的通信的。proc文件系统是一种无存储的文件系 阅读全文
posted @ 2022-02-24 16:32 19376273 阅读(170) 评论(0) 推荐(0) 编辑