AutoViML / AutoViz

Automatically Visualize any dataset, any size with a single line of code. Created by Ram Seshadri. Collaborators Welcome. Permission Granted upon Request.
Apache License 2.0
1.71k stars 197 forks source link

AutoViz misidentifies my dependent variable as a categorical variable, which is in fact a continuous variable. #31

Closed yoonwonj closed 3 years ago

yoonwonj commented 3 years ago

AutoViz misidentifies my dependent variable as a categorical variable, which is in fact a continuous variable.

My dependent variable is the Loneliness scale score within the range of 1 of 4. image

When I run the basic code of Autoviz() below, I do not get any results regarding my dependent variable. report_AV = AV.AutoViz('', dfte=data)

When I run the code containing depVar argument below, I get the results that appears to regard my dependent variable as a categorical variable. This makes the result useless for my research. report_AV = AV.AutoViz('', dfte=data, depVar='Loneliness')

Here are some examples that I get from the above code. image

I've checked with the datatypes of my dataframe, and my dependent variable column's datatype is float64.

Is there any way to solve this issue?

AutoViML commented 3 years ago

Let me take a look and fix it. Should not be a problem. Ram

On Fri, Nov 13, 2020 at 2:45 AM Yoonwon Jung notifications@github.com wrote:

AutoViz misidentifies my dependent variable as a categorical variable, which is in fact a continuous variable.

My dependent variable is the Loneliness scale score within the range of 1 of 4. [image: image] https://user-images.githubusercontent.com/47551200/99041733-ca275c80-25ce-11eb-90cd-8a412a69083c.png

When I run the basic code of Autoviz() below, I do not get any results regarding my dependent variable. report_AV = AV.AutoViz('', dfte=data)

When I run the code containing depVar argument below, I get the results that appears to regard my dependent variable as a categorical variable. This makes the result useless for my research. report_AV = AV.AutoViz('', dfte=data, depVar='Loneliness')

Here are some examples that I get from the above code. [image: image] https://user-images.githubusercontent.com/47551200/99042104-83863200-25cf-11eb-8006-885a4aec42bc.png

Is there any way to solve this issue?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AutoViML/AutoViz/issues/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMKBH6BFAFJSL5CDF5MZS33SPTP2VANCNFSM4TUIE4QQ .

AutoViML commented 3 years ago

Hello yoonwonj:

I have fixed the problem for you. You should install the fixed version from this github by opening a new Jupyter Notebook and typing this in an empty cell:

!pip install git+https://github.com/AutoViML/AutoViz.git

That will install the 0.0.75 version (pl check it) and it should be fixed. Please let me know if it works and I will close this issue. Thx Ram

yoonwonj commented 3 years ago

Hi,

Sorry for getting back to you late. I've tried the fixed version and it worked perfectly well!

Thanks for your work.