some changes in python file
This commit is contained in:
parent
05c892510a
commit
9ff871c91b
@ -10,7 +10,10 @@ import seaborn as sns
|
||||
from sklearn.model_selection import train_test_split
|
||||
from sklearn.preprocessing import MinMaxScaler
|
||||
|
||||
try:
|
||||
df = pd.read_csv(r'.\body_performance.csv')
|
||||
except:
|
||||
df = pd.read_csv(r'./body_performance.csv')
|
||||
|
||||
df['BMI'] = df['weight_kg']/(0.0001*df['height_cm']*df['height_cm'])
|
||||
print(df.head())
|
||||
|
@ -8,7 +8,8 @@ RUN apt-get update \
|
||||
&& pip install --user kaggle \
|
||||
&& pip install --user pandas \
|
||||
&& pip install --user plotly \
|
||||
&& pip install --user seaborn
|
||||
&& pip install --user seaborn \
|
||||
&& pip install --user scikit-learn
|
||||
|
||||
ENV PATH="/root/.local/bin:$PATH"
|
||||
|
||||
@ -16,4 +17,4 @@ WORKDIR /app
|
||||
|
||||
RUN git clone https://git.wmi.amu.edu.pl/s487178/ium_s487178.git /app
|
||||
|
||||
CMD ["python3", "body_performance.py"]
|
||||
#CMD ["python3", "body_performance.py"]
|
Loading…
Reference in New Issue
Block a user