Skip to content

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.

License

Notifications You must be signed in to change notification settings

daopingw/DEAPack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages