Recent questions tagged linear-regression

0 0 votes
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...
0 0 votes
0 0 answers
1.0k
1.0k views
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...
1 1 vote
1 answers 1 answer
4.9k
4.9k views
Assuming we have a linear regression equation and some data points (sample), how can we calculate residual error for each data point, and total cost based on the metrics ...
1 1 vote
1 1 answer
1.8k
1.8k views
def cross_val_score(estimator,X,y,scoring,cv): scores=cross_val_score scores_rmse=np.sqrt(-scores) print('Scores: ',scores_rmse) print("Mean:", scores_rms...
1 1 vote
1 1 answer
778
778 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
0 0 answers
965
965 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 answers 1 answer
1.8k
1.8k views
For the following dataset, calculate the regression equation $\hat{y} = ax+b$datasetxy1423501075161002615036200
2 2 votes
1 answers 1 answer
6.6k
6.6k views
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...
1 1 vote
0 0 answers
7.8k
7.8k views
Hi everyone.I'm currently working on my final project for a Data Science degree and after a month of literature review, exploratory analysis and model testing, I'm not su...
0 0 votes
1 1 answer
1.2k
1.2k views
1 1 vote
0 0 answers
919
919 views
To see more, click for the full list of questions or popular tags.