Test on s434704
This commit is contained in:
parent
a852eae163
commit
dc99264daa
@ -13,7 +13,7 @@ pipeline {
|
||||
{
|
||||
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')
|
||||
|
@ -1,7 +1,7 @@
|
||||
import mlflow
|
||||
import pandas as pd
|
||||
|
||||
model = mlflow.keras.load_model("my_model")
|
||||
data = pd.read_json('my_model\input_example.json', orient='index')
|
||||
model = mlflow.keras.load_model("movies_on_streaming_platforms_model")
|
||||
data = pd.read_json('movies_on_streaming_platforms_model\input_example.json', orient='index')
|
||||
print(data)
|
||||
print(model.predict(data))
|
Loading…
Reference in New Issue
Block a user