class_docstr: XLearn is the core interface used by python API.
class_docstr_tok: ["XLearn","is","the","core","interface","used","by","python","API","."]
docstr: Do cross-validation
  
  Parameters
  ----------
  param : dict
    hyper-parameter used by xlearn
docstr_tok: ["Do","cross-validation","Parameters","--","--","--","--","--","param",":","dict","hyper-parameter","used","by","xlearn"]
code: def cv(self, param):
      """Do cross-validation
  
      Parameters
      ----------
      param : dict
        hyper-parameter used by xlearn
      """
      self._set_Param(param)
      _check_call(_LIB.XLearnCV(ctypes.byref(self.handle)))
  
imports: import sys
  import os
  import ctypes
  from numpy import ndarray
  from .base import Series, DataFrame
  import numpy
  from .base import _LIB, XLearnHandle
  from .base import _check_call, c_str
  from .data import DMatrix
label_desc: Use image node_id 19 for calling the XLearn obj's underlying member method code with example usage: obj.cv(param) without return types