Changes

Jump to: navigation, search
no edit summary
The synthesized images can be effectively used to train a SMC defects classification model for a future ML-based PCB-AVI application, only if they have a similar probability distribution function with respect to the original ones. In particular, it is interesting to verify if there is a clear separation in the data. To this end, it is possible to employ the t-distributed stochastic neighbor embedding (t-SNE), which is a ML algorithm for visualization, based on Stochastic Neighbor Embedding (SNE) algorithm. Since the way this algorithm operates is computationally expensive, it is highly recommended to use another dimensionality reduction technique before applying t-SNE algorithm, in order to reduce the number of dimensions to a reasonable amount. For this purpose, it is possible to employ an autoencoder (AE).
IMMAGINE AUTOENCODER 5 × 10−4{| style="background:transparent; color:black" border="0" align="center" cellpadding="10px" cellspacing="0px" height="550" valign="bottom"|- align="center"||[[File:Autoencoder.png|thumb|350x350px|NN architecture of the Autoencoder]]||[[File:Encoder.png|thumb|350x350px|NN architectre of the encoder part]]||[[File:Decoder.png|thumb|350x350px|NN architecture of the decoder part]]|} The two soldering regions are the most important parts concerning the generated images and, by using the methodology proposed in the previous section, they can be easily extracted and evaluated too with the t-SNE algorithm. Since the two of them are also correlated for the same image, clearly strongly correlated for ''tombstoning'' class samples, they must be concurrently compressed by the AE. Therefore, a dual-stream autoencoder, with two input/output layers, is required. {| style="background:transparent; color:black" border="0" align="center" cellpadding="10px" cellspacing="0px" height="550" valign="bottom"|- align="center"||[[File:Dual-stream autoencoder.png|thumb|350x350px|NN architecture of the dual-stream autoencoder]]||[[File:Dual-stream encoder.png|thumb|350x350px|NN architecture of the dual-stream encoder part]]||[[File:Dual-stream decoder.png|thumb|350x350px|NN architecture of the dual-stream decoder part]]|}
The values obtained by applying the t-SNE algorithm on the compressed data are displayed into several 3D-plots reported below respectively for ''missing'' and ''tombstoning'' synthesized images. Interestingly, the 4 plots related to full typology do not show a separation in the data between ''fakes'' (red dots) and ''reals'' (blue dots), sign that the generated images do not differ too much from the original ones, used to train the proGANs.
dave_user
207
edits

Navigation menu