Package fis
Class jnifis
- java.lang.Object
-
- fis.jnifis
-
public class jnifis extends Object
-
-
Constructor Summary
Constructors Constructor Description jnifis()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidAddInput(long fis_ptr, long input_ptr)static voidAddMF(long input_ptr, long mf_ptr)static voidAddOutput(long fis_ptr, long output_ptr)static voidAddRule(long fis_ptr, long rule_ptr)static intAgregationImpliResult(long fis_ptr, int output_number, Vector<Double> result)static double[][]AgregationResult(long fis_ptr, int output_number)static voidCheckFuzDist(long input_ptr)static intConj2Imp(long fis_ptr, int output_number, boolean transfPart)static voidCrisp2Fuz(long fis_ptr, String defuz, int output_number)static voidDataDistance(long fis, String dataFile, boolean normalize, double[] distances, double power, String outputFile)static double[][]DataFile(String file_name)static double[]DataFileInfer(long fis_ptr, int output_number, String data_file, String result_file, double blank_thres, boolean display)static String[]DataName()static voidDeleteFIS(long fis_ptr)static voidDeleteInput(long input_ptr)static voidDeleteMF(long ptr)static voidDeleteRule(long ptr)static booleanEqualFIS(long fis1_ptr, long fis2_ptr)static voidFuz2Crisp(long fis_ptr, int output_number)static voidGenerateSample(String dataFile, int sampleNumber, double learningDataRatio, int seed, boolean classif, int columnNumber, double precision, boolean replace, boolean truncate)static intGetAlarm(long output_ptr)static double[]GetBreakPoints(long input_ptr)static intGetBuildFuzIn(long input_ptr, int input_number, double[] kw, double[] sw, double[] inputs_values, Vector<Double> fuzval)static double[]GetClasses(long output_ptr)static StringGetConjunction(long fis_ptr)static doubleGetDefuzThres(long output_ptr)static doubleGetExpertWeight(long ptr)static StringGetFISName(long fis_ptr)static StringGetHFPConjunction(long hfp_ptr)static StringGetHFPHierarchy(long hfp_ptr)static longGetHFPInput(long hfp_ptr, int input_number)static intGetHFPInputNumberOfMF(long hfp_input_ptr)static intGetHFPNbInput(long hfp_ptr)static intGetHFPNbOutput(long hfp_ptr)static longGetHFPOutput(long hfp_ptr, int output_number)static Object[]GetHFPParameters(long hfp_ptr)static doubleGetHFPToleranceThreshold(long hfp_ptr)static intGetImpliConc(long fis_ptr, int output_number, int rule_number, Vector<Double> result)static longGetInput(long fis_ptr, int input_number)static booleanGetInputActive(long input_ptr)static StringGetInputName(long input_ptr)static double[]GetInputRange(long input_ptr)static doubleGetKernelWeightTemplate(long input_ptr)static longGetMF(long input_ptr, int mf_number)static longGetMFConc(long input_ptr, int rule_number)static longGetMFGlob(long input_ptr)static StringGetMFName(long ptr)static double[]GetMFParam(long ptr)static StringGetMFType(long ptr)static StringGetMissingValues(long ptr_sif)static intGetNbMF(long input_ptr)static longGetOutput(long fis_ptr, int output_number)static double[]GetOutputClassesLabels(long fis_ptr, int output_number)static booleanGetOutputClassif(long output_ptr)static doubleGetOutputDefaultValue(long output_ptr)static StringGetOutputDefuz(long output_ptr)static StringGetOutputDisjunction(long output_ptr)static StringGetOutputNature(long output_ptr)static longGetRule(long fis_ptr, int rule_number)static booleanGetRuleActive(long ptr)static double[]GetRuleConcs(long ptr)static int[]GetRuleProps(long ptr)static double[]GetRulesWeight(long ptr, double[] input_values)static doubleGetSupportWeightTemplate(long input_ptr)static StringGetTypeImplicatif(long output_ptr)static longHFPConfig(String data_file, int column_not_process, String hfp_file)static voidHFPDelete(long hfp_ptr)static String[]HFPDistanceType()static longHFPFIS(String data_file, String hfp_file, boolean ruleInductionMethodFPA, double min_cumul_weight, int cardinality_strategy, double min_matching_degree, int min_cardinality, int output_number, String vertex_file)static String[]HFPHierarchyType()static longHFPOpen(String data_file, String hfp_file)static voidHFPSave(long hfp_ptr, String data_file, String hfp_file)static voidHFPSelect(String data_file, String hfp_file, boolean ruleInductionMethodFPA, double min_cumul_weight, int cardinality_strategy, double min_matching_degree, int min_cardinality, String result_file_name, double loss_coverage, int initial_number_of_mf, int max_number_of_iter, String vertex_file, int output_number, String validation_file)static longHFPSR(String data_file, String inputs_mfs, int input_hierarchy, double input_tol, int output_mfs, int output_hierarchy, String output_defuz, String output_disj, double output_tol, String conjunction, boolean classif)static voidHFPVertex(String data_file, String hfp_file, String vertex_file)static voidImp2Conj(long fis_ptr, int output_number, boolean transfPart)static voidInfer(long fis_ptr, double[] inputs_value)static double[][]Infer2DSurface(long ptr, SurfacePlotParameters Parameters)static Object[]Infer3DSurface(long ptr, SurfacePlotParameters Parameters)static double[]InferErrorRegression(long fis_ptr)static voidInferFuzzyInput(long fis_ptr, double[] kw, double[] sw, int nbAlphaCut, double[] inputs_values)static voidInitClasses(long fis_ptr, int output_number, String data_file)static voidInitPossibles(long fis_ptr)static double[]InputAppartenance(long input_ptr)static doubleInputDistance(long input_ptr, double x, double y, boolean normalize)static booleanIsQsp(long output_ptr)static booleanIsSfp(long input_ptr)static voidLinks(long fis_ptr, String data_file, double threshold, boolean sort, String file_prefix)static StringLinksItemsRulesExtension()Extension du fichier items rulesstatic StringLinksRulesItemsExtension()Extension du fichier rules itemsstatic StringLinksRulesLinksExtension()Extension du fichier rules linksstatic StringLinksRulesSortedExtension()Extension du fichier rules sortedstatic double[]MFAlphaKernel(long ptr, double alpha)static double[]MFSupport(long ptr)static String[]MFType()static intNbInputs(long fis_ptr)static intNbOutputs(long fis_ptr)static intNbRules(long fis_ptr)static longNewCustomFISOPT(long fis_ptr, String data, String key, int iterations, double std_gauss, int constraints, int fails, double center_thres, int output_number, boolean without_redondancy, int seed_value, double sw1, double sw2, double sw3, int cardinal_vocabulary, double mu_thres, double loss_coverage)static longNewFIS()static longNewFIS(long fis_ptr)static longNewFIS(String file_name, boolean cover)static longNewFISFPA(long fis_ptr, String data, int strategy, int min_card, double min_deg)static longNewFISOLS(long fis_ptr, String data, int outputNumber, boolean generateRules, double standardDeviation, String conjunction, double totalUnexplainedVariance, double maximumNumberOfRules, boolean reduceVocabulary, double degradationAllowed, double numberOfConc, boolean useRuleConc, boolean outputFuzzification, boolean removeTemporaryFiles, String testDataFile)static longNewFISOPT(long fis_ptr, String fisPath, String data, String optimization_order, boolean output, boolean rules, int number_of_loops, double loss_coverage, int iterations, double std_gauss, int constraints, int fails, int output_number, int seed_value, double sw1, double sw2, double sw3, double mu_thres, boolean crossValidation, double learningDataRatio, boolean classif, double precision, int columnNumber, int sampleNumber, double minBetweenMF)static longNewFISSIMPLE(long fis_ptr, String data, String resultFile, double homogeneity_threshold, double loss_performance, int output_number, double min_matching_degree, double loss_coverage, double coverage_min, boolean keep_last, double max_err, boolean ruleRemoval, boolean variableRemoval, String validationFile)static longNewGENFIS(long fis_ptr, String data, boolean sort, double thres)static longNewInput()static longNewInput(double[] t, double min, double max, boolean sort)static longNewInput(long input_ptr)static longNewIrregularInput(double[] sommets, int nb_sef, double min, double max)static longNewIrregularOutput(double[] sommets, int nb_sef, double min, double max, String defuz, boolean classif, double default_value, String disj)static longNewMFDiscrete(String name, double[] values)static longNewMFDoor(String name, double a, double b)static longNewMFGaussian(String name, double std, double mean)static longNewMFSemiTrapezoidalInf(String name, double a, double b, double c)static longNewMFSemiTrapezoidalSup(String name, double a, double b, double c)static longNewMFSinus(String name, double a, double b)static longNewMFSinusInf(String name, double a, double b)static longNewMFSinusSup(String name, double a, double b)static longNewMFTrapezoidal(String name, double a, double b, double c, double d)static longNewMFTriangular(String name, double a, double b, double c)static longNewMFUniversal(String name, double a, double b)static longNewOutput(long output_ptr)static longNewOutputFloue()static longNewOutputFloue(long output_ptr)static longNewOutputNette()static longNewOutputNette(long output_ptr)static longNewRegularInput(int nb_sef, double min, double max)static longNewRegularOutput(int nb_sef, double min, double max, String defuz, boolean classif, double default_value, String disj)static longNewRule(long fis_ptr, boolean active, int[] facteurs, double[] actions)static long[]NewTreeFIS(long fis_ptr, String data, String tree_file, String valid_file, String resultFistreeFile, String perfFistreeFile, int maxtreedepth, double min_ed_gain, double min_significant, double ambiguity_thres, int outputNumber, boolean prune, boolean split, double relperfloss, boolean relgain, boolean display, double covThresh, int min_leaf_card)static voidoutputVocabularyReduction(long fis_ptr, String data, int outputNumber, double blankThreshold, double degradationAllowed, double numberOfConc, boolean useRuleConc)static double[]PcPe(long input_ptr, double[] datas, int dataSize)static StringPerfHeaderBlank()Entete de la colonne blanc du fichier performancestatic StringPerfHeaderClassInferred()Entete de la colonne classe infere du fichier performancestatic StringPerfHeaderError()Entete de la colonne erreur du fichier performancestatic StringPerfHeaderInferred()Entete de la colonne infere du fichier performancestatic StringPerfHeaderInferredSymbMatch()static StringPerfHeaderMaxKernel()static StringPerfHeaderMaxSupport()static StringPerfHeaderMinKernel()static StringPerfHeaderMinSupport()static StringPerfHeaderObserved()Entete de la colonne observe du fichier performancestatic double[]ReadTemplate(String file)static voidRemoveInput(long fis_ptr, int input_number)static voidRemoveMFInInput(long fis_ptr, int input_number, int mf_number)static voidRemoveMFInOutput(long fis_ptr, int output_number, int mf_number)static voidRemoveOutput(long fis_ptr, int output_number)static voidRemoveRule(long fis_ptr, int rule_number)static voidReplaceHFPOutput(long hfp_ptr, int output_number, long output_ptr)static voidReplaceInput(long fis_ptr, int input_number, long input_ptr)static voidReplaceMF(long input_ptr, int mf_number, long mf_ptr)static voidReplaceMFOutput(long input_ptr, int mf_number, long mf_ptr)static voidReplaceOutput(long fis_ptr, int output_number, long output_ptr)static doubleRulePoids(long ptr)static booleanRulePremisseEqual(long rule1_ptr, long rule2_ptr)static voidSaveFIS(long fis_ptr, String file_name)static voidSetConjunction(long fis_ptr, String conjunction)static voidSetDataFilePath(String new_path)static voidSetDefuzThres(long output_ptr, double thres)static voidSetExpertWeight(long ptr, double weight)static voidSetFISName(long fis_ptr, String name)static voidSetHFPConjunction(long hfp_ptr, String hierarchy)static voidSetHFPFIS(String hfp_in, String cfg, String hfp_out)static voidSetHFPHierarchy(long hfp_ptr, String hierarchy)static voidSetHFPInputNumberOfMF(long hfp_input_ptr, int number)static voidSetHFPParameters(long hfp_ptr, String distance)static voidSetHFPToleranceThreshold(long hfp_ptr, double tolerance)static voidSetInputActive(long input_ptr, boolean active)static voidSetInputName(long input_ptr, String name)static voidSetInputRange(long input_ptr, double domain_inf, double domain_sup)static voidsetLocale()static voidSetMFName(long ptr, String name)static voidSetMissingValues(long ptr_sif, String missing_values)static voidSetOutputClassif(long fis_ptr, int output_number, boolean classif)static voidSetOutputDefaultValue(long output_ptr, double default_value)static voidSetOutputDefuz(long fis_ptr, int output_number, String defuz)static voidSetOutputDisjunction(long fis_ptr, int output_number, String disjunction)static voidSetOutputImplicatifFuzzy(long fis_ptr, int output_number, boolean impli)static voidSetRuleActive(long ptr, boolean active)static voidSetRuleConc(long ptr, int output_number, double conc)static voidSetRuleProp(long ptr, int input_number, int prop)static voidSetTemplate(long input_ptr, double kw, double sw)static voidsetUserHomeFisproPath(String path)Renseigne la variable UserHomeFisproPath de la librairie.static double[]SortiesObtenues(long fis_ptr)static String[]TypeConjunction()static String[]TypeDefuzzificationFloue()static String[]TypeDefuzzificationImplicatif()static String[]TypeDefuzzificationNette()static String[]TypeDisjunctionFloue()static String[]TypeDisjunctionImplicatif()static String[]TypeDisjunctionNette()static String[]TypeMissingValues()static String[]TypeNature()static longWangMendel(String fis, String data_file, String fis_out)static voidWriteTemplate(String file, double kw, double sw)
-
-
-
Method Detail
-
setUserHomeFisproPath
public static void setUserHomeFisproPath(String path) throws Throwable
Renseigne la variable UserHomeFisproPath de la librairie.- Parameters:
path- home user.- Throws:
Throwable
-
NewFIS
public static long NewFIS(String file_name, boolean cover)
-
NewFISFPA
public static long NewFISFPA(long fis_ptr, String data, int strategy, int min_card, double min_deg) throws Throwable- Throws:
Throwable
-
NewGENFIS
public static long NewGENFIS(long fis_ptr, String data, boolean sort, double thres) throws Throwable- Throws:
Throwable
-
NewFISSIMPLE
public static long NewFISSIMPLE(long fis_ptr, String data, String resultFile, double homogeneity_threshold, double loss_performance, int output_number, double min_matching_degree, double loss_coverage, double coverage_min, boolean keep_last, double max_err, boolean ruleRemoval, boolean variableRemoval, String validationFile) throws Throwable- Throws:
Throwable
-
NewFISOLS
public static long NewFISOLS(long fis_ptr, String data, int outputNumber, boolean generateRules, double standardDeviation, String conjunction, double totalUnexplainedVariance, double maximumNumberOfRules, boolean reduceVocabulary, double degradationAllowed, double numberOfConc, boolean useRuleConc, boolean outputFuzzification, boolean removeTemporaryFiles, String testDataFile) throws Throwable- Throws:
Throwable
-
outputVocabularyReduction
public static void outputVocabularyReduction(long fis_ptr, String data, int outputNumber, double blankThreshold, double degradationAllowed, double numberOfConc, boolean useRuleConc) throws Throwable- Throws:
Throwable
-
NewCustomFISOPT
public static long NewCustomFISOPT(long fis_ptr, String data, String key, int iterations, double std_gauss, int constraints, int fails, double center_thres, int output_number, boolean without_redondancy, int seed_value, double sw1, double sw2, double sw3, int cardinal_vocabulary, double mu_thres, double loss_coverage) throws Throwable- Throws:
Throwable
-
NewFISOPT
public static long NewFISOPT(long fis_ptr, String fisPath, String data, String optimization_order, boolean output, boolean rules, int number_of_loops, double loss_coverage, int iterations, double std_gauss, int constraints, int fails, int output_number, int seed_value, double sw1, double sw2, double sw3, double mu_thres, boolean crossValidation, double learningDataRatio, boolean classif, double precision, int columnNumber, int sampleNumber, double minBetweenMF) throws Throwable- Throws:
Throwable
-
NewTreeFIS
public static long[] NewTreeFIS(long fis_ptr, String data, String tree_file, String valid_file, String resultFistreeFile, String perfFistreeFile, int maxtreedepth, double min_ed_gain, double min_significant, double ambiguity_thres, int outputNumber, boolean prune, boolean split, double relperfloss, boolean relgain, boolean display, double covThresh, int min_leaf_card) throws Throwable- Throws:
Throwable
-
EqualFIS
public static boolean EqualFIS(long fis1_ptr, long fis2_ptr) throws Throwable- Throws:
Throwable
-
SaveFIS
public static void SaveFIS(long fis_ptr, String file_name) throws Throwable- Throws:
Throwable
-
SetFISName
public static void SetFISName(long fis_ptr, String name) throws Throwable- Throws:
Throwable
-
SetConjunction
public static void SetConjunction(long fis_ptr, String conjunction) throws Throwable- Throws:
Throwable
-
GetConjunction
public static String GetConjunction(long fis_ptr) throws Throwable
- Throws:
Throwable
-
GetInput
public static long GetInput(long fis_ptr, int input_number) throws Throwable- Throws:
Throwable
-
GetOutput
public static long GetOutput(long fis_ptr, int output_number) throws Throwable- Throws:
Throwable
-
AddInput
public static void AddInput(long fis_ptr, long input_ptr) throws Throwable- Throws:
Throwable
-
RemoveInput
public static void RemoveInput(long fis_ptr, int input_number) throws Throwable- Throws:
Throwable
-
ReplaceInput
public static void ReplaceInput(long fis_ptr, int input_number, long input_ptr) throws Throwable- Throws:
Throwable
-
AddOutput
public static void AddOutput(long fis_ptr, long output_ptr) throws Throwable- Throws:
Throwable
-
RemoveOutput
public static void RemoveOutput(long fis_ptr, int output_number) throws Throwable- Throws:
Throwable
-
ReplaceOutput
public static void ReplaceOutput(long fis_ptr, int output_number, long output_ptr) throws Throwable- Throws:
Throwable
-
GetRule
public static long GetRule(long fis_ptr, int rule_number) throws Throwable- Throws:
Throwable
-
RemoveRule
public static void RemoveRule(long fis_ptr, int rule_number) throws Throwable- Throws:
Throwable
-
NewRule
public static long NewRule(long fis_ptr, boolean active, int[] facteurs, double[] actions) throws Throwable- Throws:
Throwable
-
Infer
public static void Infer(long fis_ptr, double[] inputs_value) throws Throwable- Throws:
Throwable
-
InferFuzzyInput
public static void InferFuzzyInput(long fis_ptr, double[] kw, double[] sw, int nbAlphaCut, double[] inputs_values) throws Throwable- Throws:
Throwable
-
GetBuildFuzIn
public static int GetBuildFuzIn(long input_ptr, int input_number, double[] kw, double[] sw, double[] inputs_values, Vector<Double> fuzval) throws Throwable- Throws:
Throwable
-
Infer3DSurface
public static Object[] Infer3DSurface(long ptr, SurfacePlotParameters Parameters) throws Throwable
- Throws:
Throwable
-
Infer2DSurface
public static double[][] Infer2DSurface(long ptr, SurfacePlotParameters Parameters) throws Throwable- Throws:
Throwable
-
GetRulesWeight
public static double[] GetRulesWeight(long ptr, double[] input_values) throws Throwable- Throws:
Throwable
-
DataFileInfer
public static double[] DataFileInfer(long fis_ptr, int output_number, String data_file, String result_file, double blank_thres, boolean display) throws Throwable- Throws:
Throwable
-
SortiesObtenues
public static double[] SortiesObtenues(long fis_ptr) throws Throwable- Throws:
Throwable
-
RemoveMFInInput
public static void RemoveMFInInput(long fis_ptr, int input_number, int mf_number) throws Throwable- Throws:
Throwable
-
RemoveMFInOutput
public static void RemoveMFInOutput(long fis_ptr, int output_number, int mf_number) throws Throwable- Throws:
Throwable
-
SetOutputDefuz
public static void SetOutputDefuz(long fis_ptr, int output_number, String defuz) throws Throwable- Throws:
Throwable
-
SetOutputImplicatifFuzzy
public static void SetOutputImplicatifFuzzy(long fis_ptr, int output_number, boolean impli) throws Throwable- Throws:
Throwable
-
SetOutputDisjunction
public static void SetOutputDisjunction(long fis_ptr, int output_number, String disjunction) throws Throwable- Throws:
Throwable
-
SetOutputClassif
public static void SetOutputClassif(long fis_ptr, int output_number, boolean classif) throws Throwable- Throws:
Throwable
-
GetOutputClassesLabels
public static double[] GetOutputClassesLabels(long fis_ptr, int output_number) throws Throwable- Throws:
Throwable
-
Links
public static void Links(long fis_ptr, String data_file, double threshold, boolean sort, String file_prefix) throws Throwable- Throws:
Throwable
-
Fuz2Crisp
public static void Fuz2Crisp(long fis_ptr, int output_number) throws Throwable- Throws:
Throwable
-
Crisp2Fuz
public static void Crisp2Fuz(long fis_ptr, String defuz, int output_number) throws Throwable- Throws:
Throwable
-
Imp2Conj
public static void Imp2Conj(long fis_ptr, int output_number, boolean transfPart) throws Throwable- Throws:
Throwable
-
Conj2Imp
public static int Conj2Imp(long fis_ptr, int output_number, boolean transfPart) throws Throwable- Throws:
Throwable
-
InitClasses
public static void InitClasses(long fis_ptr, int output_number, String data_file) throws Throwable- Throws:
Throwable
-
AgregationResult
public static double[][] AgregationResult(long fis_ptr, int output_number) throws Throwable- Throws:
Throwable
-
AgregationImpliResult
public static int AgregationImpliResult(long fis_ptr, int output_number, Vector<Double> result) throws Throwable- Throws:
Throwable
-
GetImpliConc
public static int GetImpliConc(long fis_ptr, int output_number, int rule_number, Vector<Double> result) throws Throwable- Throws:
Throwable
-
InferErrorRegression
public static double[] InferErrorRegression(long fis_ptr) throws Throwable- Throws:
Throwable
-
NewInput
public static long NewInput(double[] t, double min, double max, boolean sort) throws Throwable- Throws:
Throwable
-
NewRegularInput
public static long NewRegularInput(int nb_sef, double min, double max) throws Throwable- Throws:
Throwable
-
NewIrregularInput
public static long NewIrregularInput(double[] sommets, int nb_sef, double min, double max) throws Throwable- Throws:
Throwable
-
GetInputRange
public static double[] GetInputRange(long input_ptr) throws Throwable- Throws:
Throwable
-
GetInputActive
public static boolean GetInputActive(long input_ptr) throws Throwable- Throws:
Throwable
-
SetInputName
public static void SetInputName(long input_ptr, String name) throws Throwable- Throws:
Throwable
-
SetInputRange
public static void SetInputRange(long input_ptr, double domain_inf, double domain_sup) throws Throwable- Throws:
Throwable
-
SetInputActive
public static void SetInputActive(long input_ptr, boolean active) throws Throwable- Throws:
Throwable
-
GetMFConc
public static long GetMFConc(long input_ptr, int rule_number) throws Throwable- Throws:
Throwable
-
ReplaceMF
public static void ReplaceMF(long input_ptr, int mf_number, long mf_ptr) throws Throwable- Throws:
Throwable
-
ReplaceMFOutput
public static void ReplaceMFOutput(long input_ptr, int mf_number, long mf_ptr) throws Throwable- Throws:
Throwable
-
InputAppartenance
public static double[] InputAppartenance(long input_ptr) throws Throwable- Throws:
Throwable
-
GetBreakPoints
public static double[] GetBreakPoints(long input_ptr) throws Throwable- Throws:
Throwable
-
SetTemplate
public static void SetTemplate(long input_ptr, double kw, double sw)
-
GetKernelWeightTemplate
public static double GetKernelWeightTemplate(long input_ptr)
-
GetSupportWeightTemplate
public static double GetSupportWeightTemplate(long input_ptr)
-
PcPe
public static double[] PcPe(long input_ptr, double[] datas, int dataSize)
-
CheckFuzDist
public static void CheckFuzDist(long input_ptr)
-
InputDistance
public static double InputDistance(long input_ptr, double x, double y, boolean normalize)
-
NewRegularOutput
public static long NewRegularOutput(int nb_sef, double min, double max, String defuz, boolean classif, double default_value, String disj) throws Throwable- Throws:
Throwable
-
NewIrregularOutput
public static long NewIrregularOutput(double[] sommets, int nb_sef, double min, double max, String defuz, boolean classif, double default_value, String disj) throws Throwable- Throws:
Throwable
-
NewOutputFloue
public static long NewOutputFloue(long output_ptr) throws Throwable- Throws:
Throwable
-
NewOutputNette
public static long NewOutputNette(long output_ptr) throws Throwable- Throws:
Throwable
-
GetOutputNature
public static String GetOutputNature(long output_ptr) throws Throwable
- Throws:
Throwable
-
GetOutputDefuz
public static String GetOutputDefuz(long output_ptr) throws Throwable
- Throws:
Throwable
-
GetOutputDisjunction
public static String GetOutputDisjunction(long output_ptr) throws Throwable
- Throws:
Throwable
-
SetOutputDefaultValue
public static void SetOutputDefaultValue(long output_ptr, double default_value) throws Throwable- Throws:
Throwable
-
GetOutputDefaultValue
public static double GetOutputDefaultValue(long output_ptr) throws Throwable- Throws:
Throwable
-
GetOutputClassif
public static boolean GetOutputClassif(long output_ptr) throws Throwable- Throws:
Throwable
-
GetTypeImplicatif
public static String GetTypeImplicatif(long output_ptr) throws Throwable
- Throws:
Throwable
-
TypeDefuzzificationFloue
public static String[] TypeDefuzzificationFloue() throws Throwable
- Throws:
Throwable
-
TypeDefuzzificationNette
public static String[] TypeDefuzzificationNette() throws Throwable
- Throws:
Throwable
-
TypeDefuzzificationImplicatif
public static String[] TypeDefuzzificationImplicatif() throws Throwable
- Throws:
Throwable
-
TypeDisjunctionImplicatif
public static String[] TypeDisjunctionImplicatif() throws Throwable
- Throws:
Throwable
-
TypeDisjunctionFloue
public static String[] TypeDisjunctionFloue() throws Throwable
- Throws:
Throwable
-
TypeDisjunctionNette
public static String[] TypeDisjunctionNette() throws Throwable
- Throws:
Throwable
-
SetDefuzThres
public static void SetDefuzThres(long output_ptr, double thres) throws Throwable- Throws:
Throwable
-
GetDefuzThres
public static double GetDefuzThres(long output_ptr) throws Throwable- Throws:
Throwable
-
NewMFTriangular
public static long NewMFTriangular(String name, double a, double b, double c) throws Throwable
- Throws:
Throwable
-
NewMFTrapezoidal
public static long NewMFTrapezoidal(String name, double a, double b, double c, double d) throws Throwable
- Throws:
Throwable
-
NewMFSemiTrapezoidalInf
public static long NewMFSemiTrapezoidalInf(String name, double a, double b, double c) throws Throwable
- Throws:
Throwable
-
NewMFSemiTrapezoidalSup
public static long NewMFSemiTrapezoidalSup(String name, double a, double b, double c) throws Throwable
- Throws:
Throwable
-
NewMFDiscrete
public static long NewMFDiscrete(String name, double[] values) throws Throwable
- Throws:
Throwable
-
NewMFUniversal
public static long NewMFUniversal(String name, double a, double b) throws Throwable
- Throws:
Throwable
-
NewMFGaussian
public static long NewMFGaussian(String name, double std, double mean) throws Throwable
- Throws:
Throwable
-
NewMFDoor
public static long NewMFDoor(String name, double a, double b) throws Throwable
- Throws:
Throwable
-
NewMFSinus
public static long NewMFSinus(String name, double a, double b) throws Throwable
- Throws:
Throwable
-
NewMFSinusInf
public static long NewMFSinusInf(String name, double a, double b) throws Throwable
- Throws:
Throwable
-
NewMFSinusSup
public static long NewMFSinusSup(String name, double a, double b) throws Throwable
- Throws:
Throwable
-
MFAlphaKernel
public static double[] MFAlphaKernel(long ptr, double alpha) throws Throwable- Throws:
Throwable
-
SetRuleProp
public static void SetRuleProp(long ptr, int input_number, int prop) throws Throwable- Throws:
Throwable
-
SetRuleConc
public static void SetRuleConc(long ptr, int output_number, double conc) throws Throwable- Throws:
Throwable
-
SetRuleActive
public static void SetRuleActive(long ptr, boolean active) throws Throwable- Throws:
Throwable
-
RulePremisseEqual
public static boolean RulePremisseEqual(long rule1_ptr, long rule2_ptr) throws Throwable- Throws:
Throwable
-
SetExpertWeight
public static void SetExpertWeight(long ptr, double weight) throws Throwable- Throws:
Throwable
-
SetMissingValues
public static void SetMissingValues(long ptr_sif, String missing_values) throws Throwable- Throws:
Throwable
-
GetMissingValues
public static String GetMissingValues(long ptr_sif) throws Throwable
- Throws:
Throwable
-
SetDataFilePath
public static void SetDataFilePath(String new_path) throws Throwable
- Throws:
Throwable
-
HFPOpen
public static long HFPOpen(String data_file, String hfp_file) throws Throwable
- Throws:
Throwable
-
HFPConfig
public static long HFPConfig(String data_file, int column_not_process, String hfp_file) throws Throwable
- Throws:
Throwable
-
GetHFPHierarchy
public static String GetHFPHierarchy(long hfp_ptr) throws Throwable
- Throws:
Throwable
-
SetHFPHierarchy
public static void SetHFPHierarchy(long hfp_ptr, String hierarchy) throws Throwable- Throws:
Throwable
-
GetHFPConjunction
public static String GetHFPConjunction(long hfp_ptr) throws Throwable
- Throws:
Throwable
-
SetHFPConjunction
public static void SetHFPConjunction(long hfp_ptr, String hierarchy) throws Throwable- Throws:
Throwable
-
GetHFPToleranceThreshold
public static double GetHFPToleranceThreshold(long hfp_ptr) throws Throwable- Throws:
Throwable
-
SetHFPToleranceThreshold
public static void SetHFPToleranceThreshold(long hfp_ptr, double tolerance) throws Throwable- Throws:
Throwable
-
GetHFPParameters
public static Object[] GetHFPParameters(long hfp_ptr) throws Throwable
- Throws:
Throwable
-
SetHFPParameters
public static void SetHFPParameters(long hfp_ptr, String distance) throws Throwable- Throws:
Throwable
-
GetHFPInput
public static long GetHFPInput(long hfp_ptr, int input_number) throws Throwable- Throws:
Throwable
-
GetHFPOutput
public static long GetHFPOutput(long hfp_ptr, int output_number) throws Throwable- Throws:
Throwable
-
HFPSave
public static void HFPSave(long hfp_ptr, String data_file, String hfp_file) throws Throwable- Throws:
Throwable
-
GetHFPInputNumberOfMF
public static int GetHFPInputNumberOfMF(long hfp_input_ptr) throws Throwable- Throws:
Throwable
-
SetHFPInputNumberOfMF
public static void SetHFPInputNumberOfMF(long hfp_input_ptr, int number) throws Throwable- Throws:
Throwable
-
HFPVertex
public static void HFPVertex(String data_file, String hfp_file, String vertex_file) throws Throwable
- Throws:
Throwable
-
HFPSelect
public static void HFPSelect(String data_file, String hfp_file, boolean ruleInductionMethodFPA, double min_cumul_weight, int cardinality_strategy, double min_matching_degree, int min_cardinality, String result_file_name, double loss_coverage, int initial_number_of_mf, int max_number_of_iter, String vertex_file, int output_number, String validation_file) throws Throwable
- Throws:
Throwable
-
HFPFIS
public static long HFPFIS(String data_file, String hfp_file, boolean ruleInductionMethodFPA, double min_cumul_weight, int cardinality_strategy, double min_matching_degree, int min_cardinality, int output_number, String vertex_file) throws Throwable
- Throws:
Throwable
-
ReplaceHFPOutput
public static void ReplaceHFPOutput(long hfp_ptr, int output_number, long output_ptr) throws Throwable- Throws:
Throwable
-
SetHFPFIS
public static void SetHFPFIS(String hfp_in, String cfg, String hfp_out) throws Throwable
- Throws:
Throwable
-
WangMendel
public static long WangMendel(String fis, String data_file, String fis_out) throws Throwable
- Throws:
Throwable
-
HFPSR
public static long HFPSR(String data_file, String inputs_mfs, int input_hierarchy, double input_tol, int output_mfs, int output_hierarchy, String output_defuz, String output_disj, double output_tol, String conjunction, boolean classif) throws Throwable
- Throws:
Throwable
-
PerfHeaderObserved
public static String PerfHeaderObserved() throws Throwable
Entete de la colonne observe du fichier performance- Returns:
- String entete observe
- Throws:
Throwable
-
PerfHeaderInferred
public static String PerfHeaderInferred() throws Throwable
Entete de la colonne infere du fichier performance- Returns:
- String entete infere
- Throws:
Throwable
-
PerfHeaderError
public static String PerfHeaderError() throws Throwable
Entete de la colonne erreur du fichier performance- Returns:
- String entete erreur
- Throws:
Throwable
-
PerfHeaderClassInferred
public static String PerfHeaderClassInferred() throws Throwable
Entete de la colonne classe infere du fichier performance- Returns:
- String entete classe infere
- Throws:
Throwable
-
PerfHeaderBlank
public static String PerfHeaderBlank() throws Throwable
Entete de la colonne blanc du fichier performance- Returns:
- String entete blanc
- Throws:
Throwable
-
PerfHeaderInferredSymbMatch
public static String PerfHeaderInferredSymbMatch() throws Throwable
- Throws:
Throwable
-
LinksItemsRulesExtension
public static String LinksItemsRulesExtension() throws Throwable
Extension du fichier items rules- Throws:
Throwable
-
LinksRulesItemsExtension
public static String LinksRulesItemsExtension() throws Throwable
Extension du fichier rules items- Throws:
Throwable
-
LinksRulesLinksExtension
public static String LinksRulesLinksExtension() throws Throwable
Extension du fichier rules links- Throws:
Throwable
-
LinksRulesSortedExtension
public static String LinksRulesSortedExtension() throws Throwable
Extension du fichier rules sorted- Throws:
Throwable
-
GenerateSample
public static void GenerateSample(String dataFile, int sampleNumber, double learningDataRatio, int seed, boolean classif, int columnNumber, double precision, boolean replace, boolean truncate) throws Throwable
- Throws:
Throwable
-
WriteTemplate
public static void WriteTemplate(String file, double kw, double sw) throws Throwable
- Throws:
Throwable
-
-