class_docstr: Base Class for Building a model
class_docstr_tok: ["Base","Class","for","Building","a","model"]
code: def get_num_folds_from_cv(self, cv):
      if cv is None:
          NFOLDS = 2
      elif cv == 0:
          NFOLDS = 2
      else:
          NFOLDS = cv
  
      return NFOLDS
  
file_path: Auto_TS/auto_ts/models/build_base.py
imports: from typing import Optional, List
  from abc import ABC, abstractmethod
  import pandas
  from pandas.core.generic import NDFrame
label_desc: Use image node_id 6 for calling the BuildBase obj's underlying member method code with example usage: obj.get_num_folds_from_cv(cv) and returns: NFOLDS