Recent questions

2 2 votes
1 answers 1 answer
20.9k
20.9k views
Use the k-means algorithm and Euclidean distance to cluster the following 8 examples into 3 clusters:$A1=(2,10), A2=(2,5), A3=(8,4), A4=(5,8), A5=(7,5), A6=(6,4), A7=(1,2...
2 2 votes
1 answers 1 answer
4.9k
4.9k views
We want to use Naive Bayes for tagging documents. It is a classification task that we want to assign a class (tag) to each string. We currently have two tags: Sport and N...
2 2 votes
1 answers 1 answer
20.4k
20.4k views
The dataset with two features $(x,y)$ is shown as follows (note $y$ in this example is the second feature, not a target value):xy2.52.40.50.72.22.91.92.23.13.02.32.72.01....
5 5 votes
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...
0 0 votes
1 1 answer
2.9k
2.9k views
I am confused about this figure. Is not this a cross-validation test or we have a fixed few examples for which it is tested while you also have various folds being tested...
1 1 vote
0 0 answers
424
424 views
Context: In the realm of Paid Search Marketing. Current reporting does not provide event level data only aggregate totals with different segments. Want to compare distri...
1 1 vote
0 0 answers
834
834 views
I am using Matlab R2018b and am trying to infuse SVM classifier within CNN. My plan is to use CNN only as a feature extractor and use SVM as the classifier. I know people...
2 2 votes
2 2 answers
10.5k
10.5k views
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{...
0 0 votes
1 1 answer
708
708 views
Python3 and Python2 seems so similar, and the only changes which are obvious are some changes in functions such as print that now needs parentheses. Are there other impro...
0 0 votes
1 1 answer
1.8k
1.8k views
1 1 vote
1 1 answer
779
779 views
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...
1 1 vote
1 1 answer
641
641 views
1 1 vote
1 1 answer
593
593 views
https://stackoverflow.com/questions/55930051/is-impossible-predict-hours-time-series-to-minutes-time-series i want to this hours time series predict model to minute predi...
1 1 vote
0 0 answers
966
966 views
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...
0 0 votes
1 1 answer
1.5k
1.5k views
In Wikipedia, or any other document there are some math equations I am looking a simple way to convert to LaTeX. Is there any easy way for it?
3 3 votes
1 answers 1 answer
7.4k
7.4k views
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...
0 0 votes
1 answers 1 answer
1.8k
1.8k views
For the following dataset, calculate the regression equation $\hat{y} = ax+b$datasetxy1423501075161002615036200