tgoop.com/pro_python_code/1053
Last Update:
🌐Модуль прогнозирования погоды
• Импорт необходимых библиотекimport matplotlib.pyplot as plt
import seaborn as sns
import scipy
import re
import missingno as mso
from scipy import stats
from scipy.stats import ttest_ind
from scipy.stats import pearsonr
from sklearn.preprocessing import StandardScaler,LabelEncoder
from sklearn.model_selection import train_test_split
from sklearn.neighbors import KNeighborsClassifier
from sklearn.svm import SVC
from sklearn.ensemble import GradientBoostingClassifier
from xgboost import XGBClassifier
from sklearn.metrics import accuracy_score,confusion_matrix,classification_report
import pandas as pd
• Чтение CSV-файлаdata=pd.read_csv("/content/seattle-weather.csv")
data.head()
• Форма данныхdata.shape
(1461, 6)import warnings
warnings.filterwarnings('ignore')
sns.countplot("weather",data=data,palette='hls')
📌Продолжение
@pro_python_code
BY Python RU

Share with your friend now:
tgoop.com/pro_python_code/1053