This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
from keras.models import Sequential | |
from keras.layers import Dense, Activation | |
from keras.optimizers import SGD | |
from keras.utils import to_categorical | |
def get_data(): | |
X = np.array([[1,2], [1,12], [1,17], [9,33], [48,49], [48,50]]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function deleteFromImgur() { | |
$.ajax({ | |
url: "https://api.imgur.com/3/image/{id}", | |
type: "DELETE", | |
headers: { | |
"Authorization": "Client-ID YOUR-CLIEND-ID-GOES-HERE" | |
}, | |
success: function(response) { | |
//console.log(response); | |
} |