コード例 #1
0
ファイル: accFPooling.py プロジェクト: jm-begon/masterthesis
def plotFIAvg(data=dataAvg):
    plotFeatureImportance(
        data,
        "RandConv with original image (feature 0) and custom filters\n3x3 average pooling",
        None,
        lim=0.085,
        colorate=[("3x3 average", "b")],
    )
コード例 #2
0
ファイル: accFPooling.py プロジェクト: jm-begon/masterthesis
def plotFImax357(data=dataMax357):

    plotFeatureImportance(
        data,
        "RandConv with original image (feature 0) and custom filters\n3x3, 5x5, 7x7 maximum pooling",
        None,
        lim=0.025,
        colorate=[("3x3 maximum", "g"), ("5x5 maximum", "y"), ("7x7 maximum", "#F90FC6")],
    )
コード例 #3
0
ファイル: accFPooling.py プロジェクト: jm-begon/masterthesis
def plotFImMa(data=datanmaM):

    plotFeatureImportance(
        data,
        "RandConv with original image (feature 0) and custom filters\n3x3 minimum, average and maximum pooling",
        None,
        lim=0.025,
        colorate=[("no pooling", "m"), ("3x3 average", "b"), ("3x3 minimum", "r"), ("3x3 maximum", "g")],
    )
コード例 #4
0
ファイル: accFPooling.py プロジェクト: jm-begon/masterthesis
def plotFIavg357(data=dataAvg357):

    plotFeatureImportance(
        data,
        "RandConv with original image (feature 0) and custom filters\n3x3, 5x5, 7x7 average pooling",
        None,
        lim=0.025,
        colorate=[("3x3 average", "b"), ("5x5 average", "c"), ("7x7 average", "#F69E1B")],
    )
コード例 #5
0
ファイル: accFPooling.py プロジェクト: jm-begon/masterthesis
def plotFIMax(data=dataMax):

    plotFeatureImportance(
        data,
        "RandConv with original image (feature 0) and custom filters\n3x3 maximum pooling",
        None,
        lim=0.085,
        colorate=[("3x3 maximum", "g")],
    )
コード例 #6
0
ファイル: accFPooling.py プロジェクト: jm-begon/masterthesis
def plotFINo(data=dataNo):

    plotFeatureImportance(
        data,
        "RandConv with original image (feature 0) and custom filters\nNo pooling",
        None,
        lim=0.085,
        colorate=[("no pooling", "m")],
    )
コード例 #7
0
def plotFI(data, nbTree):
    plotFeatureImportance(data, "RandConv with original image (feature 0) \n"+str(nbTree)+" trees", None)
コード例 #8
0
ファイル: varTrees.py プロジェクト: jm-begon/masterthesis
def plotFI(data, tNum):
    plotFeatureImportance(data, "RandConv with original image (feature 0) \nTest number "+str(tNum), None)
コード例 #9
0
ファイル: accFuncNbSW.py プロジェクト: jm-begon/masterthesis
def plotFIWholeImage(data):
    plotFeatureImportance(data, "RandConv with original image (feature 0) \nWhole image", None)
コード例 #10
0
ファイル: accFuncNbSW.py プロジェクト: jm-begon/masterthesis
def plotFI(data, nbSW):
    plotFeatureImportance(data, "RandConv with original image (feature 0) \n"+str(nbSW)+" subwindow(s)", None)
コード例 #11
0
ファイル: accFk.py プロジェクト: jm-begon/masterthesis
def plotFI(data, k):
    plotFeatureImportance(data, "RandConv with original image (feature 0) \n"+str(k)+" inspected features for each node split", None)
コード例 #12
0
ファイル: Varzeropert.py プロジェクト: jm-begon/masterthesis
def plotFIHist(data, nbTest):
    indices = np.argsort(data)[::-1]
    data = np.array(data)[indices]
    plotFeatureImportance(data, "RandConv with original image (feature 0) : feature importance histogram\nGlobal varibility test "+str(nbTest), None)
コード例 #13
0
ファイル: Varzeropert.py プロジェクト: jm-begon/masterthesis
def plotFI(data, nbTest):
    plotFeatureImportance(data, "RandConv with original image (feature 0) : feature importances \nGlobal varibility test "+str(nbTest), None)
コード例 #14
0
ファイル: accFnmin.py プロジェクト: jm-begon/masterthesis
def plotFI(data, k):
    plotFeatureImportance(data, "RandConv with original image (feature 0) \nMinimum number of sample to split : "+str(k), None)