Giter Site home page Giter Site logo

trellixvulnteam / bayesoptimization_vm29 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhangkunliang/bayesoptimization

0.0 0.0 0.0 80.16 MB

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

Shell 0.01% JavaScript 4.44% C++ 0.11% Python 89.46% C 1.64% Fortran 0.02% Tcl 0.04% MATLAB 0.01% PowerShell 0.01% XSLT 0.01% CSS 1.33% TeX 0.06% Makefile 0.01% HTML 0.64% Smarty 0.01% Batchfile 0.01% Jupyter Notebook 0.99% Cython 1.25% Less 0.01% VBScript 0.01%

bayesoptimization_vm29's Introduction

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中

bayesoptimization_vm29's People

Contributors

tsuyos-u avatar zhangkunliang avatar kojitsuda avatar rtmr avatar trellixvulnteam avatar yomichi avatar k-yoshimi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.