Skip to content

Problems running PCA on CSV file #7

Open
@andreaswallberg

Description

@andreaswallberg

Dear @Zilong-Li

Thanks for a very interesting tool!

I have compiled the program and it seems to work. However, I have an issue with running it on a zstd-compressed CSV file. I get the following error:

[13/04/2025-20:58:41] program started 
[13/04/2025-20:58:41] start parsing CSV format compressed by ZSTD 
[13/04/2025-20:58:41] shape of input matrix (features x samples) is 12 x 572359
terminate called after throwing an instance of 'std::invalid_argument'
  what():  stod
Aborted (core dumped)

I am not sure the problem is with the compiled code or the input data.

I seem to be unable to find the example CSV file. Can you specify what a CSV file should look like (e..g. should we have a header line or not, are negative values tolerated, etc.) and share the one you use in your example.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions