{"id":1324,"date":"2021-01-19T12:58:21","date_gmt":"2021-01-19T14:58:21","guid":{"rendered":"https:\/\/sbia.org.br\/lnlm\/?page_id=1324"},"modified":"2021-01-19T12:58:21","modified_gmt":"2021-01-19T14:58:21","slug":"vol18-no2-art2","status":"publish","type":"page","link":"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/","title":{"rendered":"Using the Kullback-Leibler Divergence and Kolmogorov-Smirnov Test to Select Input Sizes to the Fault Diagnosis Problem Based on a CNN Model"},"content":{"rendered":"<p>Rodrigo P. Monteiro <a href=\"http:\/\/orcid.org\/0000-0002-2423-5088\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1167\" src=\"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2020\/09\/orcid.jpg\" alt=\"orcid\" width=\"20\" height=\"20\" \/><\/a>, Carmelo J. A. Bastos-Filho <a href=\"http:\/\/orcid.org\/0000-0002-0924-5341\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1167\" src=\"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2020\/09\/orcid.jpg\" alt=\"orcid\" width=\"20\" height=\"20\" \/><\/a>, Mariela Cerrada <a href=\"http:\/\/orcid.org\/0000-0003-4379-8836\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1167\" src=\"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2020\/09\/orcid.jpg\" alt=\"orcid\" width=\"20\" height=\"20\" \/><\/a>, Diego R. Cabrera <a href=\"http:\/\/orcid.org\/0000-0003-1023-871X\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1167\" src=\"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2020\/09\/orcid.jpg\" alt=\"orcid\" width=\"20\" height=\"20\" \/><\/a> &amp; Ren\u00e9 V. S\u00e1nchez <a href=\"http:\/\/orcid.org\/0000-0003-0395-9228\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1167\" src=\"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2020\/09\/orcid.jpg\" alt=\"orcid\" width=\"20\" height=\"20\" \/><\/a><\/p>\n<p><strong>Abstract:<\/strong> Choosing a suitable size for signal representations, e.g., frequency spectra, in a given machine learning problem is not a trivial task. It may strongly affect the performance of the trained models. Many solutions have been proposed to solve this problem. Most of them rely on designing an optimized input or selecting the most suitable input according to an exhaustive search. In this work, we used the Kullback-Leibler Divergence and the Kolmogorov-Smirnov Test to measure the dissimilarity among signal representations belonging to equal and different classes, i.e., we measured the intraclass and interclass dissimilarities. Moreover, we analyzed how this information relates to the classifier performance. The results suggested that both the interclass and intraclass dissimilarities were related to the model accuracy since they indicate how easy a model can learn discriminative information from the input data. The highest ratios between the average interclass and intraclass dissimilarities were related to the most accurate classifiers. We can use this information to select a suitable input size to train the classification model. The approach was tested on two data sets related to the fault diagnosis of reciprocating compressors.<\/p>\n<p><strong>Keywords:<\/strong> Deep learning, Kullback-Leibler Divergence, Kolmogorov-Smirnov Test, Input Size Selection.<\/p>\n<p><strong>DOI code:<\/strong> <a href=\"http:\/\/dx.doi.org\/10.21528\/lnlm-vol18-no2-art2\">10.21528\/lnlm-vol18-no2-art2<\/a><\/p>\n<p><strong>PDF file:<\/strong> <a href=\"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2021\/01\/vol18-no2-art2.pdf\">vol18-no2-art2.pdf<\/a><\/p>\n<p><strong>BibTex file:<\/strong> <a href=\"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2021\/01\/vol18-no2-art2.bib\">vol18-no2-art2.bib<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Rodrigo P. Monteiro , Carmelo J. A. Bastos-Filho , Mariela Cerrada , Diego R. Cabrera &amp; Ren\u00e9 V. S\u00e1nchez Abstract: Choosing a suitable size for signal representations, e.g., frequency spectra, in a given machine learning problem is not a trivial <a href=\"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1306,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1324","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using the Kullback-Leibler Divergence and Kolmogorov-Smirnov Test to Select Input Sizes to the Fault Diagnosis Problem Based on a CNN Model - Learning and NonLinear Models<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using the Kullback-Leibler Divergence and Kolmogorov-Smirnov Test to Select Input Sizes to the Fault Diagnosis Problem Based on a CNN Model - Learning and NonLinear Models\" \/>\n<meta property=\"og:description\" content=\"Rodrigo P. Monteiro , Carmelo J. A. Bastos-Filho , Mariela Cerrada , Diego R. Cabrera &amp; Ren\u00e9 V. S\u00e1nchez Abstract: Choosing a suitable size for signal representations, e.g., frequency spectra, in a given machine learning problem is not a trivial Read More ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/\" \/>\n<meta property=\"og:site_name\" content=\"Learning and NonLinear Models\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2020\/09\/orcid.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/\",\"url\":\"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/\",\"name\":\"Using the Kullback-Leibler Divergence and Kolmogorov-Smirnov Test to Select Input Sizes to the Fault Diagnosis Problem Based on a CNN Model - Learning and NonLinear Models\",\"isPartOf\":{\"@id\":\"https:\/\/sbia.org.br\/lnlm\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2020\/09\/orcid.jpg\",\"datePublished\":\"2021-01-19T14:58:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/#primaryimage\",\"url\":\"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2020\/09\/orcid.jpg\",\"contentUrl\":\"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2020\/09\/orcid.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Browse issues\",\"item\":\"https:\/\/sbia.org.br\/lnlm\/publicacoes\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Learning &#038; Nonlinear Models &#8211; L&#038;NLM &#8211; Volume 18 &#8211; N\u00famero 2\",\"item\":\"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Using the Kullback-Leibler Divergence and Kolmogorov-Smirnov Test to Select Input Sizes to the Fault Diagnosis Problem Based on a CNN Model\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sbia.org.br\/lnlm\/#website\",\"url\":\"https:\/\/sbia.org.br\/lnlm\/\",\"name\":\"Learning and NonLinear Models\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/sbia.org.br\/lnlm\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sbia.org.br\/lnlm\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/sbia.org.br\/lnlm\/#organization\",\"name\":\"Learning and NonLinear Models\",\"url\":\"https:\/\/sbia.org.br\/lnlm\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/sbia.org.br\/lnlm\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/2021\/07\/logo-lnlm.png\",\"contentUrl\":\"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/2021\/07\/logo-lnlm.png\",\"width\":398,\"height\":94,\"caption\":\"Learning and NonLinear Models\"},\"image\":{\"@id\":\"https:\/\/sbia.org.br\/lnlm\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using the Kullback-Leibler Divergence and Kolmogorov-Smirnov Test to Select Input Sizes to the Fault Diagnosis Problem Based on a CNN Model - Learning and NonLinear Models","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/","og_locale":"pt_BR","og_type":"article","og_title":"Using the Kullback-Leibler Divergence and Kolmogorov-Smirnov Test to Select Input Sizes to the Fault Diagnosis Problem Based on a CNN Model - Learning and NonLinear Models","og_description":"Rodrigo P. Monteiro , Carmelo J. A. Bastos-Filho , Mariela Cerrada , Diego R. Cabrera &amp; Ren\u00e9 V. S\u00e1nchez Abstract: Choosing a suitable size for signal representations, e.g., frequency spectra, in a given machine learning problem is not a trivial Read More ...","og_url":"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/","og_site_name":"Learning and NonLinear Models","og_image":[{"url":"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2020\/09\/orcid.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. tempo de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/","url":"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/","name":"Using the Kullback-Leibler Divergence and Kolmogorov-Smirnov Test to Select Input Sizes to the Fault Diagnosis Problem Based on a CNN Model - Learning and NonLinear Models","isPartOf":{"@id":"https:\/\/sbia.org.br\/lnlm\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/#primaryimage"},"image":{"@id":"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/#primaryimage"},"thumbnailUrl":"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2020\/09\/orcid.jpg","datePublished":"2021-01-19T14:58:21+00:00","breadcrumb":{"@id":"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/#primaryimage","url":"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2020\/09\/orcid.jpg","contentUrl":"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/sites\/4\/2020\/09\/orcid.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/vol18-no2-art2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Browse issues","item":"https:\/\/sbia.org.br\/lnlm\/publicacoes\/"},{"@type":"ListItem","position":2,"name":"Learning &#038; Nonlinear Models &#8211; L&#038;NLM &#8211; Volume 18 &#8211; N\u00famero 2","item":"https:\/\/sbia.org.br\/lnlm\/publicacoes\/vol18-no2\/"},{"@type":"ListItem","position":3,"name":"Using the Kullback-Leibler Divergence and Kolmogorov-Smirnov Test to Select Input Sizes to the Fault Diagnosis Problem Based on a CNN Model"}]},{"@type":"WebSite","@id":"https:\/\/sbia.org.br\/lnlm\/#website","url":"https:\/\/sbia.org.br\/lnlm\/","name":"Learning and NonLinear Models","description":"","publisher":{"@id":"https:\/\/sbia.org.br\/lnlm\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sbia.org.br\/lnlm\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/sbia.org.br\/lnlm\/#organization","name":"Learning and NonLinear Models","url":"https:\/\/sbia.org.br\/lnlm\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/sbia.org.br\/lnlm\/#\/schema\/logo\/image\/","url":"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/2021\/07\/logo-lnlm.png","contentUrl":"https:\/\/sbia.org.br\/lnlm\/wp-content\/uploads\/2021\/07\/logo-lnlm.png","width":398,"height":94,"caption":"Learning and NonLinear Models"},"image":{"@id":"https:\/\/sbia.org.br\/lnlm\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/sbia.org.br\/lnlm\/wp-json\/wp\/v2\/pages\/1324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sbia.org.br\/lnlm\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sbia.org.br\/lnlm\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sbia.org.br\/lnlm\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sbia.org.br\/lnlm\/wp-json\/wp\/v2\/comments?post=1324"}],"version-history":[{"count":0,"href":"https:\/\/sbia.org.br\/lnlm\/wp-json\/wp\/v2\/pages\/1324\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/sbia.org.br\/lnlm\/wp-json\/wp\/v2\/pages\/1306"}],"wp:attachment":[{"href":"https:\/\/sbia.org.br\/lnlm\/wp-json\/wp\/v2\/media?parent=1324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}