You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can notice, these pairs are random. Instead, I want these pair being elicited minimising - even not-optimally- a multivariate distance across vars, for example Mahalanobis.
And finally, if the set of obs is odd, one element is not going to be paired.
Notice that there is no supervision and no cl parameter.
Now, according to ChatGPT, this kind of f pairing algorithm does not exist at least within the options of this package.
But I am still doubtful so here I come asking if the machine said the truth, and in case to propose to develop it.
Notice that this is quite similar to how package MatchIt works, with the difference that MatchIt always pairs ("match") discordant rows from a binary x variable, such that the formula would be x ~ starts_with("v").
This is not the case, since there is no x variable in obs.
The text was updated successfully, but these errors were encountered:
Consider the following:
I'd like a method that produces something that would look as follows:
As you can notice, these pairs are random. Instead, I want these pair being elicited minimising - even not-optimally- a multivariate distance across vars, for example Mahalanobis.
Then I would expect something like this
obs %>% mutate(cluster = f(input_cols = starts_with("v"),dist="mahalanobis"))
And finally, if the set of
obs
is odd, one element is not going to be paired.Notice that there is no supervision and no
cl
parameter.Now, according to ChatGPT, this kind of
f
pairing algorithm does not exist at least within the options of this package.But I am still doubtful so here I come asking if the machine said the truth, and in case to propose to develop it.
Notice that this is quite similar to how package
MatchIt
works, with the difference thatMatchIt
always pairs ("match") discordant rows from a binaryx
variable, such that the formula would bex ~ starts_with("v")
.This is not the case, since there is no
x
variable inobs
.The text was updated successfully, but these errors were encountered: