Skip to content

Commit 53102ee

Browse files
authored
Merge pull request #1 from DoubleML/m-prepare-publication
prepare upload of working paper to arXiv and serverless application to the AWS Serverless Application Repository
2 parents 645a603 + b2f8e7d commit 53102ee

File tree

11 files changed

+13
-29
lines changed

11 files changed

+13
-29
lines changed

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
pip install .
3636
- name: Test with pytest
3737
run: |
38-
pytest -m ci
38+
pytest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The corresponding serverless application consists of the following components:
4343

4444
There are two options for deployment:
4545

46-
1. A version of DoubleML-Serverless is available in the AWS Serverless Application Repository. It can be deployed by clicking on the `Deploy` button.
46+
1. A version of DoubleML-Serverless is available in the AWS Serverless Application Repository: [https://serverlessrepo.aws.amazon.com/applications/eu-central-1/839779594349/doubleml-serverless](https://serverlessrepo.aws.amazon.com/applications/eu-central-1/839779594349/doubleml-serverless). It can be deployed by clicking on the `Deploy` button.
4747

4848
2. The second option for deployment is based on AWS Serverless Application Model (AWS SAM).
4949

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
numpy
22
pandas
3-
sklearn
3+
scikit-learn==0.23.2

aws_lambda_app/template.yaml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
AWSTemplateFormatVersion: '2010-09-09'
22
Transform: AWS::Serverless-2016-10-31
3-
Description: SAM Template for doubleml-serverless
4-
5-
Metadata:
6-
AWS::ServerlessRepo::Application:
7-
Name: doubleml-serverless
8-
Description: Distributed Double Machine Learning with a Serverless Architecture
9-
Author: Malte S. Kurz
10-
SpdxLicenseId: MIT
11-
LicenseUrl: ../LICENSE
12-
ReadmeUrl: ../README.md
13-
Labels: ['machine-learning', 'python', 'ml', 'scikit-learn']
14-
HomePageUrl: https://github.com/DoubleML/doubleml-serverless
15-
SemanticVersion: 0.0.1
16-
SourceCodeUrl: https://github.com/DoubleML/doubleml-serverless
17-
18-
Globals:
19-
Function:
20-
Timeout: 180
3+
Description: Distributed Double Machine Learning with a Serverless Architecture
214

225
Parameters:
236
CreateS3BucketForDataTransfer:

doubleml_serverless/tests/__init__.py

Whitespace-only changes.

doubleml_serverless/tests/test_iivm.py

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

1111
import doubleml as dml
1212
import doubleml_serverless as dml_lambda
13-
from helper_local_lambda_calls import DoubleMLIIVMServerlessLocal
1413

14+
from doubleml_serverless.tests.helper_local_lambda_calls import DoubleMLIIVMServerlessLocal
1515
from doubleml_serverless.tests.helper_general import get_n_datasets
1616

1717
# number of datasets per dgp

doubleml_serverless/tests/test_irm.py

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

1111
import doubleml as dml
1212
import doubleml_serverless as dml_lambda
13-
from helper_local_lambda_calls import DoubleMLIRMServerlessLocal
1413

14+
from doubleml_serverless.tests.helper_local_lambda_calls import DoubleMLIRMServerlessLocal
1515
from doubleml_serverless.tests.helper_general import get_n_datasets
1616

1717
# number of datasets per dgp

doubleml_serverless/tests/test_pliv.py

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

1010
import doubleml as dml
1111
import doubleml_serverless as dml_lambda
12-
from helper_local_lambda_calls import DoubleMLPLIVServerlessLocal
1312

13+
from doubleml_serverless.tests.helper_local_lambda_calls import DoubleMLPLIVServerlessLocal
1414
from doubleml_serverless.tests.helper_general import get_n_datasets
1515

1616
# number of datasets per dgp

doubleml_serverless/tests/test_plr.py

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

1010
import doubleml as dml
1111
import doubleml_serverless as dml_lambda
12-
from helper_local_lambda_calls import DoubleMLPLRServerlessLocal
1312

13+
from doubleml_serverless.tests.helper_local_lambda_calls import DoubleMLPLRServerlessLocal
1414
from doubleml_serverless.tests.helper_general import get_n_datasets
1515

1616
# number of datasets per dgp

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
DoubleML
1+
DoubleML>=0.1.2
22
joblib
33
numpy
44
pandas
55
scipy
66
sklearn
77
statsmodels
8-
boto3==1.14.44
98
aiobotocore==1.1.2
9+
boto3==1.14.44

0 commit comments

Comments
 (0)