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

Added Evluation Metrics (F1, Confusion Matrix and AUC) to eval.py #169 #195

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SakshamJain24
Copy link

Evaluation Metrics:

Added a confusion matrix, F1 score, and AUC (Area Under the Curve) to the evaluation.
Calculate and print these metrics after evaluating the model.
Replacements for Deprecated Methods:

Replace tf.flags with absl flags, including importing and defining flags using absl flags.
Remove tf.app.run() and use app.run(main) to parse the flags and run the main function.

Replacing contrib.learn.DNNClassifier:
Import the tf.estimator library.

These changes aimed to modernize the code for compatibility with TensorFlow 2.x and enhance the evaluation process with additional metrics.

@SakshamJain24 SakshamJain24 changed the title Added Evluation Metrics (F1, Confusion Matrix and AUC) #169 Added Evluation Metrics (F1, Confusion Matrix and AUC) to eval.py#169 Apr 15, 2024
@SakshamJain24 SakshamJain24 changed the title Added Evluation Metrics (F1, Confusion Matrix and AUC) to eval.py#169 Added Evluation Metrics (F1, Confusion Matrix and AUC) to eval.py #169 Apr 15, 2024
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

Successfully merging this pull request may close these issues.

None yet

1 participant