Giter VIP home page Giter VIP logo

orange3-scoring's Introduction

Orange3 Scoring

This is an scoring/inference add-on for Orange3. This add-on adds widgets to load PMML and PFA models and score data.

Dependencies

To use PMML models make sure you have Java installed:

  • Java >= 1.8
  • pypmml (downloaded during installation)

To use PFA models:

  • titus2 (downloaded during installation)

Installation

To install the add-on using pip, run

pip install orange3-scoring

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

pip install -e .

Issues, Questions and Feature Requests

Please raise an issue/question/request here.

Development

Want to contribute? Great!

Please raise an issue to discuss your ideas and send a pull request.

Usage

After the installation, the widget from this add-on is registered with Orange. To run Orange from the terminal, use

python -m Orange.canvas

Step 1

The new set of widgets appear in the toolbox bar under the section Scoring.

01_intro

Step 2

Drag and drop the Load PMML/PFA Model widget.

02_loadmodel

Step 3

Load your PMML model and inspect Input and Output field(s). Sample PMML File here.

03_loadmodel_pmml

Step 4

Add input dataset using File widget (iris) and connect the two widgets to Evaluate PMML/PFA Model widget. You can inspect the fields in data and the model and view Processing INFO or Errors.

04_evaluate_load

Step 5

Now hit Score button to score.

05_evaluate_score

Step 6

Connect the output to Data Table widget to view the results. 3 new columns (cluster, cluster_name & distance) are added after scoring the data obtained for each input record. The actual class value (Y), if present in the data, is also converted to metadata of the result table.

06_view_result

Step 7

Now lets load a PFA Model. Sample PFA File here.

07_loadmodel_pfa

Step 8

Score the data using new PFA Model.

08_evaluate_load

Step 9

Now hit Score button to score.

09_evaluate_score

Step 10

View the results. You can see the predicted class for iris as provided by the PFA Model.

10_view_result

Step 11

Another output signal is produced which contains the Evaluation Results which can be connected to Confusion Matrix, ROC Analysis and Lift Curve widgets. We can connect it to the Confusion Matrix widget to view the difference in predicted and actual results.

11_view_confusion

orange3-scoring's People

Contributors

animator avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

alexpuchoa

orange3-scoring's Issues

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.