🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

"[SOLVED] Plotting in RM / result overview: extend scatter plot"

User: "leitold"
New Altair Community Member
Updated by Jocelyn
Hello!

I have recently implemented a new learning operator in RM 5, so far only for my own testing purposes. The basic idea is to construct a regression as a projection onto a one-dimension "string" which resides in the feature space, so obviously only real-valued features can be used. The "string" is in the end just a number of n-dimensional points connected by straight lines, where n is the number of used features, and then some geometric procedure is used to project a feature vector onto the string.

Now I would like to visualize the result in a plot. I am thinking of something like the standard scatter plot, where you can select two features as x and y and a third for the color code. In addition, I want to draw the string in the same plot, so that one can see how well it "fits" to the data. My problem is, I have no clue where to implement this. In particular, as far as I understand it, the scatter plot is only a way to visualize the ExampleSet which represents the data, and of course there is no information about the used learner in the example set. On the other hand, the model does not know anything about the training data. So in the end, I would need a "thing" which uses as input an example set (with or without predicted labels, does not matter), as well as my model from the new operator, and creates a plot which shows both the "string" and the points from the example set in the same drawing. I would be grateful for any hints how to do this!

Thanks a lot!
jlennex