Skip to content

Commit e404963

Browse files
committed
Update
1 parent ffd6048 commit e404963

7 files changed

Lines changed: 26 additions & 3 deletions

File tree

HISTORY.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change log
22

3+
## [0.3.0] - 2020-06-12
4+
### Changed
5+
- `DEA()`
6+
- `CQER()`
7+
- `CQEDDF()`
8+
39
## [0.2.9] - 2020-06-10
410
### Added
511
- `DEA()`

pystoned/CERDDF.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,10 @@ def cerddfb(y, x, b, tau, fun, gx, gb, gy):
294294
# fun = "prod" : production frontier
295295
# = "cost" : cost frontier
296296

297+
# transform data
298+
x = x.tolist()
299+
y = y.tolist()
300+
297301
# number of DMUS
298302
n = len(y)
299303

pystoned/CNLSDDF.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,10 @@ def cnlsddfb(y, x, b, fun, gx, gb, gy):
285285
# fun = "prod" : production frontier
286286
# = "cost" : cost frontier
287287

288+
# transform data
289+
x = x.tolist()
290+
y = y.tolist()
291+
288292
# number of DMUS
289293
n = len(y)
290294

pystoned/CNLSZ.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def cnlsz(y, x, z, cet, fun, rts):
2020
# transform data
2121
x = x.tolist()
2222
y = y.tolist()
23+
z = z.tolist()
2324

2425
# number of DMUs
2526
n = len(y)

pystoned/CQER.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,10 @@ def cer(y, x, tau, cet, fun, rts):
314314
# rts = "vrs" : variable returns to scale
315315
# = "crs" : constant returns to scale
316316

317+
# transform data
318+
x = x.tolist()
319+
y = y.tolist()
320+
317321
# number of DMUS
318322
n = len(y)
319323

pystoned/CQRDDF.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
# without undesirable outputs
15-
def cerddf(y, x, tau, fun, gx, gy):
15+
def cqrddf(y, x, tau, fun, gx, gy):
1616
# fun = "prod" : production frontier
1717
# = "cost" : cost frontier
1818

@@ -286,10 +286,14 @@ def convex_rule(model, i, h):
286286

287287

288288
# with undesirable outputs
289-
def cerddfb(y, x, b, tau, fun, gx, gb, gy):
289+
def cqrddfb(y, x, b, tau, fun, gx, gb, gy):
290290
# fun = "prod" : production frontier
291291
# = "cost" : cost frontier
292292

293+
# transform data
294+
x = x.tolist()
295+
y = y.tolist()
296+
293297
# number of DMUS
294298
n = len(y)
295299

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup_args = dict(
1010
name='pystoned',
11-
version='0.2.9',
11+
version='0.3.0',
1212
description='A Package for Stochastic Nonparametric Envelopment of Data (StoNED) in Python',
1313
long_description_content_type="text/markdown",
1414
long_description=README + '\n\n' + HISTORY,

0 commit comments

Comments
 (0)