Hey, I took this picture from my course notebook and I was curious how to implement this, as there was no code given in the notebook, my teacher only showed me the output by printing it like this:
Can anyone reply to me with its solution? She used iris dataset here.