# Dvc.yaml for feature analysis

**URL:** <https://discuss.dvc.org/t/dvc-yaml-for-feature-analysis/1679>\
**Category:** Questions\
**Created:** [May 25, 2023, 12:16pm UTC](https://discuss.dvc.org/t/dvc-yaml-for-feature-analysis/1679 "2023-05-25T12:16:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AntonTroitskii](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@AntonTroitskii](https://discuss.dvc.org/u/AntonTroitskii)\
**Post date:** [May 25, 2023, 12:16pm UTC](https://discuss.dvc.org/t/dvc-yaml-for-feature-analysis/1679/1 "2023-05-25T12:16:31Z")

</div>

Hi everyone.

I’m a beginner in DVC. I would like to have an ability to analyse my generating features.

I have some stages in my dvc.yaml file: unzip, prepare, featurize, train, evaluate.

Is it possible to add a stage between featurize and train steps for example clusterization stage parallel to main line and make something like a new branch from featurize step? Could I run this stpe when it needs and not always. This step should genereate some plots for analysis.

So the graph of stages should be like this:

![image](https://canada1.discourse-cdn.com/flex035/uploads/dataversioncontrol/original/1X/85530dcf9f7ab87c2545ec7b42f792b25665fbcd.png)

What is the best prctice of using dvc in thises step?

---

<div class="post-metadata">

**Author:** ![dberenbaum](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@dberenbaum](https://discuss.dvc.org/u/dberenbaum)\
**Post date:** [May 26, 2023, 12:52pm UTC](https://discuss.dvc.org/t/dvc-yaml-for-feature-analysis/1679/2 "2023-05-26T12:52:54Z")

</div>

Yes, your pipeline does not have to be linear and can branch off of each other. If you want to run only the pipeline that runs train and evaluate, you could run `dvc exp run evaluate`, which will run only the steps needed to generate the evaluate stage. When you want to run clusterization, you could instead do `dvc exp run clusterization`.
