Skip to main content

This is a comprehensive machine learning library, specifically tailored for surrogate learning and active learning.

Project description

Probability-Surrogate-Learning

This is a comprehensive machine learning library, specifically tailored for surrogate learning and active learning. Our objective is to provide a robust platform that empowers researchers and developers to seamlessly implement and experiment with these advanced machine learning techniques.

You can directly install our library by running:

pip install Probability-Surrogate-Learning==1.0

Active Learning Techniques

Deep Multi-fidelity Active Learning (DMFAL)

To run the code:

cd Active-Learning/Deep-Multi-fidelity-Active-Learning
bash run-Poisson2-pdv.sh

Please cite our work if you would like to use the code

@misc{li2021deep,
      title={Deep Multi-Fidelity Active Learning of High-dimensional Outputs}, 
      author={Shibo Li and Zheng Wang and Robert M. Kirby and Shandian Zhe},
      year={2021},
      eprint={2012.00901},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}

Batch Multifidelity Active Learning with Budget Constraints (BMFAL-BC)

To run the code:

cd Active-Learning/Batch-Multifidelity-Active-Learning-with-Budget-Constraints
bash experiment.sh

Please cite our work if you would like to use the code

@article{li2021multi,
  title={Batch Multi-Fidelity Bayesian Optimization with Deep Auto-Regressive Networks},
  author={Li, Shibo and Kirby, Robert and Zhe, Shandian},
  journal={Advances in Neural Information Processing Systems},
  year={2021}
}

Single-Fidelity Techniques

Scalable GP Regression Network (SGPRN)

To run the code:

cd Single-Fidelity/Scalable-GP-Regression-Network
python sgprn.py

Please cite our work if you would like to use the code

