Test on s434704

This commit is contained in:
Dominik Strzako 2021-05-23 21:55:25 +02:00
parent a852eae163
commit dc99264daa
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ pipeline {
{ {
steps steps
{ {
copyArtifacts(fingerprintArtifacts: true, projectName: 's434695-training/train', selector: buildParameter('WHICH_BUILD')) copyArtifacts(fingerprintArtifacts: true, projectName: 's434704-training/master', selector: buildParameter('WHICH_BUILD'))
} }
} }
stage('predict') stage('predict')

View File

@ -1,7 +1,7 @@
import mlflow import mlflow
import pandas as pd import pandas as pd
model = mlflow.keras.load_model("my_model") model = mlflow.keras.load_model("movies_on_streaming_platforms_model")
data = pd.read_json('my_model\input_example.json', orient='index') data = pd.read_json('movies_on_streaming_platforms_model\input_example.json', orient='index')
print(data) print(data)
print(model.predict(data)) print(model.predict(data))