Add requirements for Podatkovno Rudarjenje

This commit is contained in:
Gašper Fele-Žorž 2025-08-19 17:56:27 +02:00
parent e1ac068953
commit eb1e6012bd
34 changed files with 138 additions and 0 deletions

View 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

View 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'

View file

@ -0,0 +1,4 @@
- name: Install altair
apt:
name: python3-altair
state: latest

View file

@ -0,0 +1,2 @@
- name: Install altair
win_command: pip install altair

View 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'

View file

@ -0,0 +1,4 @@
- name: Install datasets
pip:
executable: pipx
name: datasets

View file

@ -0,0 +1,2 @@
- name: Install datasets
win_command: pip install datasets

View 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'

View file

@ -0,0 +1,4 @@
- name: Install evaluate
pip:
executable: pipx
name: evaluate

View file

@ -0,0 +1,2 @@
- name: Install evaluate
win_command: pip install evaluate

View 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'

View file

@ -0,0 +1,4 @@
- name: Install mlxtend
pip:
executable: pipx
name: mlxtend

View file

@ -0,0 +1,2 @@
- name: Install pandas
win_command: pip install mlxtend

View 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'

View file

@ -0,0 +1,4 @@
- name: Install networkx
apt:
name: python3-networkx
state: latest

View file

@ -0,0 +1,2 @@
- name: Install networkx
win_command: pip install networkx

View 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'

View file

@ -0,0 +1,4 @@
- name: Install plotly
apt:
name: python3-plotly
state: latest

View file

@ -0,0 +1,2 @@
- name: Install plotly
win_command: pip install plotly

View 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'

View file

@ -0,0 +1,6 @@
- name: Install scikit
apt:
name:
- python3-sklearn
- python3-sklearn-pandas
state: latest

View file

@ -0,0 +1,2 @@
- name: Install scikit
win_command: pip install scikit-learn

View 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'

View file

@ -0,0 +1,4 @@
- name: Install seaborn
apt:
name: python3-seaborn
state: latest

View file

@ -0,0 +1,2 @@
- name: Install seaborn
win_command: pip install seaborn

View 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'

View file

@ -0,0 +1,4 @@
- name: Install streamlit
pip:
executable: pipx
name: streamlit

View file

@ -0,0 +1,2 @@
- name: Install streamlit
win_command: pip install streamlit

View 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'

View 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

View file

@ -0,0 +1,2 @@
- name: Install torch
win_command: pip install torch torchvision

View 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'

View file

@ -0,0 +1,4 @@
- name: Install transformers
pip:
executable: pipx:
name: transformers

View file

@ -0,0 +1,2 @@
- name: Install transformers
win_command: pip install transformers