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==0.1

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.0.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.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for Probability-Surrogate-Learning-1.0.tar.gz
Algorithm Hash digest
SHA256 37cd18a0cc5a7934ac93301e4c6381ee13f7b0d197cbdaf6e1fe8372555b6515
MD5 fcb137fdcc73a66132e1e636b3edf62d
BLAKE2b-256 d1dfc5f60b0e58c5022473784cec1c33e16faf19fbd8c41d354944d3319abf05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Probability_Surrogate_Learning-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b2553a3eca721f1c91ef063076caf3519921fb50ea445a048e1572db540b1b5
MD5 b0b1594f48ddc8183d14903afba8ab24
BLAKE2b-256 b686ab6cb889cd7a7a95b3f451a4c96d0965c64c173d910fa483cfaf26a11121

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