Pyfrontier.domain package
Submodules
Pyfrontier.domain.assurance_region module
Pyfrontier.domain.dmu module
Pyfrontier.domain.metrics module
Pyfrontier.domain.parallel module
- class Pyfrontier.domain.parallel.MultiProcessor(_solver_function, _n_dmus)[source]
Bases:
object
- solve(n_jobs)[source]
- Return type:
List
[BaseResult
]
Pyfrontier.domain.result module
- class Pyfrontier.domain.result.AdditiveResult(score, id, dmu, x_slack, y_slack, weights)[source]
Bases:
BaseResult
score: efficiency
id:
dmu:
x_slack:
y_slack:
weights: lambda
-
id:
int
- property is_efficient: bool
-
score:
float
-
weights:
List
[float
]
-
x_slack:
List
[float
]
-
y_slack:
List
[float
]
- class Pyfrontier.domain.result.BaseResult(score, id, dmu)[source]
Bases:
ABC
-
id:
int
-
score:
float
-
id:
- class Pyfrontier.domain.result.EnvelopResult(score, id, dmu, weights, x_slack, y_slack)[source]
Bases:
BaseResult
score: efficiency
id:
dmu:
weight:
x_slack:
y_slack:
- property has_slack: bool
-
id:
int
- property is_efficient: bool
-
score:
float
-
weights:
List
[float
]
-
x_slack:
List
[float
]
-
y_slack:
List
[float
]
Pyfrontier.domain.slack_weight module
Module contents
- class Pyfrontier.domain.AdditiveResult(score, id, dmu, x_slack, y_slack, weights)[source]
Bases:
BaseResult
score: efficiency
id:
dmu:
x_slack:
y_slack:
weights: lambda
-
id:
int
- property is_efficient: bool
-
score:
float
-
weights:
List
[float
]
-
x_slack:
List
[float
]
-
y_slack:
List
[float
]
- class Pyfrontier.domain.AssuranceRegion(type, index_a, index_b, coefficient, operator)[source]
Bases:
object
x_a/x_b =< coefficient
coefficient <= x_a/x_b
-
coefficient:
float
-
index_a:
int
-
index_b:
int
-
operator:
Literal
['=<'
,'>='
]
-
type:
Literal
['input'
,'output'
]
- class Pyfrontier.domain.DMU(input, output, id)[source]
Bases:
object
-
id:
int
-
input:
ndarray
-
output:
ndarray
-
id:
- class Pyfrontier.domain.DMUSet(inputs, outputs, index=nan)[source]
Bases:
object
Dataset for DEA
- property N
-
index:
ndarray
= nan
-
inputs:
ndarray
- property m
-
outputs:
ndarray
- property s
- class Pyfrontier.domain.EnvelopResult(score, id, dmu, weights, x_slack, y_slack)[source]
Bases:
BaseResult
score: efficiency
id:
dmu:
weight:
x_slack:
y_slack:
- property has_slack: bool
-
id:
int
- property is_efficient: bool
-
score:
float
-
weights:
List
[float
]
-
x_slack:
List
[float
]
-
y_slack:
List
[float
]
- class Pyfrontier.domain.MultiProcessor(_solver_function, _n_dmus)[source]
Bases:
object
- solve(n_jobs)[source]
- Return type:
List
[BaseResult
]