English
Open in Telegram

Thread #very_short_tutorial -> Season sklearn, Episode 1

4 messages · –
Π
#very_short_tutorial -> Season sklearn, Episode 1 نحوه ایجاد و تست رگرسیون خطی در sklearn from sklearn.linear_model import LinearRegression import numpy as np lr = LinearRegression() x=np.reshape(np.array([1.0,2.0,3.0]),(3,1)) y=np.reshape(np.array([-45,14,5]),(3,1)) lr.fit(x,y) print(lr.predict(np.reshape([2,5,6],(3,1)))) print(lr.coef_)
6 · 1.5K ·
PPython + Linux ExpertsPython + Linux Experts@PythonLinuxExperts · group · Tech
4 287members21writing in 30 days
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count