code: def __init__(
      self,
      category_corpus,
      category_counts,
      projection,
      x_dim=0,
      y_dim=1,
      doc2vec_model=None,
      term_projection=None,
  ):
      self.doc2vec_model = doc2vec_model
      self._pseduo_init(
          category_corpus,
          category_counts,
          projection,
          x_dim,
          y_dim,
          term_projection,
      )
  
imports: from abc import ABC, abstractmethod
  import pandas
  import numpy
  from scattertext.Scalers import stretch_neg1_to_1
label_desc: Use image node_id 1 to create a new CategoryProjectionWithDoc2Vec object from inherited base classes: CategoryProjectionBase with example: obj = CategoryProjectionWithDoc2Vec(category_corpus, category_counts, projection, x_dim, y_dim, doc2vec_model, term_projection)