I have a number of input data points $\{ x_0, x_1, \ldots, x_n \}$ and their corresponding outputs $\{ y_0, y_1, \ldots, y_n \}$.
I also have two models $f, g : X \rightarrow Y$ that seek to estimate a partial ordering of the true outputs.
That is to say that the model $f$ is perfect if $x_i, x_j \in X, x_i < x_j \implies f(x_i) < f(x_j)$. (Apologies if the mathematical definition is off -- I mean that if two inputs have an ordering, that ordering is maintained after being transformed by the function $f$.)
I'm looking for an approach that assigns a score from $0$ to $1$ to each model, where $0$ means no orderings are preserved and $1$ means all orderings are preserved.
My questions:
- Does such an approach exist and is it useful?
- Is this a silly thing to measure? (ie. am I missing something obvious)
NB: I can add more information if necessary. I've tried to abstract away the cruft but if more details help I can definitely provide them. Thanks for your time.