Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
pd.qcut(..., duplicates='drop')and added anassign_tiershelper that adapts the number of labels to available bins and falls back to ranking when necessary; changes made inhemmah_pro_ivs_2025.py(location feature engineering).Amiri) were added and to use asafe_latin1fallback plus arenderhelper so text written with FPDF will not raiseUnicodeEncodeErrorwhen Arabic fonts are missing.Testing
sample_real_estate.csv, loaded it withHemmahDataEngine, ranivs_quality_check(), executedclean_and_engineer(), prepared modeling data, trained multiple models withHemmahMLEngine.train_multiple_models(), performed apredict()on a sample input, and generated a PDF viaHemmahReportGenerator.generate_pdf(); this automated test completed successfully.total_records: 200,unique_pct: 100.0,predicted_price_per_sqm: 576.2103499146549,confidence_interval: {"lower": 489.77879742745665, "upper": 662.641902401853},model_used: "Random Forest",r2_score: 0.43099558871266896, and generatedtest_hemmah_report.pdf.Codex Task