filterobs

function defined in module MLUtils


			filterobs(f, data)

Return a subset of data container data including all indices i for which f(getobs(data, i)) === true.


			
			
			
			data
			 
			=
			
			 
			1
			:
			10
			

			
			

	
			numobs
			(
			data
			)
			 
			==
			 
			10
			

			
			fdata
			 
			=
			 
			

			filterobs
			(
			
			>
			(
			5
			)
			,
			 
			data
			)
			

			
			

	
			numobs
			(
			fdata
			)
			 
			==
			 
			5
Methods

There is 1 method for MLUtils.filterobs: