【阅】本周阅读摘选2024-01-15 → 2024-01-21

Posted by Cao Zihang on January 22, 2024 Word Count:
本周阅读摘选
2024-01-15 → 2024-01-21
目录

学术相关

The Role of Messenger in Advertising Content: Bayesian Persuasion Perspective1

Editorial Statement—Stochastic Models and Simulation2

Sequential Search with Acquisition Uncertainty3

Modelling dataset bias in machine-learned theories of economic decision-making4

Optimal Discoverability on Platforms5

UFIN: Universal Feature Interaction Network for Multi-Domain Click-Through Rate Prediction6

技术技巧

AI工具导航网站

Python丨代码保护

pyc文件

pyc是原生Python文件编译后生成的二进制文件

通常运行py脚本后,所在目录会自动编译生成.pyc文件

主动编译:

python -m py_compile [/path/to/example.py] # 需要py文件绝对路径

pyc会生成在目录下的__pycache__中,命名格式:源文件名.cpython-python版本.pyc

  • 批量编译
compile_dir(dir[, maxlevels[, ddir[, force[, rx[, quiet]]]]])
python -m compileall <dir>

参数含义:

  • maxlevels:递归编译的层数
  • ddir:路径前缀
  • force:如果True,不论是是否有pyc,都重新编译
  • rx:正则
  • quiet:如果为True,则编译不会在标准输出中打印信息

打包exe

  • PyInstaller
  • Nuitka

代码混淆

Cython

Vue3丨Input幽灵建议

通过手动设置字典,对固定命令、关键词进行建议提示

教程一如既往的全是坑,花时间做了一些修改,应该基本符合使用逻辑了

Input文字与提示文字的对齐没有仔细弄,用时再解决,问题不大

2024-01-23_23-45-55

1

2

3

  1. Shin, J., & Wang, C.-Y. (2024). The Role of Messenger in Advertising Content: Bayesian Persuasion Perspective. Marketing Science. https://doi.org/10.1287/mksc.2022.0405 

  2. Ata, B. (2024). Editorial Statement—Stochastic Models and Simulation. Management Science. https://doi.org/10.1287/mnsc.2024.smsstmt.v70.n2 

  3. Brown, D. B., & Uru, C. (2024). Sequential Search with Acquisition Uncertainty. Management Science. https://doi.org/10.1287/mnsc.2022.00203 

  4. Thomas, T., Straub, D., Tatai, F., Shene, M., Tosik, T., Kersting, K., & Rothkopf, C. A. (2024). Modelling dataset bias in machine-learned theories of economic decision-making. Nature Human Behaviour, 1–13. https://doi.org/10.1038/s41562-023-01784-6 

  5. Hagiu, A., & Wright, J. (2024). Optimal Discoverability on Platforms. Management Science. https://doi.org/10.1287/mnsc.2023.02362 

  6. Tian, Z., Zhang, C., Zhao, W. X., Zhao, X., Wen, J.-R., & Cao, Z. (2023). UFIN: Universal Feature Interaction Network for Multi-Domain Click-Through Rate Prediction (arXiv:2311.15493). arXiv. http://arxiv.org/abs/2311.15493