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
1
1 vote
1
1 answer
1.6k
1.6k views
How to analyse imbalanced categorical colum in dataset
Hello,I have a dataset with a categorical column that contains three categories. One of the categories represents 98% of the data, while the remaining 2% are distributed ...
ghoshbabu
140
points
3
answered
Feb 19
Data Science
data-science
imbalanced-data
data-analysis
data-cleaning
+
–
0
0 votes
1
answers
1 answer
437
437 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.3k
1.3k views
Can you verify the validity of this chart comparing the review scores for Marvel Phase 4?
I have some skepticism about the validity of the charts below comparing the critic and audience reviews for Phase 4 of the MCU to the previous 3 phases. There are over 18...
GammaRay247
120
points
1
1
3
asked
Jan 9, 2023
Exploratory Data Analysis
data-science
+
–
0
0 votes
1
answers
1 answer
2.6k
2.6k views
How to use Genetic Algorithm to optimize a function?
Assume the function is defined as $f(x,y)=x^2+y^2-4xy$, and $1\leq x \leq 4,1\leq y \leq 4$. The Genetic Algorithm is selected to maximize the function. If the first pop...
tofighi
116k
points
73
79
101
edited
Nov 23, 2022
Artificial Intelligence
ai-final
genetic-algorithm
ga
+
–
0
0 votes
1
answers
1 answer
1.9k
1.9k views
List of free Qwiklabs labs
Provide a short list of free cloud labs on Qwiklabs
tofighi
116k
points
73
79
101
answered
Oct 28, 2022
Cloud Computing
qwiklabs
cloud-computing
gcp
aws
+
–
1
1 vote
1
answers
1 answer
3.6k
3.6k views
What is the difference between a batch and an epoch in a Neural Network?
Both of the batch size and number of epochs are integer values and seem to do the same thing in Stochastic gradient descent. What are these two hyper-parameters of this l...
tofighi
116k
points
73
79
101
retagged
Sep 28, 2022
Machine Learning Interview Questions
machine-learning
deep-learning
stochastic-gradient-descent
batch
epoch
interview
hyper-parameter
ml-final
ai-final
+
–
0
0 votes
0
0 answers
1.4k
1.4k views
Which code has best runtime and why?(the one commented or the other one)
# for key, value in dict.items(): # if value >= long: # long = value # long_name = key # if value < sh...
someone_prog
120
points
1
1
3
asked
Sep 2, 2022
Python
python
+
–
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.3k
1.3k views
How do I compare the count of a value in each year while having a different sanple size each year.
How do I accurately compare between the number of something a survey measure from my employees each year with a varying umber of survey engagement and employee size?If I ...
Nescafeadjust
120
points
1
1
3
asked
Jun 8, 2022
general
data-science
+
–
0
0 votes
0
0 answers
1.4k
1.4k views
Is it possible to make a forecast of a future value of Air Temperature using Fast Fourier Transform?
Is it possible to make a forecast of a future value of Air Temperature using Fast Fourier Transform, if yes, what should be the process or how you'll be able to do it. Th...
nuroxyjames
120
points
1
1
3
asked
Jun 2, 2022
Data Science
fft
data-science
fast-fourier-transform
spectral
analysis
prediction
forecasting
+
–
0
0 votes
0
0 answers
1.3k
1.3k views
forecast log transformed fitted values for 2 years using ARMA model
Input is a stock price in exponential transformation. We are asked to forecast using ARMA results for 2 years.
mbassoun
120
points
1
1
3
asked
May 4, 2022
Exploratory Data Analysis
data-science
predict
+
–
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
+
–
0
0 votes
1
1 answer
1.8k
1.8k views
how to output f1-score instead of accuracy
I have the code below, outputting the accuracy. How can I output the F1-score instead? Thanks in advance,clf.fit(data_train,target_train) preds = clf.predict(data_test) #...
tofighi
116k
points
73
79
101
answered
Apr 2, 2022
Python
machine-learning
f1score
accuracy
+
–
0
0 votes
0
0 answers
989
989 views
I cannot get this code to work. please help.
from keras.models import Sequential from keras.layers import Dense from keras.layers import LSTM from sklearn.model_selection import train_test_splitmodel = Sequential() ...
anonymous1200
120
points
1
1
3
asked
Mar 21, 2022
Python
machine-learning
data-science
neural-network
+
–
To see more, click for the
full list of questions
or
popular tags
.