Implementation questions about machine learning algorithms.
Let's say I have a 1d numpy array a = array([1,0,3]) I would like to encode this as a 2D one-hot …
python numpy machine-learning numpy-ndarray one-hot-encodingHow to load a model from an HDF5 file in Keras? What I tried: model = Sequential() model.add(Dense(64, input_…
python machine-learning keras data-scienceI'm trying to train a CNN to categorize text by topic. When I use binary cross-entropy I get ~80% accuracy, with …
machine-learning keras neural-network deep-learning conv-neural-networkWhen I trained my neural network with Theano or Tensorflow, they will report a variable called "loss" per epoch. How …
machine-learning neural-network mathematical-optimization deep-learning objective-functionI was going through the tensorflow API docs here. In the tensorflow documentation, they used a keyword called logits. What …
python machine-learning tensorflowIs there a rule-of-thumb for how to best divide data into training and validation sets? Is an even 50/50 split advisable? …
machine-learningI'm working in a sentiment analysis problem the data looks like this: label instances 5 1190 4 838 3 239 1 204 2 127 So my data is unbalanced since 1190 …
python machine-learning nlp artificial-intelligence scikit-learnIn terms of artificial intelligence and machine learning, what is the difference between supervised and unsupervised learning? Can you provide …
machine-learning artificial-intelligence supervised-learning unsupervised-learningI've been trying to use tensorflow for two days now installing and reinstalling it over and over again in python2.7 …
python machine-learning tensorflowI am unable to understand the page of the StandardScaler in the documentation of sklearn. Can anyone explain this to …
python machine-learning scikit-learn scaling standardized