Skip to content

zhangkunliang/BayesOptimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COMmon Bayesian Optimization Library ( COMBO )

Usage

After installation, you can launch the test suite from 'examples/grain_bound/tutorial.ipynb'.

License

This package is distributed under the MIT License.

一、随机搜索序列

1.全局序列号描述符文件生成(遍历目录文件名生成)

2.前两次搜索采用随机的方式,每次搜索20个结构

3.将搜索结果传入模拟函数中,再将模拟器返回的热导率值一并传入贝叶斯模型中

二、批量提交任务

1.根据搜索结果,调用另外一个批量提交任务的接口,实现过程如下:

三、计算热导率

1.修改Main_thermal_conductivity3.0.py,计算两个case,最后求平均

  • 增加如下代码

2.批量运行Main_thermal_conductivity3.0.py,返回每个结构的平均热导率

四、贝叶斯第一次训练

  • 每次优化过程记录优化时间
  • 第一次训练耗时:114s

五、程序整体思路

1.加载描述符文件

2.新建结构文件及时间日志文件

3.将模拟器类属性值初始化为out文件中的格式,仅存入第一列,并全部置为0,后续位置上有值再进行原地修改

4.贝叶斯搜索结构序列号索引值

5.将搜索值存入input_Descriptor中

6.将热导率序列按序保存到self.t矩阵中

7.保存更新后的输出矩阵,并返回更改位置的热导率值,并传入policy中

About

贝叶斯优化搜索聚合物链结构极值热导率

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6