public class TrainUtil
extends java.lang.Object
Constructor and Description |
---|
TrainUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isSequenceTraining(java.util.Map<java.lang.String,java.lang.String> trainParams)
Deprecated.
Use
TrainerFactory.isSequenceTraining(Map) instead. |
static boolean |
isValid(java.util.Map<java.lang.String,java.lang.String> trainParams)
Deprecated.
Use
TrainerFactory.isValid(Map) instead. |
static MaxentModel |
train(ObjectStream<Event> events,
java.util.Map<java.lang.String,java.lang.String> trainParams,
java.util.Map<java.lang.String,java.lang.String> reportMap)
Deprecated.
Use
TrainerFactory.getEventTrainer(Map, Map) to get an
EventTrainer instead. |
static MaxentModel |
train(SequenceStream events,
java.util.Map<java.lang.String,java.lang.String> trainParams,
java.util.Map<java.lang.String,java.lang.String> reportMap)
Deprecated.
Use
TrainerFactory.getSequenceTrainer(Map, Map) to get an
EventModelSequenceTrainer instead. |
public static boolean isValid(java.util.Map<java.lang.String,java.lang.String> trainParams)
TrainerFactory.isValid(Map)
instead.public static MaxentModel train(ObjectStream<Event> events, java.util.Map<java.lang.String,java.lang.String> trainParams, java.util.Map<java.lang.String,java.lang.String> reportMap) throws java.io.IOException
TrainerFactory.getEventTrainer(Map, Map)
to get an
EventTrainer
instead.java.io.IOException
public static boolean isSequenceTraining(java.util.Map<java.lang.String,java.lang.String> trainParams)
TrainerFactory.isSequenceTraining(Map)
instead.public static MaxentModel train(SequenceStream events, java.util.Map<java.lang.String,java.lang.String> trainParams, java.util.Map<java.lang.String,java.lang.String> reportMap) throws java.io.IOException
TrainerFactory.getSequenceTrainer(Map, Map)
to get an
EventModelSequenceTrainer
instead.java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved