Colab only includes TensorFlow 2.x; %tensorflow_version has no effect.
TypeError Traceback (most recent call last)
in
16
17 # import tensorflow_docs as tfdocs
—> 18 import tensorflow_docs.plots
19 import tensorflow_docs.modeling
4 frames
/usr/local/lib/python3.7/dist-packages/tensorflow_docs/api_generator/reference_resolver.py in ReferenceResolver()
86 py_module_names: Union[list[str], dict[str, str]],
87 link_prefix: Optional[str] = None,
—> 88 physical_path: Optional[dict[str, str]] = None,
89 ):
90 “”"Initializes a Reference Resolver.
TypeError: ‘type’ object is not subscriptable
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Challenge: Machine Learning with Python Projects - Linear Regression Health Costs Calculator
Link to the challenge: