Coder Social home page Coder Social logo

Sub-100% Data Validity about sdv HOT 6 CLOSED

prupireddy avatar prupireddy commented on July 26, 2024
Sub-100% Data Validity

from sdv.

Comments (6)

prupireddy avatar prupireddy commented on July 26, 2024 1

Since the true data type was supposed to be numerical, I followed your first suggestion and just hardcoded it to numerical (as opposed to having it get detected which gave categorical). This resolved the issue.

from sdv.

srinify avatar srinify commented on July 26, 2024

Hi there @prupireddy it looks like the reason the score isn't 100% is because the PARSynthesizer model isn't adhering to the min and max values in your original dataset column.

I have 2 questions:

  1. When you crafted your SingleTableMetadata object, what sdtype was detected or did you assign? You can run print(your_single_table_metdata_object) on your machine to look this up and just tell me the one one for this Days_Supplied column. I'm also curious what pandas DataFrame dtype this column is (int or float)?

  2. Did you set the enforce_min_max_values parameter when defining your PARSynthesizer object? Or did you skip this and just left the model use the default value?

from sdv.

prupireddy avatar prupireddy commented on July 26, 2024
  1. Categorical was detected (I didn't assign). The pandas dtype is float64.
  2. No I did not; it used the default.

Thank you

from sdv.

npatki avatar npatki commented on July 26, 2024

Hi @prupireddy and @srinify there is currently a known issue that PARSynthesizer specifically has when the column is categorical but it is represented in a float format. I wonder if this is the root cause? #1910.

I would start by confirming whether this column (Days_Supplied) was correctly detected in the metadata, as the detection is not guaranteed to be 100% accurate. Does this column truly represent discrete categories or is it numerical? To help you decide, see this sdtypes reference.

  1. If it's supposed to be numerical, please update your metadata and try with the updated version. There are currently no known bugs in PARSynthesizer for numerical data.
  2. If it's supposed to categorical, then you can try the workaround I've listed in #1910.

from sdv.

npatki avatar npatki commented on July 26, 2024

Hi @prupireddy I noticed you closed the issue. Does that mean you were able to come up with a resolution?

For our knowledge (and perhaps to help others running into the same problem), you could clarify what the issue was?

from sdv.

npatki avatar npatki commented on July 26, 2024

Great. Appreciate the confirmation!

from sdv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.