Coder Social home page Coder Social logo

orange3-conformal's Introduction

Orange3 Conformal Prediction

Conformal Prediction is an add-on for Orange3 data mining software package. It provides an extensive toolset for conformal prediction.

Installation

To install the add-on, run

python setup.py install

To register this add-on with Orange, but keep the code in the development directory (do not copy it to Python's site-packages directory), run

python setup.py develop

Usage

The library in the add-on can be used in Python scripts. The add-on does not provide any GUI widgets.

The example below evaluates an inductive conformal predictor at 0.1 significance level on the Iris dataset (spliting it into a training and testing set in ratio 2:1). The nonconformity scores used by the conformal predictor are based on the probabilities returned by a Naive Bayes classifier.

import Orange
import orangecontrib.conformal as cp

tab = Orange.data.Table('iris')
nc = cp.nonconformity.InverseProbability(Orange.classification.NaiveBayesLearner())
ic = cp.classification.InductiveClassifier(nc)
r = cp.evaluation.run(ic, 0.1, cp.evaluation.RandomSampler(tab, 2, 1))
print(r.accuracy())

Documentation

Please see doc/Orange-ConformalPrediction.pdf. Documentation in other formats can also be built using Sphinx from the doc directory.

Online documentation is available at https://orange3-conformal.readthedocs.io.

orange3-conformal's People

Contributors

thocevar avatar

Stargazers

Roi Mallo avatar Julia A. Meister avatar Aaron Tang avatar sjzhai avatar  avatar Maciej Falkiewicz avatar Vladimir Chupakhin avatar Andrew Nicolalde avatar Vishal Belsare avatar Qilian Yu avatar

Watchers

Tomaž Curk avatar Blaž avatar James Cloos avatar Janez Demšar avatar Lan Zagar avatar Aleš Erjavec avatar  avatar Jernej Urankar avatar sjzhai 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.