docker
This commit is contained in:
parent
dc3284677a
commit
cb364fee5f
@ -2,7 +2,7 @@ FROM ubuntu:latest
|
|||||||
|
|
||||||
RUN apt-get update && apt-get install -y python3-pip unzip coreutils
|
RUN apt-get update && apt-get install -y python3-pip unzip coreutils
|
||||||
|
|
||||||
RUN pip install --no-cache-dir wheel kaggle pandas scikit-learn tensorflow
|
RUN pip install --no-cache-dir wheel kaggle pandas scikit-learn tensorflow keras
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@ from sklearn.preprocessing import StandardScaler, OneHotEncoder
|
|||||||
from sklearn.compose import ColumnTransformer
|
from sklearn.compose import ColumnTransformer
|
||||||
from sklearn.pipeline import Pipeline
|
from sklearn.pipeline import Pipeline
|
||||||
from sklearn.model_selection import train_test_split
|
from sklearn.model_selection import train_test_split
|
||||||
|
from keras.metrics import MeanSquaredError
|
||||||
|
|
||||||
|
|
||||||
loaded_model = tf.keras.models.load_model('powerlifting_model.h5')
|
loaded_model = tf.keras.models.load_model('powerlifting_model.h5')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user