Skip to content

Instantly share code, notes, and snippets.

View LucaMell's full-sized avatar
🙏

LucaMell

🙏
  • Copenhagen
View GitHub Profile
model1=applications.InceptionResNetV2(weights = "imagenet", include_top=False, input_shape = (img_width, img_height, 3))
x = model1.output
x=Dropout(0.5)(x)
x = Flatten()(x)
output = Dense(num_classes, activation="softmax")(x)
model1 = Model(input = model.input, output = output)
model1.compile(loss = "categorical_crossentropy", optimizer = 'adam', metrics=["accuracy"])
reduce_lr = ReduceLROnPlateau(monitor='val_acc', factor=0.2, patience=3, min_lr=0.0001,mode='auto')
checkpoint = ModelCheckpoint("vgg16.h5", monitor='val_acc', verbose=1, save_best_only=True, save_weights_only=False, mode='auto', period=1)
reduce_lr = ReduceLROnPlateau(monitor='val_acc', factor=0.2, patience=3, min_lr=0.0001,mode='auto')
@LucaMell
LucaMell / Spam+Classifier.ipynb
Created September 3, 2019 09:58
Spam+Classifier
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LucaMell
LucaMell / Credit+Card+Fraud+Detection.ipynb
Created September 3, 2019 09:52
Credit+Card+Fraud+Detection
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LucaMell
LucaMell / Amazon+Reviews+Classification.ipynb
Created September 3, 2019 09:44
Amazon+Reviews+Classification
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LucaMell
LucaMell / Kyphosis+Disease+Classification.ipynb
Created September 3, 2019 09:40
Kyphosis+Disease+Classification
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LucaMell
LucaMell / IRIS+plant+Classification.ipynb
Created September 3, 2019 09:29
IRIS+plant+Classification
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LucaMell
LucaMell / SVM+-+Cancer+Classification.ipynb
Created September 3, 2019 09:18
SVM+-+Cancer+Classification
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LucaMell
LucaMell / Predict_Customer_clickson_FBads.ipynb
Created September 3, 2019 08:54
Predict_Customer_clickson_FBads
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LucaMell
LucaMell / Titanic_Survival.ipynb
Created September 3, 2019 08:40
Titanic_Survival
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LucaMell
LucaMell / HousePricesPrediction.ipynb
Created September 3, 2019 08:26
House_Prices_Prediction
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.