Skip to content

ALTER POPULATION not available in Loom #625

@versar

Description

@versar

The following code:

%mml ALTER POPULATION data ADD VARIABLE cluster_1 nominal;

fails in Jupyter with the following behavior:

  • the standard output bar is colored pink, as for a warning
  • the standard output is blank and there is no error message

Even if Loom does not support adding iterations of ANALYZE, being unable to alter the population is still an issue because it is necessary for certain plotting workflows in exploratory data analysis. One example workflow is:

  • discovering a cluster using SIMILARITY
  • adding a cluster indicator column to the table and population
  • plotting that cluster indicator along with some data using interactive_pairplot

interactive_pairplot does not allow plotting a non-modeled variable, so the exploratory workflow above fails without the availability of ALTER POPULATION.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions