Knowledge Graph — Coursera NotesOrganizationsMicrosoftAzureAzure Kubernetes Service (AKS)

Entry Script (score.py)

feature · part of Azure Kubernetes Service (AKS)

The entry script is a Python file (e.g., score.py) that defines how the model is loaded and how predictions are made. It contains:

def init():
    model = joblib.load('sklearn-regression-model.pkl')

def run(raw_data):
    try:
        data = json.loads(raw_data)['data']
        data = np.array(data)
        result = model.predict(data)
        return result.tolist()
    except Exception as e:
        return str(e)

This is the text view of an interactive 3D knowledge graph — open this page with JavaScript enabled to explore it visually.

🧠 Knowledge Graph

Select a node

The owner's editing tools — shown here so you can see how the graph is grown, but read-only.

Click a bubble to drill in · click again to collapse · drag to move around