segmentation
segmentation copied to clipboard
sys.argv
https://github.com/alexalemi/segmentation/blob/a72cac9a939f6b8bdd07376a6193230f25e35da6/code/segmentart.py#L11
From the specified line while compiling i got the error saying IndexError: list index out of range . I printed the sys.argv it has only [segmentart.py] . Can i know what is K and infile is ?
Thanks , Karthik
Hello again ,
I came to know that K is number of splits or segments . In given K , it is splitting perfectly . What is the best way to determine optimal number of K ? Any idea will help me with my project .
Thanks in Advance , Karthik