Package | Description |
---|---|
eu.fbk.shell.mdfsa.data.structures |
Modifier and Type | Method and Description |
---|---|
ArrayList<DatasetInstance> |
TreeGraphStatisticalModel.getTestInstances() |
ArrayList<DatasetInstance> |
DomainGraph.polarityValidation(ArrayList<DatasetInstance> instances)
Validates the learned graph on unknown polarity validation set by returning only the predicted polarity value
|
Modifier and Type | Method and Description |
---|---|
void |
DomainGraph.domainInitialization(String[] datasets,
HashMap<String,ArrayList<DatasetInstance>> allInstances,
String currentDomain)
Initializes the graph with truth value related to the belonging of each concept to the current domain
|
void |
DomainGraph.polarityInitialization(ArrayList<DatasetInstance> instances)
Initializes the graph with the polarities representing the sentiment of each concept in the current domain
|
double[] |
DomainGraph.polarityTest(ArrayList<DatasetInstance> instances)
Validates the learned graph on the predicting polarity test set
|
ArrayList<DatasetInstance> |
DomainGraph.polarityValidation(ArrayList<DatasetInstance> instances)
Validates the learned graph on unknown polarity validation set by returning only the predicted polarity value
|
void |
TreeGraphStatisticalModel.setTestInstances(ArrayList<DatasetInstance> test) |
void |
TreeGraphStatisticalModel.setTrainingInstances(ArrayList<DatasetInstance> training) |
Copyright © 2016–2020 FBK. All rights reserved.