Skip to content

gabriel-fallen/orange-statmodels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orange3 Statsmodels Add-on

This is a Statsmodels add-on for Orange3. It provides several widgets wrapping the Statsmodels functions and making it possible to specify models using R-like formulae.

Installation

To install the add-on from source run

pip install .

Usage

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

orange-canvas

or

python -m Orange.canvas

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

screenshot

Development

I develop on Windows and use the uv package manager. My workflow is as follows.

First I create an isolated virtual env in the project directory:

uv venv
.\.venv\Scripts\activate

Then I install Orange into this environment following instructions from the site:

uv pip install PyQt5 PyQtWebEngine
uv pip install orange3

At this point I can run Orange for testing purposes with

python -m Orange.canvas

provided the dev environment is active.

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), I run

uv pip install -e .

In this way I can edit the source code, and after restarting Orange test my changes.

Documentation / widget help can be built by running

make html htmlhelp

from the doc directory.

About

Orange3 widgets wrapping Statmodels library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published