class_docstr: Creates an S-curve example and multiple visualizations
class_docstr_tok: ["Creates","an","S-curve","example","and","multiple","visualizations"]
docstr: Makes directories as needed
docstr_tok: ["Makes","directories","as","needed"]
code: def _make_path(self, path, name):
      """
      Makes directories as needed
      """
      if not os.path.exists(path):
          os.mkdirs(path)
  
      if os.path.isdir(path):
          return os.path.join(path, name)
  
      return path
  
file_path: yellowbrick/docs/api/features/manifold.py
imports: import os
  import matplotlib.pyplot
  from sklearn import datasets
  from sklearn.pipeline import Pipeline
  from sklearn.feature_selection import f_classif
  from sklearn.feature_selection import SelectKBest
  from yellowbrick.datasets import load_occupancy, load_concrete
  from yellowbrick.features.manifold import Manifold, MANIFOLD_ALGORITHMS, manifold_embedding
label_desc: Use image node_id 2 for calling the SCurveExample obj's underlying member method code with example usage: obj._make_path(path, name) and returns: path, os