Esempio 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)
Esempio n. 2
0
def plotKitID(dataframe, clf):
    plotUsageAndNumcliAndVarClassByTS(dataframe, False)
Esempio 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)