Giter Site home page Giter Site logo

marcogorelli / iminuit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scikit-hep/iminuit

0.0 2.0 0.0 6.58 MB

Jupyter-friendly Python interface for C++ MINUIT2

Home Page: https://iminuit.readthedocs.io

License: Other

C++ 1.64% Python 21.09% Jupyter Notebook 76.73% Makefile 0.14% CMake 0.39%

iminuit's Introduction

Scikit-HEP project package https://coveralls.io/repos/github/scikit-hep/iminuit/badge.svg?branch=develop Documentation Status

iminuit is a Jupyter-friendly Python frontend to the MINUIT2 C++ library.

It can be used as a general robust function minimisation method, but is most commonly used for likelihood fits of models to data, and to get model parameter error estimates from likelihood profile analysis.

  • Supported CPython versions: 3.6+
  • Supported PyPy versions: 3.6
  • Supported platforms: Linux, OSX and Windows.

In a nutshell

from iminuit import Minuit

def f(x, y, z):
    return (x - 2) ** 2 + (y - 3) ** 2 + (z - 4) ** 2

m = Minuit(f)

m.migrad()  # run optimiser
print(m.values)  # {'x': 2,'y': 3,'z': 4}

m.hesse()   # run covariance estimator
print(m.errors)  # {'x': 1,'y': 1,'z': 1}

iminuit's People

Contributors

alexpearce avatar bmwiedemann avatar cdeil avatar chrisburr avatar energynumbers avatar fbnrst avatar gonzaponte avatar hdembinski avatar henryiii avatar lgeiger avatar marcogorelli avatar matthewfeickert avatar omazapa avatar piti118 avatar

Watchers

 avatar  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.