@JsonInclude(JsonInclude.Include.NON_NULL) @Getter public class LossMultiLabel extends DifferentialFunction implements ILossFunction {
@JsonInclude(JsonInclude.Include.NON_NULL) public class LossMixtureDensity extends DifferentialFunction implements ILossFunction {
@JsonInclude(JsonInclude.Include.NON_NULL) @Getter public class LossL2 extends DifferentialFunction implements ILossFunction {
@JsonInclude(JsonInclude.Include.NON_NULL) @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE, setterVisibility = JsonAutoDetect.Visibility.NONE)
@JsonInclude(JsonInclude.Include.NON_NULL) @Getter public class LossMAPE extends DifferentialFunction implements ILossFunction {
@JsonInclude(JsonInclude.Include.NON_NULL) @Getter public class LossL1 extends DifferentialFunction implements ILossFunction {
@JsonInclude(JsonInclude.Include.NON_NULL) @Getter public class LossMSLE extends DifferentialFunction implements ILossFunction {
@JsonInclude(JsonInclude.Include.NON_NULL) @Getter @Setter public class LossMCXENT extends DifferentialFunction implements ILossFunction {
@JsonInclude(JsonInclude.Include.NON_NULL) @Getter @Setter public class LossBinaryXENT extends DifferentialFunction implements ILossFunction {
@JsonInclude(JsonInclude.Include.NON_NULL) public class ScaleImageTransform extends BaseImageTransform<Mat> {
@JsonInclude(JsonInclude.Include.NON_NULL) public class FlipImageTransform extends BaseImageTransform<Mat> {
@JsonInclude(JsonInclude.Include.NON_NULL) public class ColorConversionTransform extends BaseImageTransform {
@JsonInclude(JsonInclude.Include.NON_NULL) public class ResizeImageTransform extends BaseImageTransform<opencv_core.Mat> {
@NoArgsConstructor @Data @EqualsAndHashCode(callSuper = true) @JsonInclude(JsonInclude.Include.NON_NULL) public class StyleAccordion extends Style { private StyleAccordion(Builder builder) { super(builder); } public static class Builder extends Style.Builder<Builder> { public StyleAccordion build() { return new StyleAccordion(this); } } }
/** * Div component (as in, HTML div) * * @author Alex Black */ @Data @EqualsAndHashCode(callSuper = true) @JsonInclude(JsonInclude.Include.NON_NULL) public class ComponentDiv extends Component { public static final String COMPONENT_TYPE = "ComponentDiv"; private Component[] components; public ComponentDiv() { super(COMPONENT_TYPE, null); } public ComponentDiv(Style style, Component... components) { super(COMPONENT_TYPE, style); this.components = components; } public ComponentDiv(Style style, Collection<Component> componentCollection) { this(style, (componentCollection == null ? null : componentCollection.toArray(new Component[componentCollection.size()]))); } }
@Data @NoArgsConstructor @AllArgsConstructor @JsonInclude(JsonInclude.Include.NON_NULL) public static class TimelineEntry { private String entryLabel; private long startTimeMs; private long endTimeMs; private String color; public TimelineEntry(String entryLabel, long startTimeMs, long endTimeMs) { this.entryLabel = entryLabel; this.startTimeMs = startTimeMs; this.endTimeMs = endTimeMs; } public TimelineEntry(String entryLabel, long startTimeMs, long endTimeMs, Color color) { this.entryLabel = entryLabel; this.startTimeMs = startTimeMs; this.endTimeMs = endTimeMs; this.color = Utils.colorToHex(color); } } }
@Data @EqualsAndHashCode(callSuper = true) @JsonInclude(JsonInclude.Include.NON_NULL) public class StyleDiv extends Style {
@JsonInclude(JsonInclude.Include.NON_NULL) public class ComponentText extends Component { public static final String COMPONENT_TYPE = "ComponentText";
/** * Global termination condition for conducting hyperparameter optimization. * Termination conditions are used to determine if/when the optimization should stop. */ @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class") @JsonInclude(JsonInclude.Include.NON_NULL) public interface TerminationCondition { /** * Initialize the termination condition (such as starting timers, etc). */ void initialize(IOptimizationRunner optimizationRunner); /** * Determine whether optimization should be terminated * * @param optimizationRunner Optimization runner * @return true if learning should be terminated, false otherwise */ boolean terminate(IOptimizationRunner optimizationRunner); }
@JsonInclude(JsonInclude.Include.NON_NULL) public class ComponentTable extends Component { public static final String COMPONENT_TYPE = "ComponentTable";