{"id":31192193,"url":"https://github.com/feedzai/tred","last_synced_at":"2025-10-07T09:50:27.397Z","repository":{"id":315227963,"uuid":"1000094499","full_name":"feedzai/tred","owner":"feedzai","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-17T10:39:53.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-17T12:37:03.378Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feedzai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-11T08:57:05.000Z","updated_at":"2025-09-17T10:39:57.000Z","dependencies_parsed_at":"2025-09-17T12:37:06.906Z","dependency_job_id":"f18b4373-ffac-4c45-a580-8d62e06c988e","html_url":"https://github.com/feedzai/tred","commit_stats":null,"previous_names":["feedzai/tred"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/feedzai/tred","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2Ftred","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2Ftred/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2Ftred/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2Ftred/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feedzai","download_url":"https://codeload.github.com/feedzai/tred/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2Ftred/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278755132,"owners_count":26040026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-19T23:40:45.837Z","updated_at":"2025-10-07T09:50:27.392Z","avatar_url":"https://github.com/feedzai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TrED Evaluation Framework\n\nThis repository provides the official implementation of the Evaluation Framework for Transfer Learning in Evolving Domains (TrED).\nIt has been developed to support research and applied work in scenarios where data from multiple domains evolves over time, a common challenge in real-world applications such as fraud detection.\n\nThe framework allows researchers and practitioners to:\n- load and/or sample datasets from different domains, to study many transfer learning scenarios;\n- apply controlled transformations to the data, to mimic realistic shifts over time and across domains;\n- simulate the gradual arrival of both data and labels over time.\n\n\n## Quickstart\n\nInstall dependencies:\n```bash\npip install -r requirements.txt\n```\n\nRun an experiment:\n```bash\npython src/tred/experiments/evaluation_over_time1.py -c experiments/config.yaml -d cpu -r test_run --trial_start 0 --trial_end 4\n```\n\n\n## Repo structure\n```\n|\n|-- datasets/          # Raw dataset folders\n|\n|-- experiments/       # Configurations and results from experiments\n|\n|-- notebooks/         # Jupyter notebooks for exploration and examples\n|\n|-- src/tred/          # Source code for the framework\n| |-- datasets/        # Dataset loaders\n| |-- domain_samplers/ # Domain samplers\n| |-- experiments/     # Experiment executables and scheduler logic\n| |-- methods/         # Implementations of transfer learning methods\n| |-- models/          # Base models used by TL methods\n| |-- transformations/ # Dataset transformations\n| |-- utils/           # Utility functions and helpers\n|\n|-- README.md          # Project documentation\n|-- requirements.txt   # Python dependencies\n```\n\n\n\n## Extending the Framework\n\nThe framework was designed to be modular and easily extensible, to meet the requirements of various use cases. You can add:\n- new datasets by extending `src/tred/datasets/`;\n- new methods by extending `src/tred/methods/`;\n- new experimental setups by extending `src/tred/experiments/`.\n\n\n## Citation\n\nIf you use this framework in your work, please cite:\n```\n@inproceedings{\n  title = {Evaluating Transfer Learning Methods on Real-World Data Streams: A Case Study in Financial Fraud Detection},\n  author = {Ricardo Ribeiro Pereira, Jacopo Bono, Hugo Ferreira, Pedro Ribeiro, Carlos Soares, Pedro Bizarro},\n  booktitle = {Proceedings of the European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases (ECML PKDD)},\n  year = {2025},\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeedzai%2Ftred","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeedzai%2Ftred","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeedzai%2Ftred/lists"}