original_docstring: Calculate OWL component of the cost
  
          This method returns the ordered weighted l1 norm of the data.
  
          Returns
          -------
          float OWL cost component
  
          
docstring: Calculate OWL component of the cost
  This method returns the ordered weighted l1 norm of the data.
  
  Returns
  
  float OWL cost component
docstring_tokens: Calculate OWL component of the cost This method returns the ordered weighted l1 norm of the data . Returns float OWL cost component
code: def _cost_method(self, *args, **kwargs):
          """Calculate OWL component of the cost
  
          This method returns the ordered weighted l1 norm of the data.
  
          Returns
          -------
          float OWL cost component
  
          """
  
          cost_val = np.sum(self.weights * np.sort(np.squeeze(
              np.abs(args[0]))[::-1]))
  
          if 'verbose' in kwargs and kwargs['verbose']:
              print(' - OWL NORM (X):', cost_val)
  
          return cost_val
code_tokens: def _cost_method ( self , * args , ** kwargs ) : cost_val = np . sum ( self . weights * np . sort ( np . squeeze ( np . abs ( args [ 0 ] ) ) [ : : - 1 ] ) ) if 'verbose' in kwargs and kwargs [ 'verbose' ] : print ( ' - OWL NORM (X):' , cost_val ) return cost_val
short_docstring: Calculate OWL component of the cost
  This method returns the ordered weighted l1 norm of the data.
short_docstring_tokens: Calculate OWL component of the cost This method returns the ordered weighted l1 norm of the data .
comment: """Calculate OWL component of the cost
  
          This method returns the ordered weighted l1 norm of the data.
  
          Returns
          -------
          float OWL cost component
  
          """