摘要:
* 命令: sudo ifconfig awdl0 down * 命令原理:注意影响隔空投送功能 此命令关闭的是awdl0网卡, 此网卡被应用于Airdrop, AirPlay等功能, 被苹果默认开启。此网卡开启会极 大影响WIFI, 但是对于电脑用户基本上不需要这些功能, 还有安全风险。 此命令的
阅读全文
posted @ 2023-04-18 17:22
bregman
阅读(805)
推荐(0)
摘要:
 ```bash sudo modinfo vboxdrv sudo rm /lib/modules/5.15.
阅读全文
posted @ 2023-03-19 14:03
bregman
阅读(28)
推荐(0)
摘要:
* https://crfm.stanford.edu/2023/03/13/alpaca.html * https://github.com/archersama/awesome-recommend-system-pretraining-papers * [A Comprehensive Surv
阅读全文
posted @ 2023-03-14 16:43
bregman
阅读(116)
推荐(0)
摘要:
* 阿里妈妈技术 https://blog.csdn.net/alimama_Tech?type=blog * 深度点击率预估模型的One-Epoch过拟合现象剖析 * https://github.com/Z-Y-Zhang/one_epoch_phenomenon * 其他收集网站 https:
阅读全文
posted @ 2023-02-15 10:24
bregman
阅读(41)
推荐(0)
摘要:
 * https://homepages.inf.ed.ac.uk/imurray2/pub/16choldif
阅读全文
posted @ 2023-02-03 13:57
bregman
阅读(40)
推荐(0)
摘要:
* ODS: 操作型数据存储, 基础层 DW数据分层,由下到上为**DWD**,DWB,**DWS**。 - DWD:data warehouse details 细节数据层,是业务层与数据仓库的隔离层。主要对ODS数据层做一些数据清洗和规范化的操作。 - DWB:data warehouse ba
阅读全文
posted @ 2022-12-15 15:38
bregman
阅读(420)
推荐(0)
摘要:
好几年前写的代码, 其中javascript代码找专业人员写的。 ```python #######页面 _HTML = ''' 效果分析%(bizdate)s 算法效果报告 bizdate=%(bizdate)s %(tabs)s %(contents)s 注意数据安全, 请勿转发!! 有问题联系
阅读全文
posted @ 2022-11-23 11:31
bregman
阅读(35)
推荐(0)
摘要:
> f(x)可以并行计算的情况下,求优化 * gridsearch * hyperband 算法 https://blog.csdn.net/jose_M/article/details/106313669 * https://tanzu.vmware.com/content/blog/massiv
阅读全文
posted @ 2022-11-14 19:56
bregman
阅读(34)
推荐(0)
摘要:
0. 官方教材 https://pytorch.org/tutorials/beginner/basics/tensorqs_tutorial.html 1. https://huhuhang.com/post/machine-learning/pytorch-basic-tutorials 2.
阅读全文
posted @ 2022-11-13 18:45
bregman
阅读(50)
推荐(0)
posted @ 2022-09-23 18:01
bregman
阅读(98)
推荐(0)
摘要:
* 用md5 ```python import hashlib _a = hashlib.md5(_model_file.encode('utf-8')).hexdigest() resource_name = f'tfmodel_{_a}.tar.gz' ``` * 不能缩短 ```python
阅读全文
posted @ 2022-08-20 00:13
bregman
阅读(64)
推荐(0)
摘要:
* DARTS: DIFFERENTIABLE ARCHITECTURE SEARCH https://arxiv.org/pdf/1806.09055v2.pdf * An Introduction to Neural Architecture Search for Convolutional N
阅读全文
posted @ 2022-08-03 20:47
bregman
阅读(35)
推荐(0)
摘要:
之前的一段java代码, 发现耗时有点高, java 同事做了优化。方法如下: 1. 写一个测试类, profileTest分析代码中各部分的耗时。 2. 把java的split 的代码用for循环 去处理。 最终耗时从16ms下降到9ms。 想了下 java split 慢, 可能是正则表达式原因
阅读全文
posted @ 2022-07-19 11:41
bregman
阅读(76)
推荐(0)
摘要:
* https://www.tutorialspoint.com/rust/rust_tutorial.pdf 150页 * https://lise-henry.github.io/books/trpl2.pdf 600页 * https://edu.anarcho-copy.org/Progra
阅读全文
posted @ 2022-07-14 20:22
bregman
阅读(36)
推荐(0)
摘要:
* tf.switch_case, 1.15 以后版本生效 * fast_net 中不能用 lambda 函数, 否则结果不一致。 ```python def fast_net(branch_index, branch_names=branch_names): import functools br
阅读全文
posted @ 2022-07-10 10:33
bregman
阅读(73)
推荐(0)
摘要:
chrome 复制值比较简单。 firefox 复制请求头 比较容易。 cookie 可以通用。
阅读全文
posted @ 2022-05-10 11:30
bregman
阅读(224)
推荐(0)
摘要:
> mint linux 下使用virtualbox,安装了 Oracle_VM_VirtualBox_Extension_Pack-6.1.34.vbox-extpack 后。仍然无法使用usb。 * 如下处理。 可能只是最后一句生效了。 ```bash sudo groupadd usbfs s
阅读全文
posted @ 2022-05-02 18:26
bregman
阅读(178)
推荐(0)
摘要:
``` s = settings;s.matlab.desktop.DisplayScaleFactor s.matlab.desktop.DisplayScaleFactor.PersonalValue = 1.2 ```
阅读全文
posted @ 2022-04-23 08:56
bregman
阅读(92)
推荐(0)
摘要:
mint linux中 刻录Windows系统盘
阅读全文
posted @ 2022-04-20 09:15
bregman
阅读(106)
推荐(0)
摘要:
参考 tf.metrics.mean, 编写一个广告中常用的pcoc 度量,在tf.esitmator 模型中使用 ```python class Kmetrics(object): @staticmethod def pcoc(labels, predictions, weights=None,
阅读全文
posted @ 2022-04-19 15:56
bregman
阅读(79)
推荐(0)
摘要:
* https://mathworld.wolfram.com/IncompleteGammaFunction.html#:~:text=is%20the%20exponential%20sum%20function,z%5D%20in%20the%20Wolfram%20Language.&tex
阅读全文
posted @ 2022-03-21 14:18
bregman
阅读(100)
推荐(0)
摘要:
* CauseRec: Counterfactual User Sequence Synthesis for Sequential Recommendation, SIGIR 21 https://dl.acm.org/doi/pdf/10.1145/3404835.3462908 * CauseR
阅读全文
posted @ 2022-03-03 14:50
bregman
阅读(186)
推荐(0)
摘要:
安装 sbcl-2.2.1 有点问题,尝试安装老版本 https://trac.macports.org/wiki/howto/InstallingOlderPort
阅读全文
posted @ 2022-02-23 11:26
bregman
阅读(56)
推荐(0)
摘要:
《统计计算》书中, 包含 maxima 介绍, julia 语言介绍 https://www.math.pku.edu.cn/teachers/lidf/docs/statcomp/html/_statcompbook/maxima.html
阅读全文
posted @ 2022-02-22 10:52
bregman
阅读(130)
推荐(0)
摘要:
* 北大, 《最优化:建模、算法与理论》, 2020 , https://bicmr.pku.edu.cn/~wenzw/optbook/opt1.pdf * 问题: 有哪些经典的问题是非凸的, 但是有最优解算法? 特征值问题 虽然看上去是非凸的, 但可以转化为凸的, 见 https://www.c
阅读全文
posted @ 2022-02-22 10:27
bregman
阅读(1679)
推荐(0)
摘要:
* https://blog.csdn.net/weixin_39769187/article/details/111584719 * 图标 https://github.com/atella43/m3u 
推荐(0)
摘要:
稀疏的string tensor 转dense, 每行一个值 ```python tf.sparse.to_dense(sp_x) ``` 或者 ```python def to_dense_mx1(sp): sp_x = tf.SparseTensor(indices=tf.concat((sp.
阅读全文
posted @ 2022-01-21 17:51
bregman
阅读(79)
推荐(0)
摘要:
mac下继续使用typora,每天试用,避免过期。。。
阅读全文
posted @ 2022-01-07 13:37
bregman
阅读(81)
推荐(0)
摘要:
* 当前 mint linux 20.2,4K显示器, 2倍分辨率设置,鼠标大小无法调大。早一个版本也不行。 * 解决:系统设置 -> 主题 -> 鼠标指针, 换一个试试, 我选了Adwaita后, 终于解决。 
推荐(0)
摘要:
http://bolyai.cs.elte.hu/zsh-manual/zsh_14.html 在terminal 中输入 bindkey 查看一些快捷键, 比如: ESC + u : 单词大写 ESC + l : 单词小写 ESC + c : 首单词大写
阅读全文
posted @ 2021-12-28 17:06
bregman
阅读(591)
推荐(0)
摘要:
这个算法应用最多 Deep Deterministic Policy Gradient(DDPG), 收集资料学习一下。 * 例子代码 https://keras.io/examples/rl/ddpg_pendulum/ * 算法解读 http://www.cs.sjsu.edu/faculty/
阅读全文
posted @ 2021-12-28 14:33
bregman
阅读(163)
推荐(0)
摘要:
想通过透视表进行两列之间的运算, 比如算ctr ,需要用到 计算字段。
阅读全文
posted @ 2021-12-16 14:50
bregman
阅读(133)
推荐(0)
摘要:
论文: AutoDebias: Learning to Debias for Recommendation,2021 主要思想:加一个正则项, meta learning 方式学习超参数。 亮点,给出理论分析。 * https://github.com/DongHande/AutoDebias
阅读全文
posted @ 2021-12-09 10:55
bregman
阅读(61)
推荐(0)
摘要:
花了2天学习 meta learning代码,记录一下。 > MAML学习一个好的初始化权重,从而在新任务上实现fast adaptation,即在小规模的训练样本上迅速收敛并完成fine-tune。 因此基于MAML的模型首先基于多个任务样本学习好的初始化权重。 第二阶段, 针对特定场景做 fin
阅读全文
posted @ 2021-12-08 14:55
bregman
阅读(72)
推荐(0)
摘要:
跟我说mac上的微信登录不上去, 建议删除一些缓存目录。 ```bash find ~/Library/ -regex ".*WeChat[^/]*" -type d -maxdepth 3 | xargs -I{} rm -rf {} ```
阅读全文
posted @ 2021-12-02 22:25
bregman
阅读(32)
推荐(0)
摘要:
看TCA算法 https://www.cse.ust.hk/~qyang/Docs/2009/TCA.pdf 涉及的一些推导做一些整理。 背景介绍见 https://zhuanlan.zhihu.com/p/26764147 * 最大均值差异(MMD,maximum mean discrepancy
阅读全文
posted @ 2021-12-01 17:47
bregman
阅读(328)
推荐(0)
摘要:
碰到 warning,如下 /home/tops/lib/python3.7/site-packages/psycopg2/init.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; i
阅读全文
posted @ 2021-11-04 20:57
bregman
阅读(164)
推荐(0)
摘要:
需要安装插件 pip install --upgrade jupyter_http_over_ws && \ jupyter serverextension enable --py jupyter_http_over_ws 启动 jupyter notebook \ --NotebookApp.al
阅读全文
posted @ 2021-10-14 10:53
bregman
阅读(162)
推荐(0)
摘要:
opt_einsum, 爱因斯坦求和 jax, 算svd时比numpy 包快很多 flax 之前的一个问题, relu = max(x, 0) 在0点次梯度(不可导)的导数取了什么? 代码中是0。 import jax from jax.experimental import optimizers,
阅读全文
posted @ 2021-10-13 11:08
bregman
阅读(161)
推荐(0)
摘要:
## 对偶问题 * 原问题 $$ \begin{align} \min_{x \in \cal D} f(x) \end{align} $$ 其中 ${\cal D} = \{x \in X: g_i(x) \leq 0, \ \ i = 1,2,\cdots, m\}$. 一般的,这里$X =
阅读全文
posted @ 2021-08-30 14:10
bregman
阅读(444)
推荐(0)