首页> 外国专利> Allocation of Shared Computing Resources Using Source Code Feature Extraction and Clustering-Based Training of Machine Learning Models

Allocation of Shared Computing Resources Using Source Code Feature Extraction and Clustering-Based Training of Machine Learning Models

机译:使用源代码特征提取和基于聚类的机器学习模型训练来分配共享计算资源

摘要

Techniques are provided for allocation of shared computing resources using source code feature extraction and cluster-based training of machine learning models. An exemplary method comprises: obtaining a source code corpus with source code segments for execution in a shared computing environment; extracting discriminative features from the source code segments in the source code corpus; obtaining a trained machine learning model, wherein the trained machine learning model is trained using samples of source code segments from clusters derived from clustering the source code corpus based on (i) a term frequency metric, and/or (ii) observed values of execution metrics; and generating, using the trained model, a prediction of an allocation of one or more resources of the shared computing environment needed to satisfy service level agreement requirements for source code to be executed in the shared computing environment. The plurality of discriminative features are extracted from the source code corpus, for example, by natural language processing techniques and/or pattern-based techniques.
机译:提供了使用源代码特征提取和基于集群的机器学习模型训练来分配共享计算资源的技术。一种示例性方法包括:获得具有源代码段的源代码语料库以在共享计算环境中执行;以及从源代码语料库中的源代码段中提取歧视性特征;获得训练有素的机器学习模型,其中使用训练有素的机器学习模型,基于(i)术语频率度量,和/或(ii)观察到的执行值,使用来自源代码语料的聚类得到的簇中的源代码段样本来训练指标;使用训练后的模型,生成对共享计算环境的一个或多个资源的分配的预测,以满足对在共享计算环境中执行的源代码的服务级别协议要求。例如通过自然语言处理技术和/或基于模式的技术从源代码语料库提取多个判别特征。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号