All Projects → scikit-hep → Probfit

scikit-hep / Probfit

Licence: mit
Cost function builder. For fitting distributions.

Projects that are alternatives of or similar to Probfit

Pyvhr
Python framework for Virtual Heart Rate
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Dartbrains
This repository is a Python package with all of the functions and python libraries required for the Dartmouth fMRI Analysis Course taught by Prof Luke Chang, PhD.
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Microsoft Dsvm
This repo contains deep learning + computer vision code I have ran on the Microsoft Data Science Virtual Machine
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Tensorflow Lite Rest Server
Expose tensorflow-lite models via a rest API
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Intro Python Bim
Basic Course in Python for use with BIM
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Hands ai
Recognizing hands and point direction in images
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Python101
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Repsychling
Data sets from subject/item type studies in Psychology and Linguistics
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Employee Churn Predictive Model
Predicting Employee Churn with Supervised Machine Learning
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Coursera Deeplearning.ai Cnn Course 4
Coursera Deep Learning Course 4
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Computervision tutorials
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Da Tutorials
Course on data assimilation (DA)
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Ai Math Book
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Dl4sci Pytorch Webinar
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Cnn Encoder Nmt
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Rl mlss 2020
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Labelmytextwidget
Jupyter notebook widget to quickly label text data
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Topographica
A general-purpose neural simulator focusing on topographic maps.
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Carnd Vehicle Detection
A vehicle tracker based on sliding windows, HOG and an SVM
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook
Big Data Resources
Stars: ✭ 43 (+0%)
Mutual labels:  jupyter-notebook

.. -- mode: rst --

probfit

.. image:: https://img.shields.io/pypi/v/probfit.svg :target: https://pypi.python.org/pypi/probfit

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1477852.svg :target: https://doi.org/10.5281/zenodo.1477852

.. image:: https://github.com/scikit-hep/probfit/actions/workflows/main.yml/badge.svg :target: https://github.com/scikit-hep/probfit/actions/workflows/main.yml

probfit is a set of functions that helps you construct a complex fit. It's intended to be used with iminuit <http://iminuit.readthedocs.org/>_. The tool includes Binned/Unbinned Likelihood estimators, 𝝌² regression, Binned 𝝌² estimator and Simultaneous fit estimator. Various functors for manipulating PDFs such as Normalization and Convolution (with caching) and various built-in functions normally used in B physics are also provided.

Strict dependencies

  • Python <http://docs.python-guide.org/en/latest/starting/installation/>__ (2.7+, 3.5+)
  • NumPy <https://scipy.org/install.html>__
  • iminuit <http://iminuit.readthedocs.org/>_ (<2)

Optional dependencies

  • matplotlib <http://matplotlib.org/>_ for the plotting functions

Getting started

.. code-block:: python

import numpy as np
from iminuit import Minuit
from probfit import UnbinnedLH, gaussian
data = np.random.randn(10000)
unbinned_likelihood = UnbinnedLH(gaussian, data)
minuit = Minuit(unbinned_likelihood, mean=0.1, sigma=1.1)
minuit.migrad()
unbinned_likelihood.draw(minuit)

Documentation and Tutorial

  • Documentation <http://probfit.readthedocs.org/>_
  • The tutorial is an IPython notebook that you can view online here <http://nbviewer.ipython.org/urls/raw.github.com/scikit-hep/probfit/master/tutorial/tutorial.ipynb>_. To run it locally: cd tutorial; ipython notebook --pylab=inline tutorial.ipynb.
  • Developing probfit: see the development page <http://probfit.readthedocs.io/en/latest/development.html>_

License

The package is licensed under the MIT <http://opensource.org/licenses/MIT>_ license (open source).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].