in python , write a function name def liner_reg( x, y) x and y are two array contain numeric values, the function should

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

in python , write a function name def liner_reg( x, y) x and y are two array contain numeric values, the function should

Post by answerhappygod »

in python , write a function name def liner_reg( x, y)
x and y are two array contain numeric values, the function
should return 3 things which are the intercept, model coefficients,
and model object.
finding the model object is most important. please use sklearn.
(liner reggrassion)
values for x and y:
In Python Write A Function Name Def Liner Reg X Y X And Y Are Two Array Contain Numeric Values The Function Should 1
In Python Write A Function Name Def Liner Reg X Y X And Y Are Two Array Contain Numeric Values The Function Should 1 (40.14 KiB) Viewed 46 times
X: [[ 1.7 ] [ 5.25] [ 5.5 ] [ 0.4 [ 4.5 2.64] [ 1.68 [ 0. ] [ 0. [15.6 [ 6.52] [ 0.55 [ 2.1 ] 1.22 [ 3. [ 1. [ 1.5 [ 3.52] [ 1.9 ] [ 2.01]] y: [[0] [2.75] [0. [1.82] [0. [3.06] 10. [0. 10. [0. [2.75] [1.66] [0. [1. [2. [1.76 [2.7 [0. [0. [0. ]]
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply