会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
z974890869
博客园
首页
新随笔
联系
订阅
管理
1
2
3
下一页
2021年5月30日
BERT
摘要: 首先使用bert获取词向量bert-as-service 1.安装Bert-as-Service pip install bert-serving-server # server pip install bert-serving-client # client, independent of `be
阅读全文
posted @ 2021-05-30 09:02 z974890869
阅读(150)
评论(0)
推荐(0)
2021年5月27日
Knowledge Graph Embedding Based Question Answering
摘要: 记录下学习过NLP,就是个作业草稿 本次选取论文[1]《Knowledge Graph Embedding Based Question Answering》 论文代码网址: https://github.com/xhuang31/KEQA_WSDM19 概念介绍 Simple Question:I
阅读全文
posted @ 2021-05-27 19:57 z974890869
阅读(758)
评论(2)
推荐(2)
2020年12月19日
Implementations
摘要: 接口与实现分离
阅读全文
posted @ 2020-12-19 15:32 z974890869
阅读(156)
评论(0)
推荐(0)
Designs and Declarations
摘要: 1 //provision_21: Don't try to return a reference when you must return an object 2 //static :不能比较 3 #include<iostream> 4 class Rational 5 { 6 friend c
阅读全文
posted @ 2020-12-19 10:35 z974890869
阅读(57)
评论(0)
推荐(0)
2020年12月17日
Constructors_Destructor_and_Assignment_Operators
摘要: 1 //provision_7:Declare destructors virtal in polymorphic base classes 2 /* 3 只有当class 内含有至少一个virtual function 才为它声明virtual destructor 4 不声明 virtual:d
阅读全文
posted @ 2020-12-17 09:47 z974890869
阅读(81)
评论(0)
推荐(0)
2020年12月16日
Accustoming_Yourself_to_C++
摘要: //条款1 用const,enum,inline 替换#define //1 const 替换 #define 常量 /* * 对于浮点数,const double 代码小 * 在class内不能提供封装性 * #defien函数用 * template<typename> * inline dec
阅读全文
posted @ 2020-12-16 09:56 z974890869
阅读(57)
评论(0)
推荐(0)
2020年12月14日
机房管理系统
摘要: c++的小项目来源地址 还有很多能修改的地方(有时间再改吧) 缺少继承的构造函数相关知识点 有点不足 缺少多态继承 放个main其他打包(看来要学习使用github) 1 #include<iostream> 2 #include<memory> 3 #include"orderFile.h" 4
阅读全文
posted @ 2020-12-14 21:45 z974890869
阅读(225)
评论(0)
推荐(0)
2020年11月22日
Red_Black_Tree C++
摘要: 红黑树 总的来说 掌握思想就好:细节没记住 //算法导论书中的else表示case3要改成具体情况:还有不存在的情况要跳过//例如:else = else if(z == z.p.left) 知识点: 1、指针比较地址 :z->right == nil *(z->right )== *nil 报错:
阅读全文
posted @ 2020-11-22 22:31 z974890869
阅读(158)
评论(0)
推荐(0)
2020年11月7日
Binary_Seach_Tree(BST) C++
摘要: Wiki:二叉查找树(英语:Binary Search Tree),也称为二叉搜索树、有序二叉树(ordered binary tree)或排序二叉树(sorted binary tree),是指一棵空树或者具有下列性质的二叉树: 若任意节点的左子树不空,则左子树上所有节点的值均小于它的根节点的值;
阅读全文
posted @ 2020-11-07 12:51 z974890869
阅读(149)
评论(0)
推荐(0)
2020年10月29日
贪吃蛇小笔记
摘要: 贪吃蛇GreedySnake(转载) 如果《c++ prime 5th》 课后程序都自己敲一遍:这个程序(没有继承)很好理解 一些window API 检测输入什么的 跳过也行 用一个controller 类来总控制 :整个游戏其实就是一个无穷的循环,直到退出游戏时退出循环。我们暂且将这个循环称为一
阅读全文
posted @ 2020-10-29 16:26 z974890869
阅读(64)
评论(0)
推荐(0)
1
2
3
下一页
公告