public final MLTrain create(final MLMethod method,
final MLDataSet training,
final String argsStr) {
if (!(method instanceof BasicNetwork)) {
throw new EncogError(
"LMA training cannot be used on a method of type: "
+ method.getClass().getName());
}
final Map<String, String> args = ArchitectureParse.parseParams(argsStr);