public abstract class AbstractSimilarityModel<ID,Features,ResultType extends Comparable<?>> extends AbstractModel<ID,Features,ResultType>
Modifier and Type | Field and Description |
---|---|
protected IAmbitResult |
result |
attributeSelection, built, logger, p_model, p_stats, parameters, ps, stats
Constructor and Description |
---|
AbstractSimilarityModel() |
Modifier and Type | Method and Description |
---|---|
void |
buildInitialize() |
abstract double |
getPairwise(Features features1,
Features features2) |
double |
getPairwise(IDataset<ID,Features,ResultType> dataset1,
IDataset<ID,Features,ResultType> dataset2) |
IAmbitResult |
getResult() |
void |
learn(IDataset<ID,Features,ResultType> dataset) |
void |
setResult(IAmbitResult result) |
getAttributeSelection, getParameter, getStats, isBuilt, predict, setAttributeSelection, setParameter, setStats
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
learn, predict
protected IAmbitResult result
public IAmbitResult getResult()
public void setResult(IAmbitResult result)
public void buildInitialize() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public double getPairwise(IDataset<ID,Features,ResultType> dataset1, IDataset<ID,Features,ResultType> dataset2) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public abstract double getPairwise(Features features1, Features features2) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public void learn(IDataset<ID,Features,ResultType> dataset) throws net.idea.modbcum.i.exceptions.AmbitException, UnsupportedOperationException
net.idea.modbcum.i.exceptions.AmbitException
UnsupportedOperationException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.