Game of Thrones House Predictor 🏰

Predict which Great House of Westeros a character would belong to based on their traits and attributes!

About

This model was trained using Azure ML as part of an MLOps exam project. It uses a Decision Tree classifier to predict house affiliation based on:

  • Background: Region, Role, Alignment, Status, Species
  • Attributes: Honour, Ruthlessness, Intelligence, Combat Skill, Diplomacy, Leadership (1-5 scale)
  • Personality Traits: Strategic, Impulsive, Charismatic, Vengeful, Loyal, Scheming

API Usage

import requests

response = requests.post(
    "https://huggingface.co/spaces/YOUR_USERNAME/got-house-predictor/api/predict",
    json={
        "data": [
            "The North",  # region
            "Knight",     # primary_role
            "Lawful Good", # alignment
            "Alive",      # status
            "Human",      # species
            4,            # honour
            2,            # ruthlessness
            3,            # intelligence
            4,            # combat_skill
            2,            # diplomacy
            3,            # leadership
            True,         # strategic
            False,        # impulsive
            False,        # charismatic
            False,        # vengeful
            True,         # loyal
            False         # scheming
        ]
    }
)

print(response.json())

Model Details

  • Algorithm: Decision Tree Classifier
  • Training: Azure ML SDK v2 with MLflow tracking
  • Features: One-hot encoded categorical features + numerical attributes + boolean traits

Project Structure

This is part of a larger MLOps project demonstrating:

  • Azure ML component-based pipelines
  • MLflow experiment tracking
  • Model registration and versioning
  • HuggingFace deployment

Built for MLOps Exam 2025

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support