# Using LDA on more than two classes

**URL:** <https://shapeworks.discourse.group/t/using-lda-on-more-than-two-classes/41>\
**Category:** Uncategorized\
**Created:** [March 18, 2021, 6:03am UTC](https://shapeworks.discourse.group/t/using-lda-on-more-than-two-classes/41 "2021-03-18T06:03:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobL](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@RobL](https://shapeworks.discourse.group/u/RobL)\
**Post date:** [March 18, 2021, 6:03am UTC](https://shapeworks.discourse.group/t/using-lda-on-more-than-two-classes/41/1 "2021-03-18T06:03:30Z")

</div>

Hi,

I am trying to use shapeworks to compare the anatomy of three patient groups. I have mostly used the studio so far, and it gives a great visualization of the groupwise difference in the morphology. However, it is stuck to just comparing two groups at a time.

With the command line is it possible to run the underlining function with 3 or more groups. If not would it be easy enough to run it with the particles in another package and bring the results back to shapeworks to visualise ?

Cheers,

Rob

---

<div class="post-metadata">

**Author:** ![shireen](https://yyz2.discourse-cdn.com/free1/user_avatar/shapeworks.discourse.group/shireen/32/9_2.png) [@shireen](https://shapeworks.discourse.group/u/shireen)\
**Post date:** [March 25, 2021, 4:01pm UTC](https://shapeworks.discourse.group/t/using-lda-on-more-than-two-classes/41/2 "2021-03-25T16:01:42Z")

</div>

Hi Rob,

As of now, ShapeWorksStudio does not support group differences beyond two groups. We are planning to expand on this and support more than two groups. Yet, we haven’t made progress thus far on this.

Please feel free to submit a feature request on [ShapeWorks GitHub issue tracker](https://github.com/SCIInstitute/ShapeWorks/issues) and we will add more discussions on the issue as we do progress on this. This will help us prioritize this feature as an action item.

Regards  
Shireen
