Skip to content

Commit c7492d9

Browse files
chore: add open source (#159)
* chore: open source sample * add compare and enhance model * adjusts
1 parent 6439e18 commit c7492d9

35 files changed

+2768
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
SECRET_KEY=secret
2+
DEBUG=True
3+
MODEL_PATH=/Users/arthur.dasilva/repos/arthurhenrique/n
4+
MODEL_NAME=pregnancy_model_local.joblib
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Python package
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ["3.6", "3.7", "3.8", "3.9"]
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v3
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
make install
22+
- name: Test with pytest
23+
run: |
24+
make test

sample/pregnancy-model/.gitignore

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Cookiecutter specific
2+
data/*
3+
4+
# Byte-compiled / optimized / DLL files
5+
__pycache__/
6+
*.py[cod]
7+
8+
# C extensions
9+
*.so
10+
11+
# Distribution / packaging
12+
.Python
13+
env/
14+
build/
15+
develop-eggs/
16+
dist/
17+
downloads/
18+
eggs/
19+
.eggs/
20+
lib/
21+
lib64/
22+
parts/
23+
sdist/
24+
var/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.coverage
43+
.coverage.*
44+
.cache
45+
nosetests.xml
46+
coverage.xml
47+
*.cover
48+
49+
# Translations
50+
*.mo
51+
*.pot
52+
53+
# Django stuff:
54+
*.log
55+
56+
# Sphinx documentation
57+
docs/_build/
58+
59+
# PyBuilder
60+
target/
61+
62+
# DotEnv configuration
63+
.env
64+
65+
# Database
66+
*.db
67+
*.rdb
68+
69+
# Pycharm
70+
.idea
71+
72+
# VS Code
73+
.vscode/
74+
75+
# Spyder
76+
.spyproject/
77+
78+
# Jupyter NB Checkpoints
79+
.ipynb_checkpoints/
80+
81+
# exclude data from source control by default
82+
/data/
83+
84+
# Mac OS-specific storage files
85+
.DS_Store
86+
87+
# vim
88+
*.swp
89+
*.swo
90+
91+
# Mypy cache
92+
.mypy_cache/

0 commit comments

Comments
 (0)