org.dmg.pmml.ScoreFrequency Maven / Gradle / Ivy
/*
* Copyright (c) 2022 Villu Ruusmann
*/
package org.dmg.pmml;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonRootName;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
import org.jpmml.model.annotations.CopyConstructor;
import org.jpmml.model.annotations.Property;
import org.jpmml.model.annotations.ValueConstructor;
@XmlRootElement(name = "ScoreDistribution", namespace = "http://www.dmg.org/PMML-4_4")
@XmlType(name = "")
@JsonRootName("ScoreDistribution")
@JsonPropertyOrder({
"value",
"recordCount"
})
public class ScoreFrequency extends SimpleScoreDistribution {
public ScoreFrequency(){
}
@ValueConstructor
public ScoreFrequency(@Property("value") Object value, @Property("recordCount") Number recordCount){
super(value, recordCount);
}
@CopyConstructor
public ScoreFrequency(ScoreDistribution scoreDistribution){
super(scoreDistribution);
}
}