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

Refactor Redundant Printing Statements in Model Evaluation #71

Closed
1 task done
spandana2004 opened this issue Oct 6, 2024 · 4 comments
Closed
1 task done

Refactor Redundant Printing Statements in Model Evaluation #71

spandana2004 opened this issue Oct 6, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request gssoc-ext GSSoC'24 Extended Version hacktoberfest Hacktober Collaboration hacktoberfest-accepted Hacktoberfest 2024 level2 25 Points 🥈(GSSoC)

Comments

@spandana2004
Copy link
Contributor

spandana2004 commented Oct 6, 2024

Is this a unique feature?

  • I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.

The current implementation of the model training and evaluation process includes repeated printing statements for both training and evaluation metrics across different models. This redundancy can lead to difficulties in maintaining the code and may clutter the output.

Proposed Solution

To streamline the code, I suggest creating a single function that handles the printing of evaluation metrics. Additionally, we can utilize a loop to process each model, reducing redundancy and improving code readability.

Screenshots

No response

Do you want to work on this issue?

Yes

If "yes" to above, please explain how you would technically implement this (issue will not be assigned if this is skipped)

Steps to Reproduce:
Review the current implementation of the model training and evaluation process.
Observe the repeated printing statements for each model's metrics.
Implement the proposed solution to refactor the code.

@rohitinu6 can u pls assign this to me?

@spandana2004 spandana2004 added the enhancement New feature or request label Oct 6, 2024
@rohitinu6 rohitinu6 added gssoc-ext GSSoC'24 Extended Version hacktoberfest-accepted Hacktoberfest 2024 level2 25 Points 🥈(GSSoC) hacktoberfest Hacktober Collaboration labels Oct 6, 2024
@rohitinu6
Copy link
Owner

@spandana2004 , Please ensure you star this repo

@spandana2004
Copy link
Contributor Author

ok sir.

@jvedsaqib
Copy link
Collaborator

@spandana2004 can you provide any screenshot before I merge your PR?

Copy link
Contributor

✅ This issue has been successfully closed. Thank you for your contribution and helping us improve the project! If you have any more ideas or run into other issues, feel free to open a new one. Happy coding! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc-ext GSSoC'24 Extended Version hacktoberfest Hacktober Collaboration hacktoberfest-accepted Hacktoberfest 2024 level2 25 Points 🥈(GSSoC)
Projects
None yet
Development

No branches or pull requests

3 participants