@inproceedings{ijcai2020-340,
  title     = {Scalable Gaussian Process Regression Networks},
  author    = {Li, Shibo and Xing, Wei and Kirby, Robert M. and Zhe, Shandian},
  booktitle = {Proceedings of the Twenty-Ninth International Joint Conference on
               Artificial Intelligence, {IJCAI-20}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},             
  editor    = {Christian Bessiere},	
  pages     = {2456--2462},
  year      = {2020},
  month     = {7},
  note      = {Main track}
  doi       = {10.24963/ijcai.2020/340},
  url       = {https://doi.org/10.24963/ijcai.2020/340},
}

High-Order Gaussian Process (HOGP)

This project represents one of the high-order version of Scalable-GPRN, exhibiting certain dependencies within the Scalable-GPRN framework. We provide a visualization notebook as a reference for users:

cd Single-Fidelity/High-Order-Gaussian-Process
jupyter notebook Dev-HoGP-v1.ipynb

Please cite the paper if you find this code useful.

@inproceedings{ijcai2020-340,
  title     = {Scalable Gaussian Process Regression Networks},
  author    = {Li, Shibo and Xing, Wei and Kirby, Robert M. and Zhe, Shandian},
  booktitle = {Proceedings of the Twenty-Ninth International Joint Conference on
               Artificial Intelligence, {IJCAI-20}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},             
  editor    = {Christian Bessiere},	
  pages     = {2456--2462},
  year      = {2020},
  month     = {7},
  note      = {Main track}
  doi       = {10.24963/ijcai.2020/340},
  url       = {https://doi.org/10.24963/ijcai.2020/340},
}

Multi-Fidelity

Deep Residual Coregionalization (DRC)

To run the code:

cd Multi-Fidelity/Deep-Residual-Coregionalization
python run-baselines.py -domain=Heat -method=dc -rank=5 -fold=1

If you need more data(e.g. different domain(Burgers, Poisson, NS), different method, different fold), you can get from IFC(Infinite-Fidelity-Coregionalization) project by running

cd Infinite-or-Continuous-Fidelity/Infinite-Fidelity-Coregionalization
python process-data-drc.py

Therefore, you can copy the data from DRC-pde-data folder to exp_data_dc in Deep-Coregionalization.

Please cite the paper if you find this code useful.

@article{
XING2021109984, 
title = {Deep coregionalization for the emulation of simulation-based spatial-temporal fields}, 
journal = {Journal of Computational Physics}, 
volume = {428}, 
pages = {109984}, 
year = {2021}, 
issn = {0021-9991}, 
doi = {https://doi.org/10.1016/j.jcp.2020.109984}, 
url = {https://www.sciencedirect.com/science/article/pii/S0021999120307580}, 
author = {Wei W. Xing and Robert M. Kirby and Shandian Zhe}, 
keywords = {Surrogate model, Gaussian process, Emulation, Spatial-temporal field, Multifidelity model}}

Multi-Fidelity HOGP (MF-HOGP)

To run the code:

cd Multi-Fidelity/Multi-Fidelity-HOGP/DGP_hd
python test.py

If you find this useful, or if you use it in your work, please cite:

  @article{wang2020multi,
    title={Multi-Fidelity High-Order Gaussian Processes for Physical Simulation},
    author={Wang, Zheng and Xing, Wei and Kirby, Robert and Zhe, Shandian},
    journal={arXiv preprint arXiv:2006.04972}, 
    year={2020}
  }

Deep Multi-Fidelity (DMF)

To run the code:

cd Multi-Fidelity/Deep-Multi-Fidelity
python test_script.py

Please cite the paper if you find this code useful.

TBD

Infinite/Continuous-Fidelity

Infinite-Fidelity-Coregionalization(IFC)

To run the code:

cd Infinite-Or-Continuous-Fidelity/Infinite-Fidelity-Coregionalization
bash test-ODE.sh/test-GPT.sh Heat 5 500 cuda:0 0 10

Please cite our paper if you find it helpful :)

@inproceedings{
li2022infinitefidelity,
title={Infinite-Fidelity Coregionalization  for Physical Simulation},
author={Shibo Li and Zheng Wang and Robert Kirby and Shandian Zhe},
booktitle={Advances in Neural Information Processing Systems},
editor={Alice H. Oh and Alekh Agarwal and Danielle Belgrave and Kyunghyun Cho},
year={2022},
url={https://openreview.net/forum?id=dUYLikScE-}
}

Infinite-Fidelity HOGP (IFHOGP)

First of all, you need to download our data for testing and copy them into a folder named pde_data.

To run the code:

cd Infinite-Or-Continuous-Fidelity/Infinite-fidelity-HOGP
python test_script.py

Please cite our paper if you find it helpful :)

TBD

Data-Generator

You can generate the solutions of the Heat, Poisson, Burgers, NavierStockURec by running the following command:

cd Data-Generator
python generate.py -domain=(Heat, Poisson, Burgers, TopOpt, NavierStockPRec/URec/VRec)

More information and instructions are in Data-Generator README.md.


Projects visualization

We have also made the result or loss visualization in all the projects. You are welcome to play with them by running jupyter notebook.


License

IFC is released under the MIT License, please refer the LICENSE for details.


Getting Involved

Feel free to submit Github issues or pull requests. Welcome to contribute to our library!

To contact us, never hestitate to send an email to u1327012@umail.utah.edu or liwen0160@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Probability-Surrogate-Learning-1.1.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Probability_Surrogate_Learning-1.1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file Probability-Surrogate-Learning-1.1.tar.gz.

File metadata

File hashes

Hashes for Probability-Surrogate-Learning-1.1.tar.gz
Algorithm Hash digest
SHA256 e1b32cfb7892cd7f4663088ed58c61da7649560c4b25eee7ef5a1063c2e79514
MD5 955ea663f52d2dccf182184982f3f81c
BLAKE2b-256 5314265f178a18bcf63c8fe3b488f7cbc33b4db8a883a2d113b41fe4c3ba4106

See more details on using hashes here.

File details

Details for the file Probability_Surrogate_Learning-1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for Probability_Surrogate_Learning-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 68d111f61fd716618b8a39d4fa1f15e81777dc9c82ff6dc1cc4030c4cd6ca067
MD5 351bff7ef80042391236d1a9f8557aa0
BLAKE2b-256 4fd1a1c50fc504d7f19a4becb495250bbd0ea99cc77ef9f0abd9a788f59ae524

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page