Skip to content

Error in test-set.py #2

Description

@bioteksampath

Hi,
It seems very interesting to try GS with ML. Thanks for your excellent work.

wondering why I'm getting an error while testing your code with demo data.
I plan to apply ML to canola plant.

Here is what i did;
conda create -n ML_Pipeline numpy pandas scikit-learn scipy matplotlib biopython nb_conda
conda activate ML_Pipeline

(ML_Pipeline) python test_set.py -df soy_geno.csv -df2 soy_pheno.csv -p 0.2 -type r -y_name HT -sep ',' -save soy_testset_1.txt
Traceback (most recent call last):
File "test_set.py", line 48, in
start_dim = a.df.shape
AttributeError: 'str' object has no attribute 'shape'
(ML_Pipeline)

Also, wonder what is the CVF data and how it was generated?
Thanks in advance
Sam

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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