Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while calculating ROC - Decimal type not json serialisable #2043

Open
RobinL opened this issue Mar 11, 2024 Discussed in #2042 · 1 comment
Open

Issue while calculating ROC - Decimal type not json serialisable #2043

RobinL opened this issue Mar 11, 2024 Discussed in #2042 · 1 comment

Comments

@RobinL
Copy link
Member

RobinL commented Mar 11, 2024

Discussed in #2042

Originally posted by shivam221098 March 11, 2024
When I try to get the roc curve using the roc_chart_from_labels_column method, I get this error. Don't know how can I solve this as I don't have any of my methods used in the code. Just created a model using

spark_df = spark.read.csv("gs://temp_csv.csv", header=True)
linker = SparkLinker(spark_df, settings, spark=spark)
    
# probablity two random records match
linker.estimate_probability_two_random_records_match(deterministic_rules, recall=0.8)

linker.estimate_u_using_random_sampling(max_pairs=1e7)  # u estimation

linker.estimate_m_from_label_column("column_label")

After above, I just save the model into dictionary and when I apply a method, I get this error.

image

@RobinL
Copy link
Member Author

RobinL commented Mar 11, 2024

Likely same root cause as #1893

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant