Comparison of Selected Machine Learning Algorithms for Industrial Electrical Tomography
Abstract
:1. Introduction
2. Materials and Methods
2.1. Electrical Tomography
2.2. Measurement Models
Algorithm 1. The pseudo code to generate learning cases | ||
1. | N = 50000; | % The number of cases |
2. | for 1: N | |
3. | random selection of the number of objects; | % set of NumberOfObjects variable |
4. | for 1: NumberOfObjects | |
5. | random selection of the object’s location; | % center and radius |
6. | end | |
7. | adding an output image to the set of training cases; | % saving response data |
8. | determination of voltages and adding Gaussian noise; | % Gaussian noise = randn(1, 96) × 5 × 10−5 |
9. | saving the values of voltages to the training set; | % saving input data |
10. | end |
2.3. Algorithms and Methods
2.3.1. Image Reconstruction
2.3.2. Gauss-Newton Method
- Um—voltages obtained as a result of the measurements
- Us(σ)—voltages received by numerical calculations (FEM) for given conductivity σ
- σ*—conductivity represents known properties
- λ—regularization parameter (positive real number)
- L—regularization matrix.
2.3.3. LARS
- standardize input variables;
- select the most correlated input variable with the output variable. Add input variable to the linear model;
- determine the residual from the obtained model;
- add a variable which is the most correlated with the residual to the model;
- move coefficient β towards its least-squares coefficient;
2.3.4. Elastic Net
2.3.5. Multiply Neural Network
Algorithm 2. The Matlab code for training multiple ANN system |
% - input matrix 96 × 50000 of training cases |
% - output matrix 2883 × 50000 of training cases |
% Choose a Training Function |
trainFcn = 'trainlm'; % In this case Levenberg-Marquardt backpropagation was chosen |
hiddenLayerSize = 10; % Choose a number of hidden layers |
net = fitnet(hiddenLayerSize,trainFcn); % Create a fitting network under variable ‘net’ |
% Choose input and output pre/post-processing functions |
% ‘removeconstantrows’ - remove matrix rows with constant values |
% ‘mapminmax’ - map matrix row minimum and maximum values to [−1 1] |
net.input.processFcns = {'removeconstantrows','mapminmax'}; |
net.output.processFcns = {'removeconstantrows','mapminmax'}; |
% Setup division of data for training, validation, testing |
net.divideFcn = 'dividerand'; % Divide data randomly |
net.divideMode = 'sample'; % Divide up every sample |
net.divideParam.trainRatio = 70/100; % 70% of cases is allocated for training |
net.divideParam.valRatio = 15/100; % 15% of cases is allocated for validation |
net.divideParam.testRatio = 15/100; % 15% of cases is allocated for testing |
net.performFcn = 'mse'; % Mean Squared Error will be used for performance evaluation |
x = X'; |
y = Y'; |
N=2883; % The resolution of output picture grid |
parfor i=1:N % Start ‘for’ loop with parallel computing |
% Assign an i-th row of reference cases to the variable t. Each of the 2883 lines corresponds |
% to one pixel of the output image |
t = y(i,:); |
% Train the network. The variable ‘nets_for_pixels’ is a structure that consists of 2883 |
% separately trained neural networks. |
[nets_for_pixels{i},~] = train(net,x,t); |
end % End ‘parfor’ loop |
3. Results
3.1. Gauss-Newton Method
3.2. Multiply Neural Networks
3.3. Multiply LARS
3.4. Multiply Elastic Net
3.5. Comparison of Image Reconstructions
4. Conclusions
Author Contributions
Acknowledgments
Conflicts of Interest
References
- González, G.; Huttunen, J.M.J.; Kolehmainen, V.; Seppänen, A.; Vauhkonen, M. Experimental evaluation of 3D electrical impedance tomography with total variation prior. Inverse Probl. Sci. Eng. 2016, 24, 1411–1431. [Google Scholar] [CrossRef]
- Liu, S.; Jia, J.; Zhang, Y.D.; Yang, Y. Image reconstruction in electrical impedance tomography based on structure-aware sparse Bayesian learning. IEEE Trans. Med. Imaging 2018, 37, 2090–2102. [Google Scholar] [CrossRef]
- Kang, S.I.; Khambampati, A.K.; Kim, B.S.; Kim, K.Y. EIT image reconstruction for two-phase flow monitoring using a sub-domain based regularization method. Flow Meas. Instrum. 2017, 53, 28–38. [Google Scholar] [CrossRef]
- Ren, S.; Wang, Y.; Liang, G.; Dong, F. A Robust Inclusion Boundary Reconstructor for Electrical Impedance Tomography with Geometric Constraints. IEEE Trans. Instrum. Meas. 2018, 99, 1–12. [Google Scholar] [CrossRef]
- Yang, Y.; Jia, J. An image reconstruction algorithm for electrical impedance tomography using adaptive group sparsity constraint. IEEE Trans. Instrum. Meas. 2017, 66, 2295–2305. [Google Scholar] [CrossRef]
- Liu, D.; Zhao, Y.; Khambampati, A.K.; Seppänen, A.; Du, J. A Parametric Level set Method for Imaging Multiphase Conductivity Using Electrical Impedance Tomography. IEEE Trans. Comput. Imaging 2018, 4, 552–561. [Google Scholar] [CrossRef]
- Rymarczyk, T. Using electrical impedance tomography to monitoring flood banks. Int. J. Appl. Electromagn. Mech. 2014, 45, 489–494. [Google Scholar] [CrossRef]
- Rymarczyk, T.; Kłosowski, G. Application of neural reconstruction of tomographic images in the problem of reliability of flood protection facilities. Eksploatacja I Niezawodnosc 2018, 20, 425–434. [Google Scholar] [CrossRef]
- Hamilton, S.J.; Hauptmann, A. Deep D-Bar: Real-Time Electrical Impedance Tomography Imaging with Deep Neural Networks. IEEE Trans. Med. Imaging 2018, 37, 2367–2377. [Google Scholar] [CrossRef]
- Tavares, R.S.; Sato, A.K.; Martins, T.C.; Lima, R.G.; Tsuzuki, M.S.G. GPU acceleration of absolute EIT image reconstruction using simulated annealing. Biomed. Signal Process. Control 2017. [Google Scholar] [CrossRef]
- Tan, C.; Lv, S.; Dong, F.; Takei, M. Image Reconstruction Based on Convolutional Neural Network for Electrical Resistance Tomography. IEEE Sens. J. 2019, 19, 196–204. [Google Scholar] [CrossRef]
- Farha, M. Combined Algorithm of Total Variation and Gauss-Newton for Image Reconstruction in Two-Dimensional Electrical Impedance Tomography (EIT). In Proceedings of the 2017 International Seminar on Sensor, Instrumentation, Measurement and Metrology (ISSIMM), Surabaya, Indonesia, 25–26 August 2017. [Google Scholar]
- Yang, Y.; Jia, J.; Polydorides, N.; McCann, H. Effect of structured packing on EIT image reconstruction. In Proceedings of the 2014 IEEE International Conference on Imaging Systems and Techniques (IST) Proceedings, Santorini, Greece, 14–17 October 2014; pp. 53–58. [Google Scholar]
- Wang, H.; Wang, C.; Yin, W. A pre-iteration method for the inverse problem in electrical impedance tomography. IEEE Trans. Instrum. Meas. 2004, 53, 1093–1096. [Google Scholar] [CrossRef]
- Li, T.; Kao, T.J.; Isaacson, D.; Newell, J.C.; Saulnier, G.J. Adaptive Kaczmarz method for image reconstruction in electrical impedance tomography. Physiol. Meas. 2013, 34, 595–608. [Google Scholar] [CrossRef]
- González, G.; Kolehmainen, V.; Seppänen, A. Isotropic and anisotropic total variation regularization in electrical impedance tomography. Comput. Math. Appl. 2017, 74, 564–576. [Google Scholar] [CrossRef]
- Zhou, Y.; Li, X. A real-time EIT imaging system based on the split augmented Lagrangian shrinkage algorithm. Measurement 2017, 110, 27–42. [Google Scholar] [CrossRef]
- Liu, X.; Yao, J.; Zhao, T.; Obara, H.; Cui, Y.; Takei, M. Image reconstruction under contact impedance effect in micro electrical impedance tomography sensors. IEEE Trans. Biomed. Circuits Syst. 2018, 12, 623–631. [Google Scholar] [CrossRef]
- Alsaker, M.; Hamilton, S.J.; Hauptmann, A. A direct D-bar method for partial boundary data electrical impedance tomography with a priori information. Inverse Probl. Imaging 2017, 11, 427–454. [Google Scholar] [CrossRef]
- Fernández-Fuentes, X.; Mera, D.; Gómez, A.; Vidal-Franco, I. Towards a Fast and Accurate EIT Inverse Problem Solver: A Machine Learning Approach. Electronics 2018, 7, 422. [Google Scholar] [CrossRef]
- Brillante, L.; Bois, B.; Mathieu, O.; Lévêque, J. Electrical imaging of soil water availability to grapevine: A benchmark experiment of several machine-learning techniques. Precis. Agric. 2016, 17, 637–658. [Google Scholar] [CrossRef]
- Rymarczyk, T.; Kozłowski, E. Using Statistical Algorithms for Image Reconstruction in EIT. In Proceedings of the MATEC Web Conferences, Majorca, Spain, 14–17 July 2018; Volume 210, p. 02017. [Google Scholar]
- Rymarczyk, T.; Kłosowski, G.; Kozłowski, E. Non-Destructive System Based on Electrical Tomography and Machine Learning to Analyze Moisture of Buildings. Sensors 2018, 18, 2285. [Google Scholar] [CrossRef]
- Hoyle, B.S. IPT in Industry—Application Need to Technology Design. In Proceedings of the ISIPT 8th World Congress in Industrial Process Tomography, Igaussu Falls, Brazil, 26–29 September 2016; pp. 1–7. [Google Scholar]
- Rymarczyk, T.; Adamkiewicz, P.; Polakowski, K.; Sikora, J. Effective ultrasound and radio tomography imaging algorithm for two-dimensional problems. Przegląd Elektrotechniczny 2018, 94, 62–69. [Google Scholar]
- Romanowski, A. Contextual Processing of Electrical Capacitance Tomography Measurement Data for Temporal Modeling of Pneumatic Conveying Process. In Proceedings of the 2018 Federated Conference on Computer Science and Information Systems (FedCSIS), Poznan, Poland, 9–12 September 2018; pp. 283–286. [Google Scholar]
- Rymarczyk, T.; Kłosowski, G.; Gola, A. The Use of Artificial Neural Networks in Tomographic Reconstruction of Soil Embankments. In Proceedings of the International Symposium on Distributed Computing and Artificial Intelligence, Toledo, Spain, 20–22 June 2018; Springer: Cham, Switzerland, 2018; pp. 104–112. [Google Scholar]
- Rymarczyk, T. New Methods to Determine Moisture Areas by Electrical Impedance Tomography. Int. J. Appl. Electromagn. Mech. 2016, 52, 79–87. [Google Scholar] [CrossRef]
- Szczęsny, A.; Korzeniewska, E. Selection of the method for the earthing resistance measurement. Przegląd Elektrotechniczny 2018, 94, 178–181. [Google Scholar]
- Liu, S.; Wu, H.; Huang, Y.; Yang, Y.; Jia, J. Accelerated Structure-Aware Sparse Bayesian Learning for 3D Electrical Impedance Tomography. IEEE Trans. Ind. Inform. 2019. [Google Scholar] [CrossRef]
- Kozłowski, E.; Mazurkiewicz, D.; Kowalska, B.; Kowalski, D. Binary linear programming as a decision-making aid for water intake operators. In Proceedings of the International Conference on Intelligent Systems in Production Engineering and Maintenance, Wroclaw, Poland, 28–29 September 2017; Springer: Cham, Switzerland, 2017; pp. 199–208. [Google Scholar]
- Kłosowski, G.; Kozłowski, E.; Gola, A. Integer linear programming in optimization of waste after cutting in the furniture manufacturing. Adv. Intell. Syst. Comput. 2018, 637, 260–270. [Google Scholar]
- Wang, M. Industrial Tomography: Systems and Applications; Woodhead Publishing: Sawston, UK, 2015. [Google Scholar]
- Holder, D. Introduction to Biomedical Electrical Impedance Tomography Electrical Impedance Tomography Methods, History and Applications; Institute of Physics: Bristol, UK, 2005. [Google Scholar]
- Karhunen, K.; Seppänen, A.; Kaipio, J.P. Adaptive meshing approach to identification of cracks with electrical impedance tomography. Inverse Probl. Imaging 2014, 8, 127–148. [Google Scholar] [CrossRef]
- Rymarczyk, T.; Adamkiewicz, P.; Duda, K.; Szumowski, J.; Sikora, J. New electrical tomographic method to determine dampness in historical buildings. Arch. Electr. Eng. 2016, 65, 273–283. [Google Scholar] [CrossRef]
- Al Hosani, E.; Soleimani, M. Multiphase permittivity imaging using absolute value electrical capacitance tomography data and a level set algorithm. Philos. Trans. R. Soc. A 2016, 374, 20150332. [Google Scholar] [CrossRef]
- Kryszyn, J.; Wanta, D.; Smolik, W. Gain Adjustment for Signal-to-Noise Ratio Improvement in Electrical Capacitance Tomography System EVT4. IEEE Sens. J. 2017, 17, 8107–8116. [Google Scholar] [CrossRef]
- Banasiak, R.; Wajman, R.; Jaworski, T.; Fiderek, P.; Fidos, H.; Nowakowski, J. Study on two-phase flow regime visualization and identification using 3D electrical capacitance tomography and fuzzy-logic classification. Int. J. Multiphase Flow 2014, 58, 1–14. [Google Scholar] [CrossRef]
- Garbaa, H.; Jackowska-Strumiłło, L.; Grudzień, K.; Romanowski, A. Application of electrical capacitance tomography and artificial neural networks to rapid estimation of cylindrical shape parameters of industrial flow structure. Arch. Electr. Eng. 2016, 65, 657–669. [Google Scholar] [CrossRef]
- Kryszyn, J.; Smolik, W. Toolbox for 3d modelling and image reconstruction in electrical capacitance tomography. Informatyka Automatyka Pomiary w Gospodarce i Ochronie Środowiska (IAPGOŚ) 2017, 7, 137–145. [Google Scholar]
- Soleimani, M.; Mitchell, C.N.; Banasiak, R.; Wajman, R.; Adler, A. Four-dimensional electrical capacitance tomography imaging using experimental data. Prog. Electromagn. Res. 2009, 90, 171–186. [Google Scholar] [CrossRef]
- Ye, Z.; Banasiak, R.; Soleimani, M. Planar array 3D electrical capacitance tomography. Insight-Non-Destr. Test. Cond. Monit. 2013, 55, 675–680. [Google Scholar] [CrossRef]
- Wajman, R.; Fiderek, P.; Fidos, H.; Sankowski, D.; Banasiak, R. Metrological evaluation of a 3D electrical capacitance tomography measurement system for two-phase flow fraction determination. Meas. Sci. Technol. 2013, 24, 065302. [Google Scholar] [CrossRef]
- Romanowski, A. Big Data-Driven Contextual Processing Methods for Electrical Capacitance Tomography. IEEE Trans. Ind. Inform. 2019, 15, 1609–1618. [Google Scholar] [CrossRef]
- Kłosowski, G.; Rymarczyk, T.; Gola, A. Increasing the Reliability of Flood Embankments with Neural Imaging Method. Appl. Sci. 2018, 8, 1457. [Google Scholar] [CrossRef]
- Demidenko, E.; Hartov, A.; Paulsen, K. Statistical estimation of Resistance/Conductance by electrical impedance tomography measurements. IEEE Trans. Med. Imaging 2004, 23, 829–838. [Google Scholar] [CrossRef]
- Adler, A.; Lionheart, W.R. Uses and abuses of EIDORS: An extensible software base for EIT. Physiol. Meas. 2006, 27, S25. [Google Scholar] [CrossRef] [PubMed]
- Dušek, J.; Hladký, D.; Mikulka, J. Electrical Impedance Tomography Methods and Algorithms Processed with a GPU. In Proceedings of the 2017 Progress In Electromagnetics Research Symposium-Spring (PIERS), St. Petersburg, Russia, 22–25 May 2017; pp. 1710–1714. [Google Scholar]
- Rymarczyk, T.; Sikora, J. Applying industrial tomography to control and optimization flow systems. Open Phys. 2018, 16, 332–345. [Google Scholar] [CrossRef]
- Voutilainen, A.; Lehikoinen, A.; Vauhkonen, M.; Kaipio, J. Three-dimensional nonstationary electrical impedance tomography with a single electrode layer. Meas. Sci. Technol. 2010, 21, 035107. [Google Scholar] [CrossRef]
- Babout, L.; Grudzień, K.; Wiącek, J.; Niedostatkiewicz, M.; Karpiński, B.; Szkodo, M. Selection of material for X-ray tomography analysis and DEM simulations: Comparison between granular materials of biological and non-biological origins. Granul. Matter 2018, 20, 20–38. [Google Scholar] [CrossRef]
- Mikulka, J. GPU—Accelerated Reconstruction of T2 Maps in Magnetic Resonance Imaging. Meas. Sci. Rev. 2015, 4, 210–218. [Google Scholar] [CrossRef]
- Bartušek, K.; Fiala, P.; Mikulka, J. Numerical Modeling of Magnetic Field Deformation as Related to Susceptibility Measured with an MR System. Radioengineering 2008, 17, 113–118. [Google Scholar]
- Lopato, P.; Chady, T.; Sikora, R.; Ziolkowski, M. Full wave numerical modelling of terahertz systems for nondestructive evaluation of dielectric structures. COMPEL 2013, 32, 736–749. [Google Scholar] [CrossRef]
- Vališ, D.; Mazurkiewicz, D. Application of selected Levy processes for degradation modelling of long range mine belt using real-time data. Arch. Civil Mech. Eng. 2018, 18, 1430–1440. [Google Scholar] [CrossRef]
- Ziolkowski, M.; Gratkowski, S.; Zywica, A.R. Analytical and numerical models of the magnetoacoustic tomography with magnetic induction. COMPEL 2018, 37, 538–548. [Google Scholar] [CrossRef]
- Hastie, T.; Tibshirani, R.; Friedman, J. The Elements of Statistical Learning Data Mining, Inference, and Prediction; Springer: New York, NY, USA, 2009. [Google Scholar]
- Madsen, K.; Nielsen, H.; Tingleff, O. Methods for Non-Linear Least Squares Problems, 2nd ed.; Informatics and Mathematical Modelling, Technical University of Denmark: Lyngby, Denmark, 2004; p. 60. [Google Scholar]
- Fonseca, T.; Goliatt, L.; Campos, L.; Bastos, F.; Barra, L.; Santos, R. Machine Learning Approaches to Estimate Simulated Cardiac Ejection Fraction from Electrical Impedance Tomography. In Proceedings of the Ibero-American Conference on Artificial Intelligence (IBERAMIA 2016), LNAI 10022, San José, Costa Rica, 23–25 November 2016; pp. 235–246. [Google Scholar]
- Zou, H.; Hastie, T. Regularization and variable selection via the elastic net. J. R. Stat. Soc. Ser. B 2005, 2, 301–320. [Google Scholar] [CrossRef]
- Tibshirani, R. Regression shrinkage and selection via the lasso. J. R. Stat. Soc. Ser. B 1996, 58, 267–288. [Google Scholar] [CrossRef]
- Wang, J.; Han, B.; Wang, W. Elastic-net regularization for nonlinear electrical impedance tomography with a splitting approach. Appl. Anal. 2018, 1–17. [Google Scholar] [CrossRef]
- Raskutti, G.; Wainwright, M.J.; Yu, B. Early stopping and non-parametric regression: An optimal data-dependent stopping rule. J. Mach. Learn. Res. 2014, 15, 335–366. [Google Scholar]
Quality Indicators for Testing Set | ANN Type | ||
---|---|---|---|
96—10—1 | 96—10—10 | 96—20—10 | |
0.0069 | 0.0087 | 0.0086 | |
0.7548 | 0.6994 | 0.6897 |
Methods | Evaluation Metrics | Tested Cases | |||||
---|---|---|---|---|---|---|---|
E16_O2 | E16_O3 | E16_O4 | E32_O2 | E32_O3 | E32_O4 | ||
ANN | MSE | 0.0074 | 0.0086 | 0.0076 | 0.0060 | 0.0061 | 0.0058 |
RIE | 0.0869 | 0.0936 | 0.0886 | 0.0782 | 0.0785 | 0.0771 | |
ICC | 0.7356 | 0.7371 | 0.8218 | 0.7484 | 0.8163 | 0.7946 | |
Expected time of image reconstruction [s] | 0.1501 | 0.1578 | 0.1574 | 0.2776 | 0.2785 | 0.2787 | |
Elastic net | MSE | 0.0111 | 0.0148 | 0.0197 | 0.0081 | 0.0131 | 0.0174 |
RIE | 0.2466 | 0.3499 | 0.3451 | 0.2120 | 0.2661 | 0.3300 | |
ICC | 0.5024 | 0.4651 | 0.4535 | 0.5090 | 0.4785 | 0.4702 | |
Expected time of image reconstruction [s] | 0.00062 | 0.00066 | 0.00071 | 0.0013 | 0.0014 | 0.0014 | |
LARS | MSE | 0.0115 | 0.0153 | 0.0203 | 0.0074 | 0.0121 | 0.0160 |
RIE | 0.1053 | 0.1216 | 0.1402 | 0.0871 | 0.1113 | 0.1280 | |
ICC | 0.4658 | 0.4586 | 0.4438 | 0.5261 | 0.5072 | 0.5082 | |
Expected time of image reconstruction [s] | 0.00041 | 0.00095 | 0.00092 | 0.0019 | 0.0018 | 0.0018 | |
Gauss-Newton with Laplace regulari-zation | MSE | 0.0199 | 0.0267 | 0.0351 | 0.0110 | 0.0164 | 0.0225 |
RIE | 0.1661 | 0.2524 | 0.3415 | 0.1563 | 0.1755 | 0.2402 | |
ICC | 0.5290 | 0.4643 | 0.4181 | 0.5853 | 0.5984 | 0.5412 | |
Expected time of image reconstruction [s] | 0.01248 | 0.01010 | 0.00940 | 0.01159 | 0.01229 | 0.01197 |
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Rymarczyk, T.; Kłosowski, G.; Kozłowski, E.; Tchórzewski, P. Comparison of Selected Machine Learning Algorithms for Industrial Electrical Tomography. Sensors 2019, 19, 1521. https://doi.org/10.3390/s19071521
Rymarczyk T, Kłosowski G, Kozłowski E, Tchórzewski P. Comparison of Selected Machine Learning Algorithms for Industrial Electrical Tomography. Sensors. 2019; 19(7):1521. https://doi.org/10.3390/s19071521
Chicago/Turabian StyleRymarczyk, Tomasz, Grzegorz Kłosowski, Edward Kozłowski, and Paweł Tchórzewski. 2019. "Comparison of Selected Machine Learning Algorithms for Industrial Electrical Tomography" Sensors 19, no. 7: 1521. https://doi.org/10.3390/s19071521
APA StyleRymarczyk, T., Kłosowski, G., Kozłowski, E., & Tchórzewski, P. (2019). Comparison of Selected Machine Learning Algorithms for Industrial Electrical Tomography. Sensors, 19(7), 1521. https://doi.org/10.3390/s19071521