Module es.upm.fi.cig.multictbnc
Class MainDataStreamSampling.MainDataStreamSamplingFX
java.lang.Object
javafx.application.Application
es.upm.fi.cig.multictbnc.sampling.MainDataStreamSampling.MainDataStreamSamplingFX
- Enclosing class:
- MainDataStreamSampling
public static class MainDataStreamSampling.MainDataStreamSamplingFX
extends javafx.application.Application
This class represents the JavaFX application for data stream sampling.
-
Nested Class Summary
Nested classes/interfaces inherited from class javafx.application.Application
javafx.application.Application.Parameters
-
Field Summary
Fields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MultiCTBNC<CPTNode,
CIMNode> generateModifiedModel
(MultiCTBNC<CPTNode, CIMNode> previousMultiCTBNC, int idxModel, boolean forceExtremeProb, int minIntensity, int maxIntensity, int maxNumParents, double percentageChangedNodes, String pathDataStream) Generates a modified Multi-CTBNC to simulate concept drift.void
start
(javafx.stage.Stage primaryStage) Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
Constructor Details
-
MainDataStreamSamplingFX
public MainDataStreamSamplingFX()
-
-
Method Details
-
start
- Specified by:
start
in classjavafx.application.Application
- Throws:
Exception
-
generateModifiedModel
public static MultiCTBNC<CPTNode,CIMNode> generateModifiedModel(MultiCTBNC<CPTNode, CIMNode> previousMultiCTBNC, int idxModel, boolean forceExtremeProb, int minIntensity, int maxIntensity, int maxNumParents, double percentageChangedNodes, String pathDataStream) Generates a modified Multi-CTBNC to simulate concept drift.- Parameters:
previousMultiCTBNC
- Multi-CTBNC to be modifiedidxModel
- index of the current modelforceExtremeProb
- boolean indicating whether to force extreme probabilities in CPTsminIntensity
- minimum value of the intensities for CIMsmaxIntensity
- maximum value of the intensities for CIMsmaxNumParents
- maximum number of parent nodes for feature variablespercentageChangedNodes
- percentage of nodes to change in the modelpathDataStream
- path to save the data stream- Returns:
- modified Multi-CTBNC
-