Skip to main content

A Data Envelopment Analysis Package

Project description

DEAPack: A Data Envelopment Analysis Package

DEAPack is a Python package designed for Data Envelopment Analysis (DEA). Its comprehensive toolset allows for efficient handling of various DEA models, including those that account for undesirable outputs.

Installation

Install the package by pip,

pip install DEAPack

Or install the package by conda,

conda install DEAPack

Usage

A brief example is provided below. For more information, please refer to the documentation and example notebooks.

# import the module
from DEAPack.model import DEA
from DEAPack.utilities import load_example_data

# load the example dataset
data = load_example_data()

# initilise a DEA model
model = DEA()

# specify the DEA model
model.DMUs = data['region']
model.time = data['year']
model.x_vars = data[['K', 'L', 'E']]
model.y_vars = data[['Y']]
model.b_vars = data[['CO2']]

# solve the DEA model
model.solve()

# get estimated efficiencies
results = model.get_efficiency()

Communication

You're very welcome to contribute to this package. We appreciate any efforts to improve this package. You can help by adding new features, reporting bugs, or extending the documentation and usage examples. Please contact us if you have any ideas.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deapack-0.1.0.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

deapack-0.1.0-py3-none-any.whl (12.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page