Seach the website
Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Courses
Feedback
Recent questions in Machine Learning
2
2 votes
2
2 answers
10.5k
10.5k views
How to optimize weights in Logistic Regression?
The hypothesis (model) of Logistic Regression which is a binary classifier ( $y =\{0,1\} $) is given in the equation below:Hypothesis$S(z)=P(y=1 | x)=h_{\theta}(x)=\frac{...
tofighi
116k
points
73
79
101
asked
Jun 5, 2019
Machine Learning
machine-learning
logistic-regression
batch
mini-batch
epoch
ml-exercise
ele888-midterm
+
–
0
0 votes
1
1 answer
1.8k
1.8k views
Could you please explain math symbols behind Machine Learning equations?
tofighi
116k
points
73
79
101
asked
May 18, 2019
Machine Learning
math
machine-learning
symbol
+
–
1
1 vote
1
1 answer
779
779 views
How do I Plot the linear classifier calculated with LIBLINEAR using sklearn?
Make a scatter plot where the x-axis is the height of the citizens and the y-axis is the weight of the citizens. The color of the points need to be different for males an...
Harsh Grover
130
points
1
1
3
asked
May 16, 2019
Machine Learning
machine-learning
linear-regression
visualization
+
–
1
1 vote
0
0 answers
965
965 views
how can i convert LSTM model to linear regression model?
Here is LSTM predict model and i want to convert Linear Regression.... model.fit(x_train, y_train, epochs=10, batch_size=16) trainPredict = model.predict(x_train) testPre...
kmr1994
210
points
4
4
7
asked
Apr 29, 2019
Machine Learning
machine-learning
linear-regression
+
–
3
3 votes
1
answers
1 answer
7.4k
7.4k views
How to update weights in backpropagation algorithm (a numerical example)?
Assume we have the following neural network and all activation functions are $f(z)=z$. If the weights are initialized with the values you see in table below, what will be...
tofighi
116k
points
73
79
101
asked
Apr 11, 2019
Machine Learning
machine-learning
deep-learning
backpropagation
back-propagation
gradient-decent
ml-exercise
ml-final
ele888-final
+
–
0
0 votes
1
answers
1 answer
1.8k
1.8k views
How to calculate univariate linear regression?
For the following dataset, calculate the regression equation $\hat{y} = ax+b$datasetxy1423501075161002615036200
tofighi
116k
points
73
79
101
asked
Apr 11, 2019
Machine Learning
machine-learning
linear-regression
ml-exercise
+
–
3
3 votes
2
answers
2 answers
8.4k
8.4k views
How to calculate Softmax Regression probabilities in this example?
The scatter plot of Iris Dataset is shown in the figure below. Assume Softmax Regression is used to classify Iris to Setosa, Versicolor, or Viriginica using just petal le...
tofighi
116k
points
73
79
101
asked
Apr 4, 2019
Machine Learning
machine-learning
softmax-regression
softmax
ml-exercise
ml-midterm
ml-final
ele888-midterm
ele888-final
ai-final
+
–
3
3 votes
1
answers
1 answer
9.4k
9.4k views
How to calculate feed-forward (forward-propagation) in neural network?
In the figure below, a neural network is shown. Calculate the following:1) How many neurons do we have in the input layer and the output layer?2) How many hidden layers d...
tofighi
116k
points
73
79
101
asked
Apr 4, 2019
Machine Learning
machine-learning
feed-forward
forward-propagation
deep-learning
ml-exercise
ml-final
ele888-midterm
ele888-final
ml-midterm
+
–
1
1 vote
1
1 answer
2.7k
2.7k views
How do I reduce RMSE in a Random Forest Regressor?
I preprocessed the data, normalized the numerical features, and did one hot encoding for the categorical ones. I end up with a model with R^2=0.7 and RMSE which is 15% of...
engy.abdelazeez
190
points
3
3
5
asked
Apr 3, 2019
Machine Learning
random-forest
data-science
machine-learning
+
–
2
2 votes
1
answers
1 answer
6.6k
6.6k views
How to update weights using gradient decent algorithm?
For the below neural network, imagine we are going to use the backpropagation algorithm to update weights. If the Bias (b) in this problem is always 0 (ignore bias when y...
tofighi
116k
points
73
79
101
asked
Mar 28, 2019
Machine Learning
machine-learning
deep-learning
gradient-decent
backpropagation
cost-function
linear-regression
ml-exercise
ele888-final
+
–
1
1 vote
0
0 answers
7.8k
7.8k views
Looking for guidance on whether I have the necessary data to answer a Regression question
Hi everyone.I'm currently working on my final project for a Data Science degree and after a month of literature review, exploratory analysis and model testing, I'm not su...
TomGoncalves
130
points
1
1
3
asked
Mar 24, 2019
Machine Learning
machine-learning
statistics
linear-regression
random-forest
decision-tree
+
–
3
3 votes
1
answers
1 answer
10.8k
10.8k views
How to calculate Softmax Regression probabilities?
The scatter plot of Iris Dataset is shown in the figure below. Assume Softmax Regression is used to classify Iris to Setosa, Versicolor, or Viriginica using just petal le...
tofighi
116k
points
73
79
101
asked
Mar 21, 2019
Machine Learning
machine-learning
softmax-regression
softmax
ml-exercise
ele888-midterm
ele888-final
ml-midterm
ai-final
+
–
1
1 vote
1
1 answer
586
586 views
model.predict is abnormal
the code is import numpy as np import pandas as pd from keras.models import Sequential from keras.layers import Dense, LSTM, Dropout from keras.layers.core import Dense, ...
kmr1994
210
points
4
4
7
asked
Mar 20, 2019
Machine Learning
lstm
machine-learning
+
–
1
1 vote
1
1 answer
1.3k
1.3k views
Determine weights on the paths that connect to the different data points in a neural network?
How do you determine the weight values that connect to the other data points when solving for our output in neural networks?
mcneils
130
points
1
1
3
asked
Mar 18, 2019
Machine Learning
data-science
machine-learning
deep-learning
+
–
3
3 votes
1
answers
1 answer
7.4k
7.4k views
How to calculate LogLoss in logistic regression?
The dataset of pass/fail in an exam for 5 students is given in the table below. If we use Logistic Regression as the classifier and assume the model suggested by the opti...
tofighi
116k
points
73
79
101
asked
Mar 18, 2019
Machine Learning
machine-learning
logistic-regression
loss
ml-exercise
ele888-midterm
ml-midterm
+
–
2
2 votes
1
answers
1 answer
13.3k
13.3k views
How to calculate probability in Logistic Regression?
The dataset of pass/fail in an exam for 5 students is given in the table below. If we use Logistic Regression as the classifier and assume the model suggested by the opti...
tofighi
116k
points
73
79
101
asked
Mar 18, 2019
Machine Learning
machine-learning
logistic-regression
probability
odds
ml-exercise
ml-midterm
+
–
1
1 vote
1
1 answer
547
547 views
I fit a many different models to my data set and I still get horrible accuracy. Any suggestions?
I'm trying to create a regression with a data set that does not contain any nulls and has a very few outliers. I fit a linear regression, a random forest, and a gbm model...
engy.abdelazeez
190
points
3
3
5
asked
Mar 7, 2019
Machine Learning
data-science
+
–
1
1 vote
1
1 answer
1.1k
1.1k views
How do you visualize/present the predicted output of a random forest model with large trees?
I’ve heard that it’s hard to visualize the output of random forest models with large trees/forest but I’m finding it hard to understand what the use case for the model i...
engy.abdelazeez
190
points
3
3
5
asked
Feb 28, 2019
Machine Learning
data-science
random-forest
visualization
+
–
2
2 votes
1
1 answer
591
591 views
How do I know when it is appropriate to use stratified sampling?
cbarbisan
180
points
3
3
7
asked
Feb 19, 2019
Machine Learning
machine-learning
statistics
test-set
+
–
2
2 votes
1
1 answer
840
840 views
Python Machine Learning: Scikit-Learn Tutorial
Regarding the datacamp tutorial "Python Machine Learning: Scikit-Learn Tutorial", the author is considering the use cases that are relevant to the digits data set, so she...
cbarbisan
180
points
3
3
7
asked
Jan 31, 2019
Machine Learning
machine-learning
scikit-learn
+
–
Page:
« prev
1
2
3
4
next »