RenderingTypePredictor
experimental
Index
Constructors
Methods
Constructors
constructor
- experimental
Parameters
__namedParameters: RenderingTypePredictorOptions
Returns RenderingTypePredictor
Methods
publicpredict
- experimental
Predict the rendering type for a given URL and request label.
Parameters
__namedParameters: Request<Dictionary>
Returns { detectionProbabilityRecommendation: number; renderingType: RenderingType }
detectionProbabilityRecommendation: number
renderingType: RenderingType
publicstoreResult
- experimental
Store the rendering type for a given URL and request label. This updates the underlying prediction model, which may be costly.
Parameters
__namedParameters: Request<Dictionary>
renderingType: RenderingType
Returns void
Stores rendering type information for previously crawled URLs and predicts the rendering type for URLs that have yet to be crawled and recommends when rendering type detection should be performed.