de.lmu.ifi.dbs.elki.utilities.documentation.Reference类的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(11.6k)|赞(0)|评价(0)|浏览(112)

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

Reference介绍

暂无

代码示例

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki

  1. /**
  2. * Dummy method, just to attach a third reference.
  3. */
  4. @Reference(authors = "L. R. Dice", title = "Measures of the Amount of Ecologic Association Between Species", booktitle = "Ecology 26 (3)")
  5. static void thirdReference() {
  6. // Empty, just to attach a second reference
  7. };

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki

  1. @Override
  2. public int compare(Pair<Reference, TreeSet<Object>> p1, Pair<Reference, TreeSet<Object>> p2) {
  3. final Object o1 = p1.second.first(), o2 = p2.second.first();
  4. int c = COMPARATOR.compare(o1, o2);
  5. if(c == 0) {
  6. Reference r1 = p1.first, r2 = p2.first;
  7. c = compareNull(r1.title(), r2.title());
  8. c = (c != 0) ? c : compareNull(r1.authors(), r2.authors());
  9. c = (c != 0) ? c : compareNull(r1.booktitle(), r2.booktitle());
  10. }
  11. return c;
  12. }

代码示例来源:origin: elki-project/elki

  1. if(!ref.prefix().isEmpty()) {
  2. Element prediv = htmldoc.createElement(HTMLUtil.HTML_DIV_TAG);
  3. prediv.setTextContent(ref.prefix());
  4. classdd.appendChild(prediv);
  5. authorsdiv.setTextContent(ref.authors());
  6. classdd.appendChild(authorsdiv);
  7. titleb.setTextContent(ref.title());
  8. titlediv.appendChild(titleb);
  9. classdd.appendChild(titlediv);
  10. if(!ref.booktitle().isEmpty()) {
  11. Element booktitlediv = htmldoc.createElement(HTMLUtil.HTML_DIV_TAG);
  12. booktitlediv.setTextContent("In: " + ref.booktitle());
  13. if(ref.booktitle().startsWith("Online:")) {
  14. booktitlediv.setTextContent(ref.booktitle());
  15. if(!ref.url().isEmpty()) {
  16. Element urldiv = htmldoc.createElement(HTMLUtil.HTML_DIV_TAG);
  17. Element urla = htmldoc.createElement(HTMLUtil.HTML_A_TAG);
  18. urla.setAttribute(HTMLUtil.HTML_HREF_ATTRIBUTE, ref.url());
  19. urla.setTextContent(ref.url());
  20. urldiv.appendChild(urla);
  21. classdd.appendChild(urldiv);
  22. if(!ref.bibkey().isEmpty()) {
  23. if(ref.bibkey().startsWith(DBLPPREFIX)) {
  24. Element urldiv = htmldoc.createElement(HTMLUtil.HTML_DIV_TAG);

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki

  1. if(ref.prefix().length() > 0) {
  2. refstreamW.println(indent + ref.prefix() + " [[br]]");
  3. refstreamW.println(indent + "By: " + ref.authors() + " [[br]]");
  4. refstreamW.println(indent + "'''" + ref.title() + "'''" + " [[br]]");
  5. if(ref.booktitle().length() > 0) {
  6. String prefix = ref.booktitle().startsWith("Online:") ? "" : "In: ";
  7. refstreamW.println(indent + prefix + ref.booktitle() + " [[br]]");
  8. if(ref.url().length() > 0) {
  9. refstreamW.println(indent + "Online: [" + ref.url() + "][[br]]");

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki

  1. /**
  2. * Get the canonical bandwidth for this kernel.
  3. *
  4. * Note: R uses a different definition of "canonical bandwidth", and also uses
  5. * differently scaled kernels.
  6. *
  7. * @return Canonical bandwidth
  8. */
  9. @Reference(authors = "J.S. Marron, D. Nolan", title = "Canonical kernels for density estimation", booktitle = "Statistics & Probability Letters, Volume 7, Issue 3", url = "http://dx.doi.org/10.1016/0167-7152(88)90050-8")
  10. public double canonicalBandwidth();

代码示例来源:origin: elki-project/elki

  1. out.lf();
  2. if(!ref.prefix().isEmpty()) {
  3. out.escaped(ref.prefix()).lf();
  4. .append(ref.authors()).lf() //
  5. .append("**").escaped(ref.title()).append("**").lf();
  6. if(!ref.booktitle().isEmpty() && !ref.booktitle().equals(ref.url()) && !ref.booktitle().equals("Online")) {
  7. out.append(ref.booktitle().startsWith("Online:") ? "" : "In: ").escaped(ref.booktitle()).lf();
  8. if(!ref.url().isEmpty()) {
  9. if(ref.url().startsWith(DOIPREFIX)) {
  10. out.append("[DOI:").append(ref.url(), DOIPREFIX.length(), ref.url().length())//
  11. .append("](").append(ref.url()).append(')').lf();
  12. out.append("Online: <").append(ref.url()).append('>').lf();
  13. if(!ref.bibkey().isEmpty()) {
  14. if(ref.bibkey().startsWith(DBLPPREFIX)) {
  15. out.append("[DBLP:").append(ref.bibkey(), DBLPPREFIX.length(), ref.bibkey().length())//
  16. .append("](").append(DBLPURL)//
  17. .append(ref.bibkey(), DBLPPREFIX.length(), ref.bibkey().length()).append(')').lf();
  18. out.nl().append("<!-- ").append(ref.bibkey()).append(" -->").lf();

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki

  1. /**
  2. * Dummy method, just to attach a second reference.
  3. */
  4. @Reference(authors = "T. Sørensen", title = "A method of establishing groups of equal amplitude in plant sociology based on similarity of species and its application to analyses of the vegetation on Danish commons", booktitle = "Kongelige Danske Videnskabernes Selskab 5 (4)")
  5. static void secondReference() {
  6. // Empty, just to attach a second reference
  7. };

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki

  1. if(ref.prefix().length() > 0) {
  2. Element prediv = htmldoc.createElement(HTMLUtil.HTML_DIV_TAG);
  3. prediv.setTextContent(ref.prefix());
  4. classdd.appendChild(prediv);
  5. authorsdiv.setTextContent(ref.authors());
  6. classdd.appendChild(authorsdiv);
  7. titleb.setTextContent(ref.title());
  8. titlediv.appendChild(titleb);
  9. classdd.appendChild(titlediv);
  10. if(ref.booktitle().length() > 0) {
  11. Element booktitlediv = htmldoc.createElement(HTMLUtil.HTML_DIV_TAG);
  12. booktitlediv.setTextContent("In: " + ref.booktitle());
  13. if(ref.booktitle().startsWith("Online:")) {
  14. booktitlediv.setTextContent(ref.booktitle());
  15. if(ref.url().length() > 0) {
  16. Element urldiv = htmldoc.createElement(HTMLUtil.HTML_DIV_TAG);
  17. Element urla = htmldoc.createElement(HTMLUtil.HTML_A_TAG);
  18. urla.setAttribute(HTMLUtil.HTML_HREF_ATTRIBUTE, ref.url());
  19. urla.setTextContent(ref.url());
  20. urldiv.appendChild(urla);
  21. classdd.appendChild(urldiv);

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki

  1. /**
  2. * Secondary reference.
  3. */
  4. @Reference(authors = "Hans-Peter Kriegel, Peer Kröger, Erich Schubert, Arthur Zimek", title = "Outlier Detection in Arbitrarily Oriented Subspaces", booktitle = "Proc. IEEE International Conference on Data Mining (ICDM 2012)")
  5. public static final void secondReference() {
  6. // Dummy, reference attachment point only.
  7. }

代码示例来源:origin: elki-project/elki

  1. if(!ref.prefix().isEmpty()) {
  2. println(buf, width, ref.prefix());
  3. println(buf, width, ref.authors());
  4. println(buf, width, ref.title());
  5. println(buf, width, ref.booktitle());
  6. if(ref.url().length() > 0) {
  7. println(buf, width, ref.url());

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki

  1. /**
  2. * Get the set matchings purity (first:second clustering) (normalized, 1 =
  3. * equal)
  4. *
  5. * @return purity
  6. */
  7. @Reference(authors = "Zhao, Y. and Karypis, G.", //
  8. title = "Criterion functions for document clustering: Experiments and analysis", //
  9. booktitle = "University of Minnesota, Department of Computer Science, Technical Report 01-40, 2001", //
  10. url = "http://www-users.cs.umn.edu/~karypis/publications/Papers/PDF/vscluster.pdf")
  11. public double purity() {
  12. return smPurity;
  13. }

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki

  1. if(ref.prefix().length() > 0) {
  2. println(buf, width, ref.prefix(), "");
  3. println(buf, width, ref.authors() + ":", "");
  4. println(buf, width, ref.title(), " ");
  5. println(buf, width, "in: " + ref.booktitle(), "");
  6. if(ref.url().length() > 0) {
  7. println(buf, width, "see also: " + ref.url(), "");

代码示例来源:origin: elki-project/elki

  1. /**
  2. * Get the canonical bandwidth for this kernel.
  3. * <p>
  4. * Note: R uses a different definition of "canonical bandwidth", and also uses
  5. * differently scaled kernels.
  6. *
  7. * @return Canonical bandwidth
  8. */
  9. @Reference(authors = "J. S. Marron, D. Nolan", //
  10. title = "Canonical kernels for density estimation", //
  11. booktitle = "Statistics & Probability Letters, Volume 7, Issue 3", //
  12. url = "https://doi.org/10.1016/0167-7152(88)90050-8", //
  13. bibkey = "doi:10.1016/0167-71528890050-8")
  14. double canonicalBandwidth();

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki-core-util

  1. if(!ref.prefix().isEmpty()) {
  2. println(buf, width, ref.prefix());
  3. println(buf, width, ref.authors());
  4. println(buf, width, ref.title());
  5. println(buf, width, ref.booktitle());
  6. if(ref.url().length() > 0) {
  7. println(buf, width, ref.url());

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki-core-math

  1. /**
  2. * Get the canonical bandwidth for this kernel.
  3. * <p>
  4. * Note: R uses a different definition of "canonical bandwidth", and also uses
  5. * differently scaled kernels.
  6. *
  7. * @return Canonical bandwidth
  8. */
  9. @Reference(authors = "J. S. Marron, D. Nolan", //
  10. title = "Canonical kernels for density estimation", //
  11. booktitle = "Statistics & Probability Letters, Volume 7, Issue 3", //
  12. url = "https://doi.org/10.1016/0167-7152(88)90050-8", //
  13. bibkey = "doi:10.1016/0167-71528890050-8")
  14. double canonicalBandwidth();

代码示例来源:origin: elki-project/elki

  1. /**
  2. * Get the Van Rijsbergen’s F measure (asymmetric) for first clustering
  3. * <p>
  4. * E. Amigó, J. Gonzalo, J. Artiles, and F. Verdejo<br>
  5. * A comparison of extrinsic clustering evaluation metrics based on formal
  6. * constraints<br>
  7. * Information Retrieval 12(5)
  8. *
  9. * @return Set Matching F-Measure of first clustering
  10. */
  11. @Reference(authors = "E. Amigó, J. Gonzalo, J. Artiles, F. Verdejo", //
  12. title = "A comparison of extrinsic clustering evaluation metrics based on formal constraints", //
  13. booktitle = "Information Retrieval 12(5)", //
  14. url = "https://doi.org/10.1007/s10791-009-9106-z", //
  15. bibkey = "DBLP:journals/ir/AmigoGAV09a")
  16. public double fMeasureFirst() {
  17. return smFFirst;
  18. }

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki

  1. /**
  2. * Remove bias from the Anderson-Darling statistic if the mean and standard
  3. * deviation were estimated from the data, and a normal distribution was
  4. * assumed.
  5. *
  6. * @param A2 A2 statistic
  7. * @param n Sample size
  8. * @return Unbiased test statistic
  9. */
  10. @Reference(authors = "M. A. Stephens",//
  11. title = "EDF Statistics for Goodness of Fit and Some Comparisons",//
  12. booktitle = "Journal of the American Statistical Association, Volume 69, Issue 347", //
  13. url = "http://dx.doi.org/10.1080/01621459.1974.10480196")
  14. public static double removeBiasNormalDistribution(double A2, int n) {
  15. return A2 * (1 + 4. / n - 25. / (n * n));
  16. }
  17. }

代码示例来源:origin: elki-project/elki

  1. /**
  2. * Computes the Rand index (RI).
  3. * <p>
  4. * W. M. Rand<br>
  5. * Objective Criteria for the Evaluation of Clustering Methods<br>
  6. * Journal of the American Statistical Association, Vol. 66 Issue 336
  7. *
  8. * @return The Rand index (RI).
  9. */
  10. @Reference(authors = "W. M. Rand", //
  11. title = "Objective Criteria for the Evaluation of Clustering Methods", //
  12. booktitle = "Journal of the American Statistical Association, Vol. 66 Issue 336", //
  13. url = "https://doi.org/10.2307/2284239", //
  14. bibkey = "doi:10.2307/2284239")
  15. public double randIndex() {
  16. final double sum = pairconfuse[0] + pairconfuse[1] + pairconfuse[2] + pairconfuse[3];
  17. return (pairconfuse[0] + pairconfuse[3]) / sum;
  18. }

代码示例来源:origin: elki-project/elki

  1. /**
  2. * Get the set matchings purity (first:second clustering)
  3. * (normalized, 1 = equal)
  4. * <p>
  5. * Y. Zhao, G. Karypis<br>
  6. * Criterion functions for document clustering: Experiments and analysis<br>
  7. * University of Minnesota, Dep. Computer Science, Technical Report 01-40
  8. *
  9. * @return purity
  10. */
  11. @Reference(authors = "Y. Zhao, G. Karypis", //
  12. title = "Criterion functions for document clustering: Experiments and analysis", //
  13. booktitle = "University of Minnesota, Dep. Computer Science, Technical Report 01-40", //
  14. url = "http://www-users.cs.umn.edu/~karypis/publications/Papers/PDF/vscluster.pdf", //
  15. bibkey = "tr/umn/ZhaoK01")
  16. public double purity() {
  17. return smPurity;
  18. }

代码示例来源:origin: elki-project/elki

  1. /**
  2. * Remove bias from the Anderson-Darling statistic if the mean and standard
  3. * deviation were estimated from the data, and a normal distribution was
  4. * assumed.
  5. *
  6. * @param A2 A2 statistic
  7. * @param n Sample size
  8. * @return Unbiased test statistic
  9. */
  10. @Reference(authors = "M. A. Stephens", //
  11. title = "EDF Statistics for Goodness of Fit and Some Comparisons", //
  12. booktitle = "Journal of the American Statistical Association, Volume 69, Issue 347", //
  13. url = "https://doi.org/10.1080/01621459.1974.10480196", //
  14. bibkey = "doi:10.1080/01621459.1974.10480196")
  15. public static double removeBiasNormalDistribution(double A2, int n) {
  16. return A2 * (1 + 4. / n - 25. / (n * n));
  17. }
  18. }

相关文章