1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
Hi,
Take a look at this implementation using scikit_learn
They are all implemented as part of the HandlerService
object.
input_fn
for preprocessing when data comes inpredict_fn
for making a predictionoutput_fn
for postprocessing
Generally, input_fn
and output_fn
have default implementations provided by SageMaker, but predict_fn
does not.
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 mois
- AWS OFFICIELA mis à jour il y a 2 ans
Hi, thanks for the answer, so it means model_fn needs to be mandatorily implemented (overriden) and we can ignore overriding/defining input_fn, predict_fn and output_fn methods while writing entry point script?