Skip to content Skip to sidebar Skip to footer
Showing posts with the label Machine Learning

Performing 1d Convolution Using 2d Kernel In Keras

I am currently working on a CNN network, in which i want to apply a 2d kernel on a image, but it on… Read more Performing 1d Convolution Using 2d Kernel In Keras

Groupby With Sub-ranges In Pandas

I am researching soccer dataset LEAGUE HOME DRAW AWAY WINNER PREDICTED PROFIT 0 … Read more Groupby With Sub-ranges In Pandas

Ntlk & Python, Plotting Roc Curve

I am using nltk with Python and I would like to plot the ROC curve of my classifier (Naive Bayes). … Read more Ntlk & Python, Plotting Roc Curve

Shape Mismatch: If Categories Is An Array, It Has To Be Of Shape (n_features,)

Here is the code I'm trying to execute to encode the values of the first column of my data set … Read more Shape Mismatch: If Categories Is An Array, It Has To Be Of Shape (n_features,)

Why Roc_auc Produces Weird Results In Sklearn?

I have a binary classification problem where I use the following code to get my weighted avarege pr… Read more Why Roc_auc Produces Weird Results In Sklearn?

Using Sgd Without Using Sklearn (logloss Increasing With Every Epoch)

def train(X_train,y_train,X_test,y_test,epochs,alpha,eta0): w,b = initialize_weights(X_train[0]… Read more Using Sgd Without Using Sklearn (logloss Increasing With Every Epoch)

Neural Network Backpropagation Algorithm Not Working In Python

I am writing a neural network in Python, following the example here. It seems that the backpropagat… Read more Neural Network Backpropagation Algorithm Not Working In Python

Stratifiedshufflesplit: Valueerror: The Least Populated Class In Y Has Only 1 Member, Which Is Too Few.

I'm using the StratifiedShuffleSplit cross validator for predicting the house prices in the Bos… Read more Stratifiedshufflesplit: Valueerror: The Least Populated Class In Y Has Only 1 Member, Which Is Too Few.