Skip to content

Commit

Permalink
Do not show any dimensionality reduction outputs as input for dimensi…
Browse files Browse the repository at this point in the history
…onality reduction
  • Loading branch information
stefanhahmann committed Nov 18, 2024
1 parent 2468ca2 commit 4d16d96
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
import org.mastodon.graph.Vertex;
import org.mastodon.mamut.feature.LinkTargetIdFeature;
import org.mastodon.mamut.feature.SpotTrackIDFeature;
import org.mastodon.mamut.feature.dimensionalityreduction.umap.feature.AbstractUmapFeature;
import org.mastodon.mamut.feature.dimensionalityreduction.AbstractOutputFeature;
import org.mastodon.mamut.feature.spot.SpotBranchIDFeature;
import org.mastodon.util.FeatureUtils;

Expand Down Expand Up @@ -162,7 +162,7 @@ public static < V extends Vertex< E >, E extends Edge< V > > List< InputDimensio
excludedVertexFeatures.add( Cast.unchecked( SpotBranchIDFeature.class ) );
for ( Feature< V > feature : vertexFeatures )
{
if ( excludedVertexFeatures.contains( feature.getClass() ) || feature instanceof AbstractUmapFeature )
if ( excludedVertexFeatures.contains( feature.getClass() ) || feature instanceof AbstractOutputFeature )
continue;
for ( FeatureProjection< V > projection : feature.projections() )
inputDimensions.add( InputDimension.fromVertexFeature( feature, projection ) );
Expand Down

0 comments on commit 4d16d96

Please sign in to comment.