RenderingTypePredictor
Hierarchy
- RenderingTypePredictor
Index
Methods
Methods
predict
Get
RenderingTypePrediction
based on the input request.Parameters
request: Request
Request
instance for which the prediction is made.
Returns RenderingTypePrediction
store_result
Store prediction results and retrain the model.
Parameters
request: Request
Used request.
rendering_type: RenderingType
Known suitable
RenderingType
.
Returns None
Stores rendering type for previously crawled URLs and predicts the rendering type for unvisited urls.