New! Use Simple ML for Sheets to apply machine learning to the data in your Google Sheets
Read More
tfdf.inspector.make_inspector
Stay organized with collections
Save and categorize content based on your preferences.
Creates an inspector for a model.
tfdf.inspector.make_inspector(
directory: str, file_prefix: Optional[str] = None
) -> 'AbstractInspector'
Used in the notebooks
If file_prefix
is not given, the prefix is auto-detected. Auto-detection
fails if multiple models models are stored in the directory.
Args |
directory
|
Path to the model.
|
file_prefix
|
Internal prefix of the model files. If not specified (None),
the prefix is automatically determined. If the directory contains multiple
models, the prefix should be provided. If file_prefix="" , the model is
built without prefix (which is legal).
|
Returns |
Inspector for the given model.
|
Raises |
ValueError
|
The model type is unsupported or prefix autodetection failed.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[]]