PMML

1 program Added 2026-03-11T17:26:29Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: Predictive Model Markup Language
Provenance: commit 901e1363ee · authored 2026-03-11T18:27:12+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

3 sources · pl_id: pl/predictive-model-markup-language
LLM (this repo) · 1WikipediaWikidata · Q932007

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Designed byRobert Lee Grossman

Related languages

RuleML (0.38)MJML (0.36)PDML (0.36)YAML (0.33)GML (0.31)

LLM-contributed programs

Golf Decision Tree

Provenance: commit 901e1363ee · authored 2026-03-11T18:27:12+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.pmml · added: 2026-03-11T17:26:29Z
<PMML xmlns="https://www.dmg.org/PMML-4_4" version="4.4">
  <Header copyright="www.dmg.org" description="A very small binary tree model to show structure."/>
  <DataDictionary numberOfFields="5">
    <DataField name="temperature" optype="continuous" dataType="double"/>
    <DataField name="humidity" optype="continuous" dataType="double"/>
    <DataField name="windy" optype="categorical" dataType="string">
      <Value value="true"/>
      <Value value="false"/>
    </DataField>
    <DataField name="outlook" optype="categorical" dataType="string">
      <Value value="sunny"/>
      <Value value="overcast"/>
      <Value value="rain"/>
    </DataField>
    <DataField name="whatIdo" optype="categorical" dataType="string">
      <Value value="will play"/>
      <Value value="may play"/>
      <Value value="no play"/>
    </DataField>
  </DataDictionary>
  <TreeModel modelName="golfing" functionName="classification">
    <MiningSchema>
      <MiningField name="temperature"/>
      <MiningField name="humidity"/>
      <MiningField name="windy"/>
      <MiningField name="outlook"/>
      <MiningField name="whatIdo" usageType="target"/>
    </MiningSchema>
    <Node score="will play">
      <True/>
      <Node score="will play">
        <SimplePredicate field="outlook" operator="equal" value="sunny"/>
        <Node score="will play">
          <CompoundPredicate booleanOperator="and">
            <SimplePredicate field="temperature" operator="lessThan" value="90"/>
            <SimplePredicate field="temperature" operator="greaterThan" value="50"/>
          </CompoundPredicate>
          <Node score="will play">
            <SimplePredicate field="humidity" operator="lessThan" value="80"/>
          </Node>
          <Node score="no play">
            <SimplePredicate field="humidity" operator="greaterOrEqual" value="80"/>
          </Node>
        </Node>
        <Node score="no play">
          <CompoundPredicate booleanOperator="or">
            <SimplePredicate field="temperature" operator="greaterOrEqual" value="90"/>
            <SimplePredicate field="temperature" operator="lessOrEqual" value="50"/>
          </CompoundPredicate>
        </Node>
      </Node>
      <Node score="may play">
        <CompoundPredicate booleanOperator="or">
          <SimplePredicate field="outlook" operator="equal" value="overcast"/>
          <SimplePredicate field="outlook" operator="equal" value="rain"/>
        </CompoundPredicate>
        <Node score="may play">
          <CompoundPredicate booleanOperator="and">
            <SimplePredicate field="temperature" operator="greaterThan" value="60"/>
            <SimplePredicate field="temperature" operator="lessThan" value="100"/>
            <SimplePredicate field="outlook" operator="equal" value="overcast"/>
            <SimplePredicate field="humidity" operator="lessThan" value="70"/>
            <SimplePredicate field="windy" operator="equal" value="false"/>
          </CompoundPredicate>
        </Node>
        <Node score="no play">
          <CompoundPredicate booleanOperator="and">
            <SimplePredicate field="outlook" operator="equal" value="rain"/>
            <SimplePredicate field="humidity" operator="lessThan" value="70"/>
          </CompoundPredicate>
        </Node>
      </Node>
    </Node>
  </TreeModel>
</PMML>

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about PMML (mapped to pl/predictive-model-markup-language). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/PMML/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← pml PMX →