I have a question in mind. I built a dependent variable y based on other features say m and n in my dataset and I want to build a model and train it.But I am not sure if I can include m and n in the training of model? As when I do this I get almost 99% accuracy and other metrics. \Is it valid that I only use other features that I did not use for construction the y?
Thanks in advance.