Icon

Removing Noise from Data

Removing Noise from Data
Challenge 14: Removing Noise from DataYou are working with audio recognition data tables such that eachtable’s initial and final rows contain zeroes. These beginning andending zeroes are irrelevant noise that must be removed. Here is anexample of such a data table:Your goal is to only remove these unnecessary starting and trailingzeroes. You must keep the zeroes in the middle of the data, whichdo not constitute noise. As well, the position of the starting andtrailing zeroes differs per data table, so a good solution probablyrequires flow variables for flexibility (although there may be othersolutions which do not involve flow variables). read fileadd prev rowremove who is 0and prev row 0 filter themfilter the row that row id like the variablesort descfilter 1 rowcreate variablefiltter columns CSV Reader Lag Column Rule Engine Row Filter Rule-basedRow Filter Sorter Row Filter Table Rowto Variable Column Filter Challenge 14: Removing Noise from DataYou are working with audio recognition data tables such that eachtable’s initial and final rows contain zeroes. These beginning andending zeroes are irrelevant noise that must be removed. Here is anexample of such a data table:Your goal is to only remove these unnecessary starting and trailingzeroes. You must keep the zeroes in the middle of the data, whichdo not constitute noise. As well, the position of the starting andtrailing zeroes differs per data table, so a good solution probablyrequires flow variables for flexibility (although there may be othersolutions which do not involve flow variables). read fileadd prev rowremove who is 0and prev row 0 filter themfilter the row that row id like the variablesort descfilter 1 rowcreate variablefiltter columns CSV Reader Lag Column Rule Engine Row Filter Rule-basedRow Filter Sorter Row Filter Table Rowto Variable Column Filter

Nodes

Extensions

Links