My training set is made up of 2d images with one imperfect but broadly circular shape in them (plus plenty of noise). I wish to train a model to predict the "radius" (obviously it's a somewhat subjective concept here) of the shape.

Let's say that I know the approximate center of the shape.

What approach would you use? Have each input to the model be one of the pixels including that pixel's distance from the center, as well as its colour?

What if I also wanted to predict the volume of the shape, and it was less regular?


closed as too broad by Juho, Evil, David Richerby, Discrete lizard Sep 12 at 18:02

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


Finding reasonably-regular shapes in noisy data? I'd try classical techniques first, like RANSAC or a Hough transform.

Why machine learning?

  • $\begingroup$ It's an exercise to understand machine learning better.. $\endgroup$ – Omroth Jul 30 at 13:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.