File size: 1,713 Bytes
4b6c091
074528e
 
 
 
4b6c091
074528e
4b6c091
 
 
074528e
 
5256800
 
074528e
5256800
074528e
5256800
 
 
 
 
4b6c091
 
074528e
aff826c
 
 
 
5256800
aff826c
 
5256800
aff826c
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
title: Pokémon Price Predictor
emoji: 🃏
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: 4.38.1
app_file: app.py
pinned: false
license: mit
tags:
  - pytorch
  - scikit-learn
  - gradio
  - machine-learning
  - tabular-classification
  - price-prediction
  - finance
  - pokemon
  - pokemon-cards
  - tcg
  - collectibles
---

## PokePrice: Pokémon Card Price Trend Predictor

This application uses a PyTorch-based neural network to predict whether the market price of a specific Pokémon card will rise by 30% or more over the next six months.

### How It Works
1.  **Enter a Card ID:** Input the numeric TCGPlayer ID for a specific Pokémon card. You can find this ID in the URL of the card's page on the TCGPlayer website (e.g., `tcgplayer.com/product/84198/...`).
2.  **Get Prediction:** The model analyzes various features of the selected card, such as its rarity, type, and historical price data, to make a prediction.
3.  **View Results:** The application displays:
    *   The card's name and the prediction (whether the price is expected to **RISE** or **NOT RISE**).
    *   The model's confidence level in the prediction.
    *   A direct link to view the card on TCGPlayer.com.
    *   The actual historical outcome if it exists in the dataset, for comparison.

### The Technology
-   **Model:** A simple feed-forward neural network built with PyTorch.
-   **Data:** The model was trained on a custom dataset derived from the [Pokémon TCG API](https://pokemontcg.io/) and historical market data from TCGPlayer.
-   **Frontend:** The user interface is created with [Gradio](https://www.gradio.app/).
-   **Deployment:** Hosted on [Hugging Face Spaces](https://huggingface.co/spaces).