{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# ezmodel - A common interface for models and model selection" ] }, { "cell_type": "raw", "metadata": { "raw_mimetype": "text/restructuredtext" }, "source": [ "\n", "\n", "|python| |license|\n", "\n", "\n", ".. |python| image:: https://img.shields.io/badge/python-3.6-blue.svg\n", " :alt: python 3.6\n", "\n", ".. |license| image:: https://img.shields.io/badge/license-apache-orange.svg\n", " :alt: license apache\n", " :target: https://www.apache.org/licenses/LICENSE-2.0\n", "\n", "\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Installation" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "The framework is available at the PyPi Repository:" ] }, { "cell_type": "raw", "metadata": { "raw_mimetype": "text/restructuredtext" }, "source": [ "\n", ".. code:: bash\n", "\n", " pip install -U ezmodel\n", "\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Surrogate Models" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Benchmark" ] }, { "cell_type": "raw", "metadata": { "raw_mimetype": "text/restructuredtext" }, "source": [ "\n", ".. include:: ../../ezmodel/usage/usage_benchmark.py\n", " :literal:\n" ] }, { "cell_type": "raw", "metadata": { "raw_mimetype": "text/restructuredtext" }, "source": [ "\n", "::\n", "\n", " mean std min max median\n", " label\n", " Kriging[regr=constant,corr=gauss,thetaU=100,ARD=False] 0.017159 0.007472 0.009658 0.025359 0.014855\n", " Kriging[regr=constant,corr=gauss,thetaU=20,ARD=False] 0.017159 0.007472 0.009658 0.025359 0.014855\n", " Kriging[regr=linear,corr=gauss,thetaU=100,ARD=False] 0.018064 0.008069 0.010350 0.027456 0.014246\n", " Kriging[regr=linear,corr=gauss,thetaU=20,ARD=False] 0.018064 0.008069 0.010350 0.027456 0.014246\n", " Kriging[regr=constant,corr=gauss,thetaU=100,ARD=True] 0.021755 0.007409 0.011955 0.028896 0.025163\n", " Kriging[regr=constant,corr=gauss,thetaU=20,ARD=True] 0.021755 0.007409 0.011955 0.028896 0.025163\n", " Kriging[regr=linear,corr=gauss,thetaU=20,ARD=True] 0.025018 0.011348 0.011576 0.040585 0.022124\n", " Kriging[regr=linear,corr=gauss,thetaU=100,ARD=True] 0.025018 0.011348 0.011576 0.040585 0.022124\n", " Kriging[regr=constant,corr=exp,thetaU=100,ARD=False] 0.034493 0.009328 0.025092 0.045610 0.030661\n", " Kriging[regr=constant,corr=exp,thetaU=20,ARD=False] 0.034493 0.009328 0.025092 0.045610 0.030661\n", " Kriging[regr=linear,corr=exp,thetaU=100,ARD=False] 0.035734 0.009922 0.025611 0.047926 0.031473\n", " Kriging[regr=linear,corr=exp,thetaU=20,ARD=False] 0.035734 0.009922 0.025611 0.047926 0.031473\n", " Kriging[regr=constant,corr=exp,thetaU=100,ARD=True] 0.051527 0.010941 0.037944 0.065866 0.047440\n", " Kriging[regr=constant,corr=exp,thetaU=20,ARD=True] 0.051527 0.010941 0.037944 0.065866 0.047440\n", " Kriging[regr=linear,corr=exp,thetaU=100,ARD=True] 0.065867 0.025312 0.039058 0.104449 0.059957\n", " Kriging[regr=linear,corr=exp,thetaU=20,ARD=True] 0.065867 0.025312 0.039058 0.104449 0.059957\n", " RBF[kernel=cubic,tail=quadratic,normalized=True] 0.121947 0.033552 0.077895 0.167120 0.127345\n", " RBF[kernel=cubic,tail=constant,normalized=True] 0.125348 0.037982 0.072579 0.169413 0.140753\n", " RBF[kernel=cubic,tail=linear,normalized=True] 0.125474 0.038609 0.071268 0.169843 0.137987\n", " RBF[kernel=cubic,tail=linear+quadratic,normalized=True] 0.126070 0.039773 0.071279 0.171862 0.135489\n", "\n", "\n", " " ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Kriging" ] }, { "cell_type": "raw", "metadata": { "raw_mimetype": "text/restructuredtext" }, "source": [ "\n", ".. include:: ../../ezmodel/usage/models/usage_kriging.py\n", " :literal:\n", "\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## RBF" ] }, { "cell_type": "raw", "metadata": { "raw_mimetype": "text/restructuredtext" }, "source": [ "\n", ".. include:: ../../ezmodel/usage/models/usage_rbf.py\n", " :literal:\n", "\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Contact" ] }, { "cell_type": "raw", "metadata": { "raw_mimetype": "text/restructuredtext" }, "source": [ "\n", "Feel free to contact us if you have any question:\n", "\n", "::\n", "\n", " Julian Blank (blankjul [at] msu.edu)\n", " Michigan State University\n", " Computational Optimization and Innovation Laboratory (COIN)\n", " East Lansing, MI 48824, USA\n", "\n" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.8" }, "pycharm": { "stem_cell": { "cell_type": "raw", "metadata": { "collapsed": false }, "source": [] } } }, "nbformat": 4, "nbformat_minor": 4 }