Open
Description
#9701 introduced common tests for estimators taking a precomputed pairwise affinity/kernel or dissimilarity/distance matrix, but restricted its scope to classifiers. Certainly, these tests should be generalised to regressors, and probably to clusterers and transformers.
For instance, in all cases, the estimators should raise a good error if expecting precomputed input, but the training data is not square.