3it-inpaqt / line-classification-slope

Classification task from experimental charge stability diagrams to recognize angles of lines.
0 stars 0 forks source link

CNN for angle recognition #16

Closed ChrisZeThird closed 1 year ago

ChrisZeThird commented 1 year ago

Summary

As explained in the main issue note #7, the FF cannot find the angle among the noise, even with the derivative of the diagrams, or when it's trained with synthetic data. Instead of a FF, we could use a CNN, much more accurate for this kind of problem. It seems to be a rational alternative considering all the options found while trying to solve the FF prediction problem.

ChrisZeThird commented 1 year ago

Here is a first test of training on experimental data

image

ChrisZeThird commented 1 year ago

I did not follow the order of the workflow but at least it's done. Experimental data for training also causes issue with CNN for the moment:

image

ChrisZeThird commented 1 year ago

Gaussian noise

I tried to add gaussian noise to synthetic data in various way (scipy, normal array distribution). Here are the results:

No noise, anti-alias line

image

No noise, normal distribution, anti-alias line

image

Gaussian noise, normal distribution, anti-alias line

image

Gaussian noise, normal distribution, no anti-alias

image

ChrisZeThird commented 1 year ago

Training on synthetic data

These results are temporary, as the current network is not the best probably.

image

ChrisZeThird commented 1 year ago

CNN will be on hold for now. A simple regression algorithm should be enough to solve the problem.