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 activity in Machine Learning
0
0 votes
1
answers
1 answer
438
438 views
Step-by-Step Hidden State Calculation in a Recurrent Neural Network
Consider a simplified Recurrent Neural Network (RNN) with a single input and a single output. The hidden state is updated using the recurrence:$$ h_t = \text{ReLU}(W_{ih}...
tofighi
116k
points
73
79
101
answered
Dec 1, 2025
Machine Learning
machine-learning
deep-learning
rnn
+
–
0
0 votes
1
answers
1 answer
2.5k
2.5k views
How to calculate feed-forward (forward-propagation) in neural network for classification?
For the following neural network, calculate accuracy of classification, given these settings
tofighi
116k
points
73
79
101
answered
Oct 9, 2024
Machine Learning
ml-midterm
ele888-midterm
deep-learning
ml-exercise
machine-learning
feed-forward
forward-propagation
+
–
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...
johnjoness
100
points
2
commented
Apr 17, 2024
Machine Learning
machine-learning
deep-learning
gradient-decent
backpropagation
cost-function
linear-regression
ml-exercise
ele888-final
+
–
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...
Tekneq
100
points
2
commented
Apr 5, 2024
Machine Learning
machine-learning
deep-learning
backpropagation
back-propagation
gradient-decent
ml-exercise
ml-final
ele888-final
+
–
0
0 votes
0
0 answers
1.3k
1.3k views
When to use one hot encode a category and when to segment by category?
When pre processing data for machine learning. Is there any difference in using one hot encoding to turn categoric variables into numeric variables or to segment the data...
NewDS64
120
points
1
1
3
asked
Feb 22, 2023
Machine Learning
machine-learning
preprocessing
+
–
0
0 votes
1
1 answer
7.6k
7.6k views
How to calculate the residual errors, (MSE),(MAE), and (RMSE)?
Given the following sample dataset with 5 samples and 2 features:SampleFeature 1Feature 2Actual ValuePredicted Value1234623456345674567856789Calculate the residual errors...
tofighi
116k
points
73
79
101
answered
Jan 26, 2023
Machine Learning
residual
linear-regression
ml-midterm
ml-exercise
machine-learning
ele888-midterm
+
–
0
0 votes
0
0 answers
1.5k
1.5k views
Creating tables from unstructured texts about stock market
I am trying to extract information such as profits, revenues and others along with their corresponding dates and quarters from an unstructured text about stock market and...
messyaryal
120
points
1
1
3
asked
Aug 1, 2022
Machine Learning
nlp
machine-learning
data-science
information-extraction
ai
+
–
0
0 votes
0
0 answers
1.5k
1.5k views
Kmeans clustering in python - Giving original labels to predicted clusters
I have a dataset with 7 labels in the target variable.X = data.drop('target', axis=1) Y = data['target'] Y.unique()array(['Normal_Weight', 'Overweight_Level_I', 'Overweig...
Frenzy
120
points
2
2
4
asked
Apr 27, 2022
Machine Learning
python
machine-learning
clustering
scikit-learn
+
–
0
0 votes
0
0 answers
1.0k
1.0k views
Bankruptcy prediction and credit card
Hello everyone newbie data scientist here.I'm working on a project to predict companies (probability of default) bankruptcy probability and to assign them a credit rating...
Yassine
120
points
1
1
3
asked
Apr 10, 2022
Machine Learning
classification
deep-learning
data-science
linear-regression
+
–
1
1 vote
1
1 answer
1.4k
1.4k views
When dealing with categorical values, should the 'year' column be encoded using OHE or OrdinalEncoder?
It's a car prices dataset, and so I'm assuming that the more recent the more value a car should have. The values in the 'year' column simply consist of years from 1995 to...
tofighi
116k
points
73
79
101
answered
Dec 20, 2021
Machine Learning
machine-learning
data-science
predict
onehotencoder
data-analysis
ordinal-encoder
+
–
0
0 votes
1
answers
1 answer
3.6k
3.6k views
How to create a Decision Tree using the ID3 algorithm?
NASA wants to be able to discriminate between Martians (M) and Humans (H) based on thefollowing characteristics: Green ∈{N, Y }, Legs ∈{2, 3}, Height ∈{S, T}, Smelly ∈{N,...
tofighi
116k
points
73
79
101
answer selected
Dec 1, 2021
Machine Learning
decision-tree
entropy
ml-exercise
ai-final
+
–
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
answer selected
Oct 17, 2021
Machine Learning
machine-learning
logistic-regression
loss
ml-exercise
ele888-midterm
ml-midterm
+
–
0
0 votes
0
0 answers
442
442 views
Which algorithm is best to detect anomalies within a data set of 5k+ user-login events?
I am trying to build an unsupervised ML model to detect anomalies within 5000+ users' login data. I selected 5 features contained within each of the user-login events (e...
ML_newbie
120
points
1
3
asked
Oct 5, 2021
Machine Learning
probability
density
cluster
unsupervised
unlabeled
+
–
0
0 votes
0
0 answers
377
377 views
How we incorporate the polyline in machine learnning tools
Suppose I have to predict the traffic of a road segment based on available data such as number of houses and business along the road segment. Which machine learning tool ...
Bison
120
points
1
3
asked
Sep 29, 2021
Machine Learning
machine-learning-for-roads
+
–
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...
Abu97Abdullah
100
points
1
1
3
commented
Jul 5, 2021
Machine Learning
machine-learning
softmax-regression
softmax
ml-exercise
ele888-midterm
ele888-final
ml-midterm
ai-final
+
–
3
3 votes
1
answers
1 answer
6.0k
6.0k views
How to update the weights in backpropagation algorithm when activation function in not linear?
The goal of backpropagation is to optimize the weights so that the neural network can learn how to correctly map arbitrary inputs to outputs.Assume for the following neur...
Raha
100
points
2
4
commented
Jul 3, 2021
Machine Learning
machine-learning
deep-learning
neural-network
backpropagation
back-propagation
ml-exercise
ml-final
ele888-final
+
–
3
3 votes
1
answers
1 answer
6.3k
6.3k views
What are the main branches of Machine Learning?
Could you please show a summary of all the branches in Machine Learning?
kamranjabbar
110
points
2
commented
Jun 28, 2021
Machine Learning
machine-learning
+
–
1
1 vote
1
1 answer
723
723 views
Do I need to save the standardization transformation?
When I standardized my data when I created my model. Do I need to save the standardization transformation when I want to predict with my model new data ?
tofighi
116k
points
73
79
101
answered
Dec 15, 2020
Machine Learning
machine-learning
predict
data
match
+
–
0
0 votes
0
0 answers
690
690 views
Why should I use Dynamic Time Warping over GMM for timer series clustering?
mrfahrenheit15
120
points
1
1
3
asked
Dec 3, 2020
Machine Learning
machine-learning
time
clustering
time-series-clustering
dynamic-time-warping
+
–
0
0 votes
1
1 answer
1.0k
1.0k views
How to predict from unseen data?
Hi. I have a question about model-based predictions when data is only available after the fact. Let me give you an example. I try to predict the result (HOME, AWAY or a D...
iaslan
140
points
2
answered
Nov 20, 2020
Machine Learning
machine-learning
data
predict
unseen
match
football
soccer
+
–
To see more, click for all the
questions in this category
.