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 tagged 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
asked
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
asked
Oct 2, 2024
Machine Learning
ml-midterm
ele888-midterm
deep-learning
ml-exercise
machine-learning
feed-forward
forward-propagation
+
–
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
asked
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
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) #...
psil
120
points
1
1
3
asked
Apr 2, 2022
Python
machine-learning
f1score
accuracy
+
–
0
0 votes
0
0 answers
990
990 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
+
–
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...
Anas
150
points
2
2
4
asked
Dec 18, 2021
Machine Learning
machine-learning
data-science
predict
onehotencoder
data-analysis
ordinal-encoder
+
–
0
0 votes
0
0 answers
548
548 views
How do I know which encoder to use to convert from categorical variables to numerical?
So say I have a column with categorical data like different styles of temperature: 'Lukewarm', 'Hot', 'Scalding', 'Cold', 'Frostbite',... etc.I know that we can use pd.ge...
Anas
150
points
2
2
4
asked
Nov 28, 2021
Exploratory Data Analysis
machine-learning
test-set
data
predict
onehotencoder
pandas
dataframe
data-science
data-analysis
data-cleaning
+
–
0
0 votes
0
0 answers
367
367 views
Can Data Science solve this problem?
So, I live in Brazil, and I have a task for college that I don't know what data science method to use, if at all, to solve it. My idea is the following: We Brazilians hav...
0xthalesx0
120
points
1
3
asked
Oct 24, 2021
General
ask-data-science
python
mongodb
machine-learning
+
–
0
0 votes
0
0 answers
529
529 views
how many samples do we need to test image segmentation using synthetic data ?
Hello,I trained a CNN using synthetic data to perform a segmentation task on human faces. During the test and to evaluate the prediction of this network, I used 200 examp...
HbibOs
120
points
1
1
3
asked
Jun 21, 2021
Deep Learning
machine-learning
data
predict
deep-learning
+
–
0
0 votes
1
1 answer
734
734 views
Can we have multiple target values in a ML problem dataset for supervised learning?
salmanghaffar15
120
points
1
1
3
asked
May 30, 2021
Machine Learning Interview Questions
machine-learning
supervised-learning
+
–
0
0 votes
0
0 answers
484
484 views
Intermittent Mathematics (Logarim)
The old keypad of the telephone, it has 10 numbers (10 keys) , this keypad allows the user to enter a text by successively pressing certain key many times in a small peri...
AhmadDoden
160
points
2
5
asked
May 5, 2021
Web Development
discrete-math
math
solution-manual
resources
machine-learning
+
–
0
0 votes
0
0 answers
457
457 views
Very short text classification when category text should be replaced by another category text?
I need some tool to classify articles based on short category text which consists of two or three words separated by '-'. The RSS/XML tag content is for example:Foreign -...
patmull
120
points
1
3
asked
Feb 11, 2021
Artificial Intelligence
natural-language-process
sentiment-analysis
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 ?
metelon
140
points
1
1
3
asked
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...
Kesz
180
points
2
2
5
asked
Nov 17, 2020
Machine Learning
machine-learning
data
predict
unseen
match
football
soccer
+
–
1
1 vote
1
answers
1 answer
1.3k
1.3k views
How to model unknown yet data
So far, I have modeled on known historical data. What if there are variables known only after the fact?Let me give you an example. I want to predict the outcome of the ma...
Kesz
180
points
2
2
5
asked
Oct 27, 2020
Machine Learning
machine-learning
soccer
predict
score
+
–
1
1 vote
1
1 answer
677
677 views
From microarray data, which tools of pattern recognition can you apply to identify the genes responsible for diseases?
“During the last decade, the advent of microarray datasets stimulated a new line of research called Bioinformatics. A microarray database is a repository containing micro...
samiul_vai
130
points
1
1
3
asked
Oct 15, 2020
Machine Learning
machine-learning
+
–
Page:
1
2
3
4
5
next »