Skip to content

functions "generate_cond_from_condition_column_info" and "sample_original_condvec" #273

@Hamideh-Mehri

Description

@Hamideh-Mehri

Environment Details

Please indicate the following details about the environment in which you found the bug:

  • CTGAN version:
  • Python version:
  • Operating System:

Error Description

Hello,

I think that two functions "generate_cond_from_condition_column_info" and "sample_original_condvec" does not produce conditional vector correctly. the issue is " _discrete_column_matrix_st" which always contains zeroes, and is not assigned properly.

I would really appreciate it if let me know whether I am correct or not.

Steps to reproduce

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpending reviewThis issue needs to be further reviewed, so work cannot be started

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions