Test on s434704
This commit is contained in:
parent
a852eae163
commit
dc99264daa
@ -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')
|
||||||
|
@ -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))
|
Loading…
Reference in New Issue
Block a user