Evidently is an open-source ML and LLM observability framework. Evaluate, test, and monitor any AI-powered system or data pipeline. From tabular data to Gen AI. 100+ metrics.
from sklearn import datasets
iris_data = datasets.load_iris(as_frame='auto')
raises the following error:
InvalidParameterError: The 'as_frame' parameter of load_iris must be an instance of 'bool', an instance of 'numpy.bool_' or an instance of 'int'. Got 'auto' instead.
Proposed changes
Changing the command to iris_data = datasets.load_iris(as_frame=True) fixes the error, and iris_frame = iris_data.frame returns a pandas.DataFrame.
Problem description
evidently
requiresscikit-learn>=1.0.1
(source), but sincescikit-learn
version1.3.0
(PR https://github.com/scikit-learn/scikit-learn/pull/26177), the commandraises the following error:
Proposed changes
Changing the command to
iris_data = datasets.load_iris(as_frame=True)
fixes the error, andiris_frame = iris_data.frame
returns apandas.DataFrame
.