This commit is contained in:
PawelDopierala 2024-04-02 22:29:35 +02:00
parent 16cadeab66
commit 2044c0e46b
2 changed files with 5 additions and 8 deletions

View File

@ -1,11 +1,8 @@
FROM ubuntu:latest
RUN apt-get update && \
apt-get install -y python3-pip
RUN pip3 install --user kaggle pandas scikit-learn
ENV PATH="/root/.local/bin:${PATH}"
apt-get install -y python3-pip && \
pip3 install kaggle pandas scikit-learn
COPY data_processing.sh .

View File

@ -1,6 +1,6 @@
import scikit-learn as sklearn
from scikit-learn.preprocessing import OneHotEncoder
from scikit-learn.model_selection import train_test_split
import sklearn
from sklearn.preprocessing import OneHotEncoder
from sklearn.model_selection import train_test_split
import pandas as pd
import subprocess