class_docstr: Online Non-Negative Matrix Factorization.
  
  `Renbo Zhao et al :"Online Nonnegative Matrix Factorization with Outliers" <https://arxiv.org/abs/1604.02634>`_
class_docstr_tok: ["Online","Non-Negative","Matrix","Factorization",".","`","Renbo","Zhao","et","al",":","''","Online","Nonnegative","Matrix","Factorization","with","Outliers","''","<","https",":","\/\/arxiv.org\/abs\/1604.02634",">","`","_"]
docstr: Apply the transformation to a whole corpus and get the result as another corpus.
  
  Parameters
  ----------
  corpus : iterable of list of (int, float) or `csc_matrix` with the shape (n_tokens, n_documents)
      Training corpus.
      Can be either iterable of documents, which are lists of `(word_id, word_count)`,
      or a sparse csc matrix of BOWs for each document.
      If not specified, the model is left uninitialized (presumably, to be trained later with `self.train()`).
  chunksize : int, optional
      If provided, a more effective processing will performed.
  
  Returns
  -------
  :class:`~gensim.interfaces.TransformedCorpus`
      Transformed corpus.
docstr_tok: ["Apply","the","transformation","to","a","whole","corpus","and","get","the","result","as","another","corpus",".","Parameters","--","--","--","--","--","corpus",":","iterable","of","list","of","(","int",",","float",")","or","`","csc_matrix","`","with","the","shape","(","n_tokens",",","n_documents",")","Training","corpus",".","Can","be","either","iterable","of","documents",",","which","are","lists","of","`","(","word_id",",","word_count",")","`",",","or","a","sparse","csc","matrix","of","BOWs","for","each","document",".","If","not","specified",",","the","model","is","left","uninitialized","(","presumably",",","to","be","trained","later","with","`","self.train","(",")","`",")",".","chunksize",":","int",",","optional","If","provided",",","a","more","effective","processing","will","performed",".","Returns","--","--","--","-",":","class",":","`","~gensim.interfaces.TransformedCorpus","`","Transformed","corpus","."]
code: def _apply(self, corpus, chunksize=None, **kwargs):
      """Apply the transformation to a whole corpus and get the result as another corpus.
  
      Parameters
      ----------
      corpus : iterable of list of (int, float) or `csc_matrix` with the shape (n_tokens, n_documents)
          Training corpus.
          Can be either iterable of documents, which are lists of `(word_id, word_count)`,
          or a sparse csc matrix of BOWs for each document.
          If not specified, the model is left uninitialized (presumably, to be trained later with `self.train()`).
      chunksize : int, optional
          If provided, a more effective processing will performed.
  
      Returns
      -------
      :class:`~gensim.interfaces.TransformedCorpus`
          Transformed corpus.
  
      """
      return TransformedCorpus(self, corpus, chunksize, **kwargs)
  
imports: import collections.abc
  import logging
  import numpy
  import scipy.sparse
  from scipy.stats import halfnorm
  from gensim import interfaces
  from gensim import matutils
  from gensim import utils
  from gensim.interfaces import TransformedCorpus
  from gensim.models import basemodel, CoherenceModel
  from gensim.models.nmf_pgd import solve_h
label_desc: Use image node_id 14 for calling the Nmf obj's underlying member method code with example usage: obj._apply(corpus, chunksize) and returns: TransformedCorpus