←back to thread

423 points sungam | 7 comments | | HN request time: 0.611s | source | bottom

Coded using Gemini Pro 2.5 (free version) in about 2-3 hours.

Single file including all html/js/css, Vanilla JS, no backend, scores persisted with localStorage.

Deployed using ubuntu/apache2/python/flask on a £5 Digital Ocean server (but could have been hosted on a static hosting provider as it's just a single page with no backend).

Images / metadata stored in an AWS S3 bucket.

1. sungam ◴[] No.45159926[source]
According to the metadata supplied with the dataset yes

Could definitely be a misclassification, however a small proportion of moles that look entirely harmless to the naked eye and under the dermatoscope (skin microscope) can be cancerous.

For example, have a look at these images of naevoid melanoma: https://www.google.com/search?tbm=isch&q=naevoid+melanoma

This is why dermatology can be challenging and why AI-based image classification is difficult from a liability/risk perspective

I was previously clinical lead for a melanoma multidisciplinary meeting and 1-2 times per year I would see a patient with a melanoma that presented like this and looking back at previous photos there was no features that would have worried me.

The key thing that I emphasise to patients is that even if a mole looks harmless it is important to monitor for any signs of change since a skin cancer will almost always change in appearance over a period of several months

replies(2): >>45160345 #>>45161856 #
2. jonahx ◴[] No.45160345[source]
> however a small proportion of moles that look entirely harmless to the naked eye and under the dermatoscope (skin microscope) can be cancerous.

That is very scary.

So the only way to be sure is to have everything sent to the lab. But I'm guessing cost/benefit of that from a risk perspective make it prohibitive? So if you're an unlucky person with a completely benign-presenting melanoma, you're just shit out of luck? Or will the appearance change before it spreads internally?

replies(1): >>45160575 #
3. sungam ◴[] No.45160575[source]
This is why dermatology involves risk management not just image interpretation. Yes the lesion will likely change with time. Realistically yes, if you have a melanoma that looks like a harmless mole then the diagnosis is likely to be delayed. But remember that these are a tiny proportion of all skin cancers and you are much more likely to get some other form of cancer - most of which occur internally and cannot be seen at all.
replies(1): >>45160735 #
4. kmoser ◴[] No.45160735{3}[source]
This is a good example of what I find frustrating as a patient. Sure, cancers like that may be a tiny proportion of all skin cancers, but if I have it then it's 100% of my skin cancers. And given how serious skin cancer can be, I'd at least want my doctor to let me know how I could get this lesion tested, even if it's out of my own pocket.
replies(2): >>45161184 #>>45162164 #
5. sungam ◴[] No.45161184{4}[source]
I agree with you - if a patient is concerned by a specific skin lesion and requests removal then I will support this even it appears harmless particularly if it is new or changing
6. 48terry ◴[] No.45161856[source]
> According to the metadata supplied with the dataset yes

"idk but that's what it says" somehow this does not inspire confidence in the skin cancer learning app.

replies(1): >>45162177 #
7. daedrdev ◴[] No.45162164{4}[source]
The risk of misdiagnosis and thus unnecessary treatment, can mean that such testing can increase your actual chance of dying or decrease your life expectancy. It depends on the case but its why we don't test generically for cancers unless someone is high risk (such as being old)