--- title: Concept Drift Simulator emoji: ๐Ÿ“Š colorFrom: blue colorTo: purple sdk: gradio sdk_version: 5.9.1 app_file: app.py pinned: false license: mit --- # Concept Drift Simulator ์ปจ์…‰ ๋“œ๋ฆฌํ”„ํŠธ(Concept Drift)์˜ 4๊ฐ€์ง€ ์ฃผ์š” ์œ ํ˜•์„ ์‹œ๋ฎฌ๋ ˆ์ด์…˜ํ•˜๊ณ  ์‹œ๊ฐํ™”ํ•˜๋Š” ์ธํ„ฐ๋ž™ํ‹ฐ๋ธŒ ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์ž…๋‹ˆ๋‹ค. **๐Ÿš€ Live Demo:** [https://huggingface.co/spaces/yoon-gu/concept-drift-simulator](https://huggingface.co/spaces/yoon-gu/concept-drift-simulator) ## ์ฃผ์š” ๊ธฐ๋Šฅ 4๊ฐ€์ง€ ์ปจ์…‰ ๋“œ๋ฆฌํ”„ํŠธ ์œ ํ˜• ์‹œ๋ฎฌ๋ ˆ์ด์…˜: 1. **Sudden (๊ธ‰๊ฒฉํ•œ ๋“œ๋ฆฌํ”„ํŠธ)**: ํŠน์ • ์‹œ์ ์—์„œ ๋ฐ์ดํ„ฐ ๋ถ„ํฌ๊ฐ€ ๊ฐ‘์ž๊ธฐ ๋ณ€๊ฒฝ 2. **Gradual (์ ์ง„์  ๋“œ๋ฆฌํ”„ํŠธ)**: ์ด์ „ ๋ถ„ํฌ์™€ ์ƒˆ ๋ถ„ํฌ๊ฐ€ ์„ž์ด๋ฉฐ ์ฒœ์ฒœํžˆ ์ „ํ™˜ 3. **Incremental (์ฆ๋ถ„์  ๋“œ๋ฆฌํ”„ํŠธ)**: ์ž‘์€ ๋‹จ๊ณ„๋กœ ๋ณ€ํ™”๊ฐ€ ๋ฐœ์ƒํ•˜์—ฌ ๊ณ„๋‹จ์‹ ํŒจํ„ด ํ˜•์„ฑ 4. **Recurring (๋ฐ˜๋ณต์  ๋“œ๋ฆฌํ”„ํŠธ)**: ์ด์ „ ๋ถ„ํฌ๊ฐ€ ์ฃผ๊ธฐ์ ์œผ๋กœ ๋‹ค์‹œ ๋‚˜ํƒ€๋‚จ ## ๊ธฐ์ˆ  ์Šคํƒ - **Gradio**: ์ธํ„ฐ๋ž™ํ‹ฐ๋ธŒ UI ๊ตฌ์„ฑ - **Plotly**: ๋™์  ์‹œ๊ฐํ™” - **NumPy**: ๋ฐ์ดํ„ฐ ์ƒ์„ฑ ๋ฐ ๋ถ„์„ ## ์„ค์น˜ ๋ฐ ์‹คํ–‰ ```bash # ์˜์กด์„ฑ ์„ค์น˜ pip install -r requirements.txt # ์•ฑ ์‹คํ–‰ python app.py ``` ๋ธŒ๋ผ์šฐ์ €์—์„œ `http://localhost:7860` ์ ‘์† ## ์‚ฌ์šฉ ๋ฐฉ๋ฒ• 1. ์™ผ์ชฝ ํŒจ๋„์—์„œ ๋“œ๋ฆฌํ”„ํŠธ ์œ ํ˜• ์„ ํƒ 2. "์‹œ๋ฎฌ๋ ˆ์ด์…˜ ์‹คํ–‰" ๋ฒ„ํŠผ ํด๋ฆญ 3. ์˜ค๋ฅธ์ชฝ์— ์ธํ„ฐ๋ž™ํ‹ฐ๋ธŒ Plotly ์ฐจํŠธ์™€ ๋ถ„์„ ๊ฒฐ๊ณผ ํ™•์ธ ## ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ ``` concept-drift/ โ”œโ”€โ”€ app.py # Gradio ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ โ”œโ”€โ”€ drift_simulator.py # ๋“œ๋ฆฌํ”„ํŠธ ๋ฐ์ดํ„ฐ ์ƒ์„ฑ โ”œโ”€โ”€ visualizer.py # Plotly ์‹œ๊ฐํ™” โ”œโ”€โ”€ analyzer.py # ๋“œ๋ฆฌํ”„ํŠธ ๋ถ„์„ โ”œโ”€โ”€ requirements.txt # ํŒจํ‚ค์ง€ ์˜์กด์„ฑ โ””โ”€โ”€ README.md ``` ## Hugging Face Spaces ๋ฐฐํฌ๋œ ์•ฑ: https://huggingface.co/spaces/yoon-gu/concept-drift-simulator ## ๋ผ์ด์„ ์Šค MIT License