Class ADyadRankedNodeQueueConfig<N>
- java.lang.Object
-
- ai.libs.jaicore.ml.ranking.dyad.learner.search.ADyadRankedNodeQueueConfig<N>
-
- Type Parameters:
N
-
- All Implemented Interfaces:
ai.libs.jaicore.search.algorithms.standard.bestfirst.IBestFirstQueueConfiguration<ai.libs.jaicore.search.probleminputs.GraphSearchWithSubpathEvaluationsInput<N,java.lang.String,java.lang.Double>,N,java.lang.String,java.lang.Double>
- Direct Known Subclasses:
RandomlyRankedNodeQueueConfig
public abstract class ADyadRankedNodeQueueConfig<N> extends java.lang.Object implements ai.libs.jaicore.search.algorithms.standard.bestfirst.IBestFirstQueueConfiguration<ai.libs.jaicore.search.probleminputs.GraphSearchWithSubpathEvaluationsInput<N,java.lang.String,java.lang.Double>,N,java.lang.String,java.lang.Double>
A configuration for a dyad ranked node queue. Mainly configures the dyad ranker.
-
-
Field Summary
Fields Modifier and Type Field Description protected IDyadRanker
ranker
the ranker used to rank dyads consisting of pipeline metafeatures and dataset metafeaturesprotected AbstractDyadScaler
scaler
for scaling the dyads
-
Constructor Summary
Constructors Constructor Description ADyadRankedNodeQueueConfig()
Construct a new dyad ranking node queue configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDyadRanker
getRanker()
Set the ranker used to rank the OPEN list.AbstractDyadScaler
getScaler()
Get the scaler used to scale the dataset.void
setRanker(IDyadRanker ranker)
Set the ranker used to rank the OPEN list.void
setScaler(AbstractDyadScaler scaler)
Set the scaler used to scale the dataset.
-
-
-
Field Detail
-
ranker
protected IDyadRanker ranker
the ranker used to rank dyads consisting of pipeline metafeatures and dataset metafeatures
-
scaler
protected AbstractDyadScaler scaler
for scaling the dyads
-
-
Constructor Detail
-
ADyadRankedNodeQueueConfig
public ADyadRankedNodeQueueConfig() throws java.io.IOException, java.lang.ClassNotFoundException
Construct a new dyad ranking node queue configuration.- Throws:
java.io.IOException
- if the files for the default ranker and scaler are invalid or cannot be foundjava.lang.ClassNotFoundException
- if the default scaler or ranker cannot be instantiated
-
-
Method Detail
-
getRanker
public IDyadRanker getRanker()
Set the ranker used to rank the OPEN list.- Returns:
- ranker the used ranker
-
setRanker
public void setRanker(IDyadRanker ranker)
Set the ranker used to rank the OPEN list.- Parameters:
ranker
- the used ranker
-
getScaler
public AbstractDyadScaler getScaler()
Get the scaler used to scale the dataset. Is pre-fit.- Returns:
- the used scaler
-
setScaler
public void setScaler(AbstractDyadScaler scaler)
Set the scaler used to scale the dataset. Must be pre-fit.- Parameters:
scaler
- the used scaler
-
-