/// <summary>Configures local function in the feature weighting model</summary> /// <remarks><para>It will set computation and normalization options for feature weighting</para></remarks> /// <param name="computation">Computation scheme to be used for the local factor</param> /// <param name="normalization">Normalization scheme to be used for the local factor</param> /// <param name="debug">--</param> /// <seealso cref="aceOperationSetExecutorBase"/> public void aceOperation_setLocalWeight( [Description("--")] TFComputation computation = TFComputation.normal, [Description("--")] TFNormalization normalization = TFNormalization.divisionByMaxTF) { data.LocalFunction.computation = computation; data.LocalFunction.normalization = normalization; }
public static String GetFunctionName(TFComputation comp) { switch (comp) { case TFComputation.glasgow: return("Glasgow"); break; case TFComputation.modifiedTF: return("mTF"); break; case TFComputation.normal: return("TF"); break; case TFComputation.squareRooted: return("RTF"); break; } return(comp.ToString()); }