...
首页> 外文期刊>Concurrency and computation: practice and experience >Improving financial computation speed with full and subproblem memoization
【24h】

Improving financial computation speed with full and subproblem memoization

机译:通过完整和子问题记录来提高财务计算速度

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Analysts prototyping trading strategies often reuse previously computed values: both full problems and subproblems. Avoiding recomputing these would increase productivity. We built a memoization library that caches function computations to files to avoid recomputation. This should minimize the need for users to think about whether caching is appropriate while giving them control over speed, accuracy, and space usage. Guo and Engler built an automatic memoization library by modifying the Python interpreter, while jug and joblib are distributed computing libraries that do memoization. Our library attempts to maintain the ease of use of these libraries while offering a higher degree of control of how caching is carried out. It allows control of space usage for individual functions and all memoization, refreshing memoization for a specific function, and accuracy checking, and uses faster hashing and provides a divide and conquer approach to reuse previously computed subproblems. We show that for Markowitz optimization, Fama–French, and the singular value decomposition, memoization using our library greatly speeds up recomputation, often by over 99% versus no memoization and over 80% versus joblib. We also show how a divide-and-conquer memoization approach can give large speedups for sorting. Published 2015. This article is a U.S. Government work and is in the public domain in the USA.
机译:制定交易策略原型的分析师通常会重用先前计算的值:完整问题和子问题。避免重新计算这些将提高生产率。我们构建了一个记忆库,该记忆库将函数计算缓存到文件中,以避免重新计算。这应该使用户在考虑对速度,准确性和空间使用的控制时,考虑是否适合缓存的需求降到最低。 Guo和Engler通过修改Python解释器构建了一个自动备忘库,而jug和joblib是进行备忘的分布式计算库。我们的库尝试保持这些库的易用性,同时提供对缓存执行方式的更高程度的控制。它允许控制单个功能和所有备忘录的空间使用情况,刷新特定功能的备忘录以及准确性检查,并使用更快的哈希,并提供分而治之的方法来重用先前计算的子问题。我们显示出,对于Markowitz优化,Fama-French和奇异值分解,使用我们的库进行备忘可以大大加快重新计算的速度,与没有备忘相比,通常可以提高99%以上,而与Joblib相比,可以超过80%。我们还展示了分而治之的记忆方法如何能够大大加快分类速度。 2015年发布。本文是美国政府的工作,在美国属于公共领域。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号