My idea is based on deep technology that I have been working on independent of Stanford. Is this the right class, and how is ownership determined?

This is the right class to take. See the earlier question on IP ownership. Please reach out to the teaching team if you have additional questions.