• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
鱼市口
博客园    首页    新随笔    联系   管理    订阅  订阅

随笔分类 -  commonLearning

Python Class Recap -2 tricky problems

摘要:Test cases as below:$ python3 >>> from quiz_8 import * >>> Point() ... quiz_8.PointError: Need two coordinates, point not created. >>> Point(0) ... qu 阅读全文
posted @ 2023-09-18 00:51 鱼市口 阅读(39) 评论(0) 推荐(0)
python coding感想,持续更新

摘要:发觉很多python coding不怎么用,很多基本结构有所生疏。近期会持续把常用的数据结构用python搞一搞,会更新: d = {} res = '' for i in range(11): d[i] = chr(i) for i in range(11): key = list(d.keys( 阅读全文
posted @ 2023-09-15 01:34 鱼市口 阅读(35) 评论(0) 推荐(0)
知识图谱Knowledge Spectrum

摘要:基于图的数据结构,由节点(Point)和边(Edge)组成。在知识图谱里,每个节点表示现实世界中存在的“实体”,每条边为实体与实体之间的“关系”。知识图谱是关系的最有效的表示方式。通俗地讲,知识图谱就是把所有不同种类的信息(Heterogeneous Information)连接在一起而得到的一个关 阅读全文
posted @ 2023-09-05 15:38 鱼市口 阅读(42) 评论(0) 推荐(0)
LGBM一些参数杂项,datrics.ai

摘要:Optimize This checkbox enables the Bayesian hyperparameter optimization, which tweaks the learning rate, as well as the number of iterations and leave 阅读全文
posted @ 2023-04-20 13:57 鱼市口 阅读(38) 评论(0) 推荐(0)
csv read note

摘要:Error "(unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape" [duplicate] Solutions below 1: Just put  阅读全文
posted @ 2023-04-08 20:36 鱼市口 阅读(26) 评论(0) 推荐(0)
std::ref

摘要:The std::thread constructor copies the supplied values, without converting to the expected argument type (which is reference type in this case, seeupd 阅读全文
posted @ 2023-02-23 15:14 鱼市口 阅读(46) 评论(0) 推荐(0)
类内函数的override问题-方法

摘要:Question: have a base class with a virtual function: class Base { public: virtual void Function(); }; void Base::Function() { cout << "default version 阅读全文
posted @ 2023-01-18 23:42 鱼市口 阅读(16) 评论(0) 推荐(0)
Leetcode203

摘要:题意:去掉给定头ListNode* head 的单链表内 val 等于一个 给定val的节点并返回头 思路:此题删除链表中元素是很简单的,只需要让待删节点之前一个节点指向待删节点之后一个节点即可。 此题最大的问题就是,题目要求我们要返回新链表中的头结点,如果我们就采用仅仅复制头结点的方式(用H=he 阅读全文
posted @ 2022-12-29 01:17 鱼市口 阅读(28) 评论(0) 推荐(0)
English Punctuations

摘要:’ apostrophe /ə'pɒstrəfɪ/ 撇号 ~ tilde /'tɪldə/ 波浪符 * asterisk/star/pointer /'æstərɪsk/ 星号 # pound /paʊnd/ 井号 : colon /'kəʊlən/ 冒号 ; semicolon /ˌsemɪ'kə 阅读全文
posted @ 2022-09-01 00:09 鱼市口 阅读(73) 评论(0) 推荐(0)

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3