Add requirements for Podatkovno Rudarjenje
This commit is contained in:
parent
e1ac068953
commit
eb1e6012bd
34 changed files with 138 additions and 0 deletions
18
roles/PR-63765/meta/main.yml
Normal file
18
roles/PR-63765/meta/main.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Podatkovno rudarjenje
|
||||
# rok.gomiscek@fri.uni-lj.si
|
||||
#
|
||||
dependencies:
|
||||
- role: jupyter
|
||||
- role: pandas
|
||||
- role: matplotlib
|
||||
- role: plotly
|
||||
- role: seaborn
|
||||
- role: altair
|
||||
- role: scikit-learn
|
||||
- role: mlxtend
|
||||
- role: networkx
|
||||
- role: transformers
|
||||
- role: datasets
|
||||
- role: evaluate
|
||||
- role: torch # includes torchvision
|
||||
- role: streamlit
|
4
roles/altair/tasks/main.yml
Normal file
4
roles/altair/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_os_family == 'Windows'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_os_family == 'Debian'
|
4
roles/altair/tasks/main_lin.yml
Normal file
4
roles/altair/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: Install altair
|
||||
apt:
|
||||
name: python3-altair
|
||||
state: latest
|
2
roles/altair/tasks/main_win.yml
Normal file
2
roles/altair/tasks/main_win.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Install altair
|
||||
win_command: pip install altair
|
4
roles/datasets/tasks/main.yml
Normal file
4
roles/datasets/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_os_family == 'Windows'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_os_family == 'Debian'
|
4
roles/datasets/tasks/main_lin.yml
Normal file
4
roles/datasets/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: Install datasets
|
||||
pip:
|
||||
executable: pipx
|
||||
name: datasets
|
2
roles/datasets/tasks/main_win.yml
Normal file
2
roles/datasets/tasks/main_win.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Install datasets
|
||||
win_command: pip install datasets
|
4
roles/evaluate/tasks/main.yml
Normal file
4
roles/evaluate/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_os_family == 'Windows'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_os_family == 'Debian'
|
4
roles/evaluate/tasks/main_lin.yml
Normal file
4
roles/evaluate/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: Install evaluate
|
||||
pip:
|
||||
executable: pipx
|
||||
name: evaluate
|
2
roles/evaluate/tasks/main_win.yml
Normal file
2
roles/evaluate/tasks/main_win.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Install evaluate
|
||||
win_command: pip install evaluate
|
4
roles/mlxtend/tasks/main.yml
Normal file
4
roles/mlxtend/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_os_family == 'Windows'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_os_family == 'Debian'
|
4
roles/mlxtend/tasks/main_lin.yml
Normal file
4
roles/mlxtend/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: Install mlxtend
|
||||
pip:
|
||||
executable: pipx
|
||||
name: mlxtend
|
2
roles/mlxtend/tasks/main_win.yml
Normal file
2
roles/mlxtend/tasks/main_win.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Install pandas
|
||||
win_command: pip install mlxtend
|
4
roles/networkx/tasks/main.yml
Normal file
4
roles/networkx/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_os_family == 'Windows'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_os_family == 'Debian'
|
4
roles/networkx/tasks/main_lin.yml
Normal file
4
roles/networkx/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: Install networkx
|
||||
apt:
|
||||
name: python3-networkx
|
||||
state: latest
|
2
roles/networkx/tasks/main_win.yml
Normal file
2
roles/networkx/tasks/main_win.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Install networkx
|
||||
win_command: pip install networkx
|
4
roles/plotly/tasks/main.yml
Normal file
4
roles/plotly/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_os_family == 'Windows'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_os_family == 'Debian'
|
4
roles/plotly/tasks/main_lin.yml
Normal file
4
roles/plotly/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: Install plotly
|
||||
apt:
|
||||
name: python3-plotly
|
||||
state: latest
|
2
roles/plotly/tasks/main_win.yml
Normal file
2
roles/plotly/tasks/main_win.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Install plotly
|
||||
win_command: pip install plotly
|
4
roles/scikit/tasks/main.yml
Normal file
4
roles/scikit/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_os_family == 'Windows'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_os_family == 'Debian'
|
6
roles/scikit/tasks/main_lin.yml
Normal file
6
roles/scikit/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: Install scikit
|
||||
apt:
|
||||
name:
|
||||
- python3-sklearn
|
||||
- python3-sklearn-pandas
|
||||
state: latest
|
2
roles/scikit/tasks/main_win.yml
Normal file
2
roles/scikit/tasks/main_win.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Install scikit
|
||||
win_command: pip install scikit-learn
|
4
roles/seaborn/tasks/main.yml
Normal file
4
roles/seaborn/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_os_family == 'Windows'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_os_family == 'Debian'
|
4
roles/seaborn/tasks/main_lin.yml
Normal file
4
roles/seaborn/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: Install seaborn
|
||||
apt:
|
||||
name: python3-seaborn
|
||||
state: latest
|
2
roles/seaborn/tasks/main_win.yml
Normal file
2
roles/seaborn/tasks/main_win.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Install seaborn
|
||||
win_command: pip install seaborn
|
4
roles/streamlit/tasks/main.yml
Normal file
4
roles/streamlit/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_os_family == 'Windows'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_os_family == 'Debian'
|
4
roles/streamlit/tasks/main_lin.yml
Normal file
4
roles/streamlit/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: Install streamlit
|
||||
pip:
|
||||
executable: pipx
|
||||
name: streamlit
|
2
roles/streamlit/tasks/main_win.yml
Normal file
2
roles/streamlit/tasks/main_win.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Install streamlit
|
||||
win_command: pip install streamlit
|
4
roles/torch/tasks/main.yml
Normal file
4
roles/torch/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_os_family == 'Windows'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_os_family == 'Debian'
|
12
roles/torch/tasks/main_lin.yml
Normal file
12
roles/torch/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
- name: Install torch
|
||||
apt:
|
||||
name:
|
||||
- python3-torch
|
||||
- python3-skorch
|
||||
- python3-torch-cluster
|
||||
- python3-torch-geometric
|
||||
- python3-ignite
|
||||
- python3-sparse
|
||||
- python3-torchaudio
|
||||
- python3-torchvision
|
||||
state: latest
|
2
roles/torch/tasks/main_win.yml
Normal file
2
roles/torch/tasks/main_win.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Install torch
|
||||
win_command: pip install torch torchvision
|
4
roles/transformers/tasks/main.yml
Normal file
4
roles/transformers/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_os_family == 'Windows'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_os_family == 'Debian'
|
4
roles/transformers/tasks/main_lin.yml
Normal file
4
roles/transformers/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: Install transformers
|
||||
pip:
|
||||
executable: pipx:
|
||||
name: transformers
|
2
roles/transformers/tasks/main_win.yml
Normal file
2
roles/transformers/tasks/main_win.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Install transformers
|
||||
win_command: pip install transformers
|
Loading…
Add table
Add a link
Reference in a new issue