Exemplo n.º 1
0
def plotPredKitIDCrossValidation2(dataframe, clf):
    Z, w = prepareTraining2(dataframe)
    y_pred = cross_val_predict(clf, Z, w, cv=5)
    dataframe.loc[:, 'VAR_CLASS_PRED'] = y_pred
    dataframe = fromSecondToDate(dataframe)
    plotUsageAndNumcliAndVarClassByTS(dataframe, True)
Exemplo n.º 2
0
def plotKitID(dataframe, clf):
    plotUsageAndNumcliAndVarClassByTS(dataframe, False)
Exemplo n.º 3
0
def plotPredKitID(dataframe, clf):
    Z, w = prepareTraining2(dataframe)
    y_pred = clf.predict(Z)
    dataframe.loc[:, 'VAR_CLASS_PRED'] = y_pred
    dataframe = fromSecondToDate(dataframe)
    plotUsageAndNumcliAndVarClassByTS(dataframe, True)