docstr: Parameters
  ----------
  category, str
  tdm, TermDocMatrix
  
  Returns
  -------
  np.array
docstr_tok: ["Parameters","--","--","--","--","--","category",",","str","tdm",",","TermDocMatrix","Returns","--","--","--","-","np.array"]
code: def _make_response_variable_1_or_negative_1(self, category, tdm):
      """
      Parameters
      ----------
      category, str
      tdm, TermDocMatrix
  
      Returns
      -------
      np.array
      """
      return (tdm.get_category_names_by_row() == category).astype(
          int
      ) * 2 - 1
  
imports: import numpy
  from scipy.sparse.linalg import lsqr
label_desc: Use image node_id 2 for calling the OLSUngarStyle obj's underlying member method code with example usage: obj._make_response_variable_1_or_negative_1(category, tdm) and returns: unknown