Recent activity by tofighi

1 answers 1 answer
441
441 views
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}...
1 answers 1 answer
2.5k
2.5k views
1 1 answer
7.6k
7.6k views
Given the following sample dataset with 5 samples and 2 features:SampleFeature 1Feature 2Actual ValuePredicted Value1234623456345674567856789Calculate the residual errors...
1 answers 1 answer
2.6k
2.6k views
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...
1 answers 1 answer
1.9k
1.9k views
Provide a short list of free cloud labs on Qwiklabs
1 answers 1 answer
3.6k
3.6k views
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...
1 1 answer
1.8k
1.8k views
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) #...
2 answers 2 answers
2.5k
2.5k views
Hive is not enabled by default on GCP on Apache Zeppelin on Dataproc on GCP. How can we activate it?
1 1 answer
1.4k
1.4k views
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...
1 answers 1 answer
3.6k
3.6k views
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,...
1 answers 1 answer
7.4k
7.4k views
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...
1 1 answer
851
851 views
1 answers 1 answer
825
825 views
I have a hard time distinguishing terminologies of SparkSQL. While SparkSQL are quite flexible in terms of abstraction layers, its really difficult for beginner to naviga...
1 1 answer
724
724 views
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 ?
1 1 answer
4.1k
4.1k views
Whener I run Jupyter notebook there are some kernels that do not exist on system and generate errors. How can I remove them?
1 answers 1 answer
1.3k
1.3k views
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...
1 1 answer
678
678 views
“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...
1 1 answer
590
590 views
Is that possible to train a machine using another trained machine?
1 answers 1 answer
9.1k
9.1k views
Assume we have a $5\times5$ px RGB image with 3 channels respectively for R, G, and B. IfR2000012001201021210101020G0212211100002202002002111B0100111201102021011012112 We...