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.
- Pull requests for pull requests.
- Issues for bug reports.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deapack-0.1.3.tar.gz.
File metadata
- Download URL: deapack-0.1.3.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35f004005c8820d8eecaded3a8776bb5527ac939b1e9f18b4001045e6106ee50
|
|
| MD5 |
9440509d93f02195f1b7e4f62c4e3be6
|
|
| BLAKE2b-256 |
f0b132343d65e7380a397e9071803def7f9708faf21ac54c05ed541042ee4b4e
|
File details
Details for the file deapack-0.1.3-py3-none-any.whl.
File metadata
- Download URL: deapack-0.1.3-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efc4bcd0828700fe045b708fa8513a7ef066a138edcd1f31ae185e62a6154ac8
|
|
| MD5 |
8aba837e14656351a82becf18a115848
|
|
| BLAKE2b-256 |
474e1c272314f5294e1b89be476e8ca5e5ee4d1b4b81f21293b4dd3e4bf3bc9b
|