def __init__(self, fields, mintf=None, mindf=None, minwl=None, maxwl=None,
            maxqt=None, maxntp=None, boost=False, qf=None, count=None,
            stream_body=None):
        if not isinstance(fields, types.ListType):
            raise TypeError('fields must be a list')
        self._fields = fields
        self._optional_params = {}
        self._optional_params['mintf'] = mintf
        self._optional_params['mindf'] = mindf
        self._optional_params['minwl'] = minwl
        self._optional_params['maxwl'] = maxwl
        self._optional_params['maxqt'] = maxqt
        self._optional_params['maxntp'] = maxntp
        self._optional_params['boost'] = boost
        self._optional_params['qf'] = qf
        self._optional_params['count'] = count
        self.stream_body = stream_body
Check termination condition for nonlinear least squares.
dataset/ETHPy150Open truemped/dopplr/dopplr/solr/query/mlt.py/MoreLikeThisQuery.__init__--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/optimize/_lsq/common.py/check_termination