June 2018
Intermediate to advanced
276 pages
6h 26m
English
Check Chapter2-Practice folder for the answers: https://github.com/PacktPublishing/Mastering-Machine-Learning-for-Penetration-Testing/tree/master/Chapter%202/Chaptre2-Practice.
train_labels = np.zeros(702)train_labels[351:701] = 1train_matrix = extract_features(train_dir)
model = LinearSVC()model.fit(train_matrix,train_labels) ...
Read now
Unlock full access