Skip to main content

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

The new widget appears in the toolbox bar under the section Scoring.

01_intro

Drag and drop the Load PMML/PFA Model widget.

02_loadmodel

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

03_loadmodel_pmml

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

Now hit Score button to score.

05_evaluate_score

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 present in the data is also converted to metadata of the result table.

06_view_result

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

07_loadmodel_pfa

Score the data using new PFA Model.

08_evaluate_load

Now hit Score button to score.

09_evaluate_score

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

10_view_result

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

Metadata

Release files for orange3-scoring 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orange3-scoring 0.0.1
File Size Uploaded
orange3-scoring-0.0.1.tar.gz 21.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for orange3-scoring 0.0.1
File Interpreter ABI Platform
orange3_scoring-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 49.5 kB

Release files / orange3-scoring-0.0.1.tar.gz

Download URL orange3-scoring-0.0.1.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7d57a6d2b748bcec8e7a0916b6ad06d6917896cb919457af12a20a14b93f8cdb
BLAKE2b-256 checksum
How to use checksums
50a95f9d48954fbc816c1eeb8ee3ba2742dd7a0cf0d4c20fb38dc8420589006c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.3

Release files / orange3_scoring-0.0.1-py3-none-any.whl

Download URL orange3_scoring-0.0.1-py3-none-any.whl
Size 28.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5296317d92397dd9bc468754418a7a69874a1ae71f11cd7f9fe7f1438482e4d3
BLAKE2b-256 checksum
How to use checksums
1f016c24c0bffe4acdbc66f71b844c0d8f30f40a3cdf03bffdde4396aa74068f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page