weka.core.Utils.backQuoteChars()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(7.6k)|赞(0)|评价(0)|浏览(109)

本文整理了Java中weka.core.Utils.backQuoteChars()方法的一些代码示例,展示了Utils.backQuoteChars()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utils.backQuoteChars()方法的具体详情如下:
包路径:weka.core.Utils
类名称:Utils
方法名:backQuoteChars

Utils.backQuoteChars介绍

[英]Converts carriage returns and new lines in a string into \r and \n. Backquotes the following characters: ` " \ \t and %
[中]将字符串中的回车符和新行转换为\r和\n。将下列字符反引为“\t和%

代码示例

代码示例来源:origin: nz.ac.waikato.cms.weka/distributedWekaBase

/**
 * Returns the character used as column separator.
 *
 * @return the character to use
 */
public String getFieldSeparator() {
 return Utils.backQuoteChars(m_FieldSeparator);
}

代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Returns the character used as column separator.
 *
 * @return the character to use
 */
public String getFieldSeparator() {
 return Utils.backQuoteChars(m_FieldSeparator);
}

代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Returns the character used as column separator.
 * 
 * @return the character to use
 */
public String getFieldSeparator() {
 return Utils.backQuoteChars(m_FieldSeparator);
}

代码示例来源:origin: Waikato/weka-trunk

/**
 * Returns the character used as column separator.
 *
 * @return the character to use
 */
public String getFieldSeparator() {
 return Utils.backQuoteChars(m_FieldSeparator);
}

代码示例来源:origin: Waikato/weka-trunk

/**
 * Returns the character used as column separator.
 * 
 * @return the character to use
 */
public String getFieldSeparator() {
 return Utils.backQuoteChars(m_FieldSeparator);
}

代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Gets a text descrption of the result producer.
 * 
 * @return a text description of the result producer.
 */
@Override
public String toString() {
 String result = "CrossValidationResultProducer: ";
 result += getCompatibilityState();
 if (m_Instances == null) {
  result += ": <null Instances>";
 } else {
  result += ": " + Utils.backQuoteChars(m_Instances.relationName());
 }
 return result;
}

代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Gets a text descrption of the result producer.
 * 
 * @return a text description of the result producer.
 */
@Override
public String toString() {
 String result = "AveragingResultProducer: ";
 result += getCompatibilityState();
 if (m_Instances == null) {
  result += ": <null Instances>";
 } else {
  result += ": " + Utils.backQuoteChars(m_Instances.relationName());
 }
 return result;
}

代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Gets a text descrption of the result producer.
 * 
 * @return a text description of the result producer.
 */
@Override
public String toString() {
 String result = "RandomSplitResultProducer: ";
 result += getCompatibilityState();
 if (m_Instances == null) {
  result += ": <null Instances>";
 } else {
  result += ": " + Utils.backQuoteChars(m_Instances.relationName());
 }
 return result;
}

代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Gets a text descrption of the result producer.
 * 
 * @return a text description of the result producer.
 */
@Override
public String toString() {
 String result = "CrossValidationSplitResultProducer: ";
 result += getCompatibilityState();
 if (m_Instances == null) {
  result += ": <null Instances>";
 } else {
  result += ": " + Utils.backQuoteChars(m_Instances.relationName());
 }
 return result;
}

代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Gets a text descrption of the result producer.
 * 
 * @return a text description of the result producer.
 */
@Override
public String toString() {
 String result = "DatabaseResultProducer: ";
 result += getCompatibilityState();
 if (m_Instances == null) {
  result += ": <null Instances>";
 } else {
  result += ": " + Utils.backQuoteChars(m_Instances.relationName());
 }
 return result;
}

代码示例来源:origin: Waikato/weka-trunk

/**
 * Gets a text descrption of the result producer.
 * 
 * @return a text description of the result producer.
 */
@Override
public String toString() {
 String result = "CrossValidationResultProducer: ";
 result += getCompatibilityState();
 if (m_Instances == null) {
  result += ": <null Instances>";
 } else {
  result += ": " + Utils.backQuoteChars(m_Instances.relationName());
 }
 return result;
}

代码示例来源:origin: Waikato/weka-trunk

/**
 * Gets a text descrption of the result producer.
 * 
 * @return a text description of the result producer.
 */
@Override
public String toString() {
 String result = "RandomSplitResultProducer: ";
 result += getCompatibilityState();
 if (m_Instances == null) {
  result += ": <null Instances>";
 } else {
  result += ": " + Utils.backQuoteChars(m_Instances.relationName());
 }
 return result;
}

代码示例来源:origin: Waikato/weka-trunk

/**
 * Gets a text descrption of the result producer.
 * 
 * @return a text description of the result producer.
 */
@Override
public String toString() {
 String result = "ExplicitTestsetResultProducer: ";
 result += getCompatibilityState();
 if (m_Instances == null) {
  result += ": <null Instances>";
 } else {
  result += ": " + Utils.backQuoteChars(m_Instances.relationName());
 }
 return result;
}

代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Gets a text descrption of the result producer.
 * 
 * @return a text description of the result producer.
 */
@Override
public String toString() {
 String result = "ExplicitTestsetResultProducer: ";
 result += getCompatibilityState();
 if (m_Instances == null) {
  result += ": <null Instances>";
 } else {
  result += ": " + Utils.backQuoteChars(m_Instances.relationName());
 }
 return result;
}

代码示例来源:origin: Waikato/weka-trunk

/**
 * Gets a text descrption of the result producer.
 * 
 * @return a text description of the result producer.
 */
@Override
public String toString() {
 String result = "CrossValidationSplitResultProducer: ";
 result += getCompatibilityState();
 if (m_Instances == null) {
  result += ": <null Instances>";
 } else {
  result += ": " + Utils.backQuoteChars(m_Instances.relationName());
 }
 return result;
}

代码示例来源:origin: Waikato/weka-trunk

/**
 * Gets a text descrption of the result producer.
 * 
 * @return a text description of the result producer.
 */
@Override
public String toString() {
 String result = "DatabaseResultProducer: ";
 result += getCompatibilityState();
 if (m_Instances == null) {
  result += ": <null Instances>";
 } else {
  result += ": " + Utils.backQuoteChars(m_Instances.relationName());
 }
 return result;
}

代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Gets a text descrption of the result producer.
 * 
 * @return a text description of the result producer.
 */
@Override
public String toString() {
 String result = "LearningRateResultProducer: ";
 result += getCompatibilityState();
 if (m_Instances == null) {
  result += ": <null Instances>";
 } else {
  result += ": " + Utils.backQuoteChars(m_Instances.relationName());
 }
 return result;
}

代码示例来源:origin: Waikato/weka-trunk

/**
 * Gets a text descrption of the result producer.
 * 
 * @return a text description of the result producer.
 */
@Override
public String toString() {
 String result = "AveragingResultProducer: ";
 result += getCompatibilityState();
 if (m_Instances == null) {
  result += ": <null Instances>";
 } else {
  result += ": " + Utils.backQuoteChars(m_Instances.relationName());
 }
 return result;
}

代码示例来源:origin: net.sf.meka/meka

/**
 * Returns the options.
 *
 * @return              the options
 */
@Override
public String[] getOptions() {
  List<String> result = new ArrayList<>();
  OptionUtils.add(result, "notes", Utils.backQuoteChars(getNotes()));
  OptionUtils.add(result, 'C', getClassifiers());
  OptionUtils.add(result, 'D', getDatasetProvider());
  OptionUtils.add(result, 'E', getEvaluator());
  OptionUtils.add(result, 'S', getStatisticsHandler());
  return OptionUtils.toArray(result);
}

代码示例来源:origin: Waikato/meka

/**
 * Returns the options.
 *
 * @return              the options
 */
@Override
public String[] getOptions() {
  List<String> result = new ArrayList<>();
  OptionUtils.add(result, "notes", Utils.backQuoteChars(getNotes()));
  OptionUtils.add(result, 'C', getClassifiers());
  OptionUtils.add(result, 'D', getDatasetProvider());
  OptionUtils.add(result, 'E', getEvaluator());
  OptionUtils.add(result, 'S', getStatisticsHandler());
  return OptionUtils.toArray(result);
}

相关文章