本文整理了Java中de.lmu.ifi.dbs.elki.utilities.documentation.Reference
类的一些代码示例,展示了Reference
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Reference
类的具体详情如下:
包路径:de.lmu.ifi.dbs.elki.utilities.documentation.Reference
类名称:Reference
暂无
代码示例来源:origin: de.lmu.ifi.dbs.elki/elki
/**
* Dummy method, just to attach a third reference.
*/
@Reference(authors = "L. R. Dice", title = "Measures of the Amount of Ecologic Association Between Species", booktitle = "Ecology 26 (3)")
static void thirdReference() {
// Empty, just to attach a second reference
};
代码示例来源:origin: de.lmu.ifi.dbs.elki/elki
@Override
public int compare(Pair<Reference, TreeSet<Object>> p1, Pair<Reference, TreeSet<Object>> p2) {
final Object o1 = p1.second.first(), o2 = p2.second.first();
int c = COMPARATOR.compare(o1, o2);
if(c == 0) {
Reference r1 = p1.first, r2 = p2.first;
c = compareNull(r1.title(), r2.title());
c = (c != 0) ? c : compareNull(r1.authors(), r2.authors());
c = (c != 0) ? c : compareNull(r1.booktitle(), r2.booktitle());
}
return c;
}
代码示例来源:origin: elki-project/elki
if(!ref.prefix().isEmpty()) {
Element prediv = htmldoc.createElement(HTMLUtil.HTML_DIV_TAG);
prediv.setTextContent(ref.prefix());
classdd.appendChild(prediv);
authorsdiv.setTextContent(ref.authors());
classdd.appendChild(authorsdiv);
titleb.setTextContent(ref.title());
titlediv.appendChild(titleb);
classdd.appendChild(titlediv);
if(!ref.booktitle().isEmpty()) {
Element booktitlediv = htmldoc.createElement(HTMLUtil.HTML_DIV_TAG);
booktitlediv.setTextContent("In: " + ref.booktitle());
if(ref.booktitle().startsWith("Online:")) {
booktitlediv.setTextContent(ref.booktitle());
if(!ref.url().isEmpty()) {
Element urldiv = htmldoc.createElement(HTMLUtil.HTML_DIV_TAG);
Element urla = htmldoc.createElement(HTMLUtil.HTML_A_TAG);
urla.setAttribute(HTMLUtil.HTML_HREF_ATTRIBUTE, ref.url());
urla.setTextContent(ref.url());
urldiv.appendChild(urla);
classdd.appendChild(urldiv);
if(!ref.bibkey().isEmpty()) {
if(ref.bibkey().startsWith(DBLPPREFIX)) {
Element urldiv = htmldoc.createElement(HTMLUtil.HTML_DIV_TAG);
代码示例来源:origin: de.lmu.ifi.dbs.elki/elki
if(ref.prefix().length() > 0) {
refstreamW.println(indent + ref.prefix() + " [[br]]");
refstreamW.println(indent + "By: " + ref.authors() + " [[br]]");
refstreamW.println(indent + "'''" + ref.title() + "'''" + " [[br]]");
if(ref.booktitle().length() > 0) {
String prefix = ref.booktitle().startsWith("Online:") ? "" : "In: ";
refstreamW.println(indent + prefix + ref.booktitle() + " [[br]]");
if(ref.url().length() > 0) {
refstreamW.println(indent + "Online: [" + ref.url() + "][[br]]");
代码示例来源:origin: de.lmu.ifi.dbs.elki/elki
/**
* Get the canonical bandwidth for this kernel.
*
* Note: R uses a different definition of "canonical bandwidth", and also uses
* differently scaled kernels.
*
* @return Canonical bandwidth
*/
@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")
public double canonicalBandwidth();
代码示例来源:origin: elki-project/elki
out.lf();
if(!ref.prefix().isEmpty()) {
out.escaped(ref.prefix()).lf();
.append(ref.authors()).lf() //
.append("**").escaped(ref.title()).append("**").lf();
if(!ref.booktitle().isEmpty() && !ref.booktitle().equals(ref.url()) && !ref.booktitle().equals("Online")) {
out.append(ref.booktitle().startsWith("Online:") ? "" : "In: ").escaped(ref.booktitle()).lf();
if(!ref.url().isEmpty()) {
if(ref.url().startsWith(DOIPREFIX)) {
out.append("[DOI:").append(ref.url(), DOIPREFIX.length(), ref.url().length())//
.append("](").append(ref.url()).append(')').lf();
out.append("Online: <").append(ref.url()).append('>').lf();
if(!ref.bibkey().isEmpty()) {
if(ref.bibkey().startsWith(DBLPPREFIX)) {
out.append("[DBLP:").append(ref.bibkey(), DBLPPREFIX.length(), ref.bibkey().length())//
.append("](").append(DBLPURL)//
.append(ref.bibkey(), DBLPPREFIX.length(), ref.bibkey().length()).append(')').lf();
out.nl().append("<!-- ").append(ref.bibkey()).append(" -->").lf();
代码示例来源:origin: de.lmu.ifi.dbs.elki/elki
/**
* Dummy method, just to attach a second reference.
*/
@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)")
static void secondReference() {
// Empty, just to attach a second reference
};
代码示例来源:origin: de.lmu.ifi.dbs.elki/elki
if(ref.prefix().length() > 0) {
Element prediv = htmldoc.createElement(HTMLUtil.HTML_DIV_TAG);
prediv.setTextContent(ref.prefix());
classdd.appendChild(prediv);
authorsdiv.setTextContent(ref.authors());
classdd.appendChild(authorsdiv);
titleb.setTextContent(ref.title());
titlediv.appendChild(titleb);
classdd.appendChild(titlediv);
if(ref.booktitle().length() > 0) {
Element booktitlediv = htmldoc.createElement(HTMLUtil.HTML_DIV_TAG);
booktitlediv.setTextContent("In: " + ref.booktitle());
if(ref.booktitle().startsWith("Online:")) {
booktitlediv.setTextContent(ref.booktitle());
if(ref.url().length() > 0) {
Element urldiv = htmldoc.createElement(HTMLUtil.HTML_DIV_TAG);
Element urla = htmldoc.createElement(HTMLUtil.HTML_A_TAG);
urla.setAttribute(HTMLUtil.HTML_HREF_ATTRIBUTE, ref.url());
urla.setTextContent(ref.url());
urldiv.appendChild(urla);
classdd.appendChild(urldiv);
代码示例来源:origin: de.lmu.ifi.dbs.elki/elki
/**
* Secondary reference.
*/
@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)")
public static final void secondReference() {
// Dummy, reference attachment point only.
}
代码示例来源:origin: elki-project/elki
if(!ref.prefix().isEmpty()) {
println(buf, width, ref.prefix());
println(buf, width, ref.authors());
println(buf, width, ref.title());
println(buf, width, ref.booktitle());
if(ref.url().length() > 0) {
println(buf, width, ref.url());
代码示例来源:origin: de.lmu.ifi.dbs.elki/elki
/**
* Get the set matchings purity (first:second clustering) (normalized, 1 =
* equal)
*
* @return purity
*/
@Reference(authors = "Zhao, Y. and Karypis, G.", //
title = "Criterion functions for document clustering: Experiments and analysis", //
booktitle = "University of Minnesota, Department of Computer Science, Technical Report 01-40, 2001", //
url = "http://www-users.cs.umn.edu/~karypis/publications/Papers/PDF/vscluster.pdf")
public double purity() {
return smPurity;
}
代码示例来源:origin: de.lmu.ifi.dbs.elki/elki
if(ref.prefix().length() > 0) {
println(buf, width, ref.prefix(), "");
println(buf, width, ref.authors() + ":", "");
println(buf, width, ref.title(), " ");
println(buf, width, "in: " + ref.booktitle(), "");
if(ref.url().length() > 0) {
println(buf, width, "see also: " + ref.url(), "");
代码示例来源:origin: elki-project/elki
/**
* Get the canonical bandwidth for this kernel.
* <p>
* Note: R uses a different definition of "canonical bandwidth", and also uses
* differently scaled kernels.
*
* @return Canonical bandwidth
*/
@Reference(authors = "J. S. Marron, D. Nolan", //
title = "Canonical kernels for density estimation", //
booktitle = "Statistics & Probability Letters, Volume 7, Issue 3", //
url = "https://doi.org/10.1016/0167-7152(88)90050-8", //
bibkey = "doi:10.1016/0167-71528890050-8")
double canonicalBandwidth();
代码示例来源:origin: de.lmu.ifi.dbs.elki/elki-core-util
if(!ref.prefix().isEmpty()) {
println(buf, width, ref.prefix());
println(buf, width, ref.authors());
println(buf, width, ref.title());
println(buf, width, ref.booktitle());
if(ref.url().length() > 0) {
println(buf, width, ref.url());
代码示例来源:origin: de.lmu.ifi.dbs.elki/elki-core-math
/**
* Get the canonical bandwidth for this kernel.
* <p>
* Note: R uses a different definition of "canonical bandwidth", and also uses
* differently scaled kernels.
*
* @return Canonical bandwidth
*/
@Reference(authors = "J. S. Marron, D. Nolan", //
title = "Canonical kernels for density estimation", //
booktitle = "Statistics & Probability Letters, Volume 7, Issue 3", //
url = "https://doi.org/10.1016/0167-7152(88)90050-8", //
bibkey = "doi:10.1016/0167-71528890050-8")
double canonicalBandwidth();
代码示例来源:origin: elki-project/elki
/**
* Get the Van Rijsbergen’s F measure (asymmetric) for first clustering
* <p>
* E. Amigó, J. Gonzalo, J. Artiles, and F. Verdejo<br>
* A comparison of extrinsic clustering evaluation metrics based on formal
* constraints<br>
* Information Retrieval 12(5)
*
* @return Set Matching F-Measure of first clustering
*/
@Reference(authors = "E. Amigó, J. Gonzalo, J. Artiles, F. Verdejo", //
title = "A comparison of extrinsic clustering evaluation metrics based on formal constraints", //
booktitle = "Information Retrieval 12(5)", //
url = "https://doi.org/10.1007/s10791-009-9106-z", //
bibkey = "DBLP:journals/ir/AmigoGAV09a")
public double fMeasureFirst() {
return smFFirst;
}
代码示例来源:origin: de.lmu.ifi.dbs.elki/elki
/**
* Remove bias from the Anderson-Darling statistic if the mean and standard
* deviation were estimated from the data, and a normal distribution was
* assumed.
*
* @param A2 A2 statistic
* @param n Sample size
* @return Unbiased test statistic
*/
@Reference(authors = "M. A. Stephens",//
title = "EDF Statistics for Goodness of Fit and Some Comparisons",//
booktitle = "Journal of the American Statistical Association, Volume 69, Issue 347", //
url = "http://dx.doi.org/10.1080/01621459.1974.10480196")
public static double removeBiasNormalDistribution(double A2, int n) {
return A2 * (1 + 4. / n - 25. / (n * n));
}
}
代码示例来源:origin: elki-project/elki
/**
* Computes the Rand index (RI).
* <p>
* W. M. Rand<br>
* Objective Criteria for the Evaluation of Clustering Methods<br>
* Journal of the American Statistical Association, Vol. 66 Issue 336
*
* @return The Rand index (RI).
*/
@Reference(authors = "W. M. Rand", //
title = "Objective Criteria for the Evaluation of Clustering Methods", //
booktitle = "Journal of the American Statistical Association, Vol. 66 Issue 336", //
url = "https://doi.org/10.2307/2284239", //
bibkey = "doi:10.2307/2284239")
public double randIndex() {
final double sum = pairconfuse[0] + pairconfuse[1] + pairconfuse[2] + pairconfuse[3];
return (pairconfuse[0] + pairconfuse[3]) / sum;
}
代码示例来源:origin: elki-project/elki
/**
* Get the set matchings purity (first:second clustering)
* (normalized, 1 = equal)
* <p>
* Y. Zhao, G. Karypis<br>
* Criterion functions for document clustering: Experiments and analysis<br>
* University of Minnesota, Dep. Computer Science, Technical Report 01-40
*
* @return purity
*/
@Reference(authors = "Y. Zhao, G. Karypis", //
title = "Criterion functions for document clustering: Experiments and analysis", //
booktitle = "University of Minnesota, Dep. Computer Science, Technical Report 01-40", //
url = "http://www-users.cs.umn.edu/~karypis/publications/Papers/PDF/vscluster.pdf", //
bibkey = "tr/umn/ZhaoK01")
public double purity() {
return smPurity;
}
代码示例来源:origin: elki-project/elki
/**
* Remove bias from the Anderson-Darling statistic if the mean and standard
* deviation were estimated from the data, and a normal distribution was
* assumed.
*
* @param A2 A2 statistic
* @param n Sample size
* @return Unbiased test statistic
*/
@Reference(authors = "M. A. Stephens", //
title = "EDF Statistics for Goodness of Fit and Some Comparisons", //
booktitle = "Journal of the American Statistical Association, Volume 69, Issue 347", //
url = "https://doi.org/10.1080/01621459.1974.10480196", //
bibkey = "doi:10.1080/01621459.1974.10480196")
public static double removeBiasNormalDistribution(double A2, int n) {
return A2 * (1 + 4. / n - 25. / (n * n));
}
}
内容来源于网络,如有侵权,请联系作者删除!