LSM-tree不同合并方式的分析和比较

    阅读全文
MorphLing's avatar
MorphLing 7月 04, 2022

c++指针和const的几种用法

    阅读全文
MorphLing's avatar
MorphLing 3月 23, 2022

反向传播算法,手动实现前馈神经网络

其实没那么难的,就是讲人话的资料太难找,知乎和CSDN把我看自闭了。 反向传播部分推荐一下     阅读全文
MorphLing's avatar
MorphLing 3月 20, 2022

pytorch使用小结

针对pytorch官方文档常用的api进行梳理。重使用不重原理实现,以经验为主。 可能会读一些简单的源码,解释不一定准确,可能随时会改。     阅读全文
MorphLing's avatar
MorphLing 3月 01, 2022

常用软件/工具清单和配置

软件清单     阅读全文
MorphLing's avatar
MorphLing 2月 26, 2022

数据可视化、matplotlib使用小结

初始化import matplotlib.pyplot as plt import matplotlib.ticker as mtick import numpy as np fig, ax = plt.subplots() ax.set_title() # 设置图表标题 plt.savefig() # 以图片形式保存至本地目录 设置坐标轴属性设置坐标位置和标签ax.set_xlabel() # 设置坐标轴名称 ax.set_xticks() # 控制标签位置 ax.set_xlim() # 设置坐标轴范围 ax.set_xticklabels() # 控制标签内容 format='%d ms' ticks = mtick.FormatStrFormatter(format) ax.xaxis.set_major_formatter(ticks) # 格式化标签内容 ax.xaxis.set_tick_params() # 设置标签参数 ax.yaxis.tick_right() # 改变坐标轴位置 ax.minorticks_on() # 显示坐标轴小格 ax.set_xscale('log') # 设置对数坐标     阅读全文
MorphLing's avatar
MorphLing 6月 04, 2021

关于c++内存回收(delete)对程序整体运行时间影响的疑问

起因是这样的,最近算法课在上红黑树,写红黑树的时候肯定涉及一些内存管理的问题,主要是在插入结点的时候要用new分配一个新的结点,并在清空红黑树的时候把这些结点delete释放掉。     阅读全文
MorphLing's avatar
MorphLing 11月 16, 2020