Facets Overview is a Python library that generates interactive visualizations for analyzing machine learning datasets. It processes data into protobufs, which are then rendered by front-end web components (Polymer). The library is currently at version 1.1.1, with the last release in 2017, indicating it is no longer actively maintained.
pip install facets-overviewVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to generate and display a Facets Overview visualization within a Jupyter Notebook. It uses `pandas` for data handling and `IPython.display` to render the interactive HTML. Note that this requires the `facets_overview` Jupyter nbextension to be enabled and an environment compatible with Polymer 2.
Ensure your Jupyter environment and browser are compatible with Polymer 2. Running old notebooks may require adjustments or specific browser versions.
Consider migrating to actively maintained data exploration and visualization libraries such as `pandas-profiling`, `sweetviz`, `explori`, or `TensorFlow Data Validation` (the spiritual successor by Google).
Ensure you are running in a classic Jupyter Notebook environment with the `facets_overview` nbextension enabled. For JupyterLab, manual configuration or alternative rendering methods would be required, which are not officially supported.
Pin the `protobuf` library to an older, compatible version (e.g., `pip install protobuf<3.20`). Experimentation may be required to find a working version for your specific setup.
Run `pip install facets-overview` to install the library.
Try installing an older version of the `protobuf` library: `pip install protobuf<3.20` (or `protobuf==3.19.0` for a specific version known to work with older Google libraries).
This is a fundamental limitation of an abandoned library. There is no simple fix for modern browsers. You might need to use an older browser version or a specific environment where these legacy web components are still supported.
Ensure you are running in a classic Jupyter Notebook and that the `facets_overview` nbextension is enabled (`jupyter nbextension enable --py facets_overview`). For JupyterLab, consider using alternative libraries.
No dependency data recorded yet.