Skip to content

Error loading Model #2

@iAndrea

Description

@iAndrea

When i have to create a model for the first time there are no problem.
After the creation, i use the tool with the --model option (also with malware and benign apk parameters), but after: SVMModels = load(Model)
Gives me an error in: BestModel= SVMModels.best_estimator

Ok, i modify it as: BestModel= SVMModels.best_estimator_ and it works great, but the next predict doesn't work: y_pred = SVMModels.predict(x_test)

Should i retrain the model after loading, before predict? If yes, why you didn't do it...
schermata 2018-03-02 alle 21 43 47

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions