#import libraries
import numpy as np
import pandas as pd
import ast
import re
from sklearn.impute import KNNImputer
import matplotlib.pyplot as plt
import matplotlib as mpl
import seaborn as sns
import warnings
from sklearn.model_selection import train_test_split, GridSearchCV
from sklearn.linear_model import LinearRegression, Ridge
from sklearn.metrics import mean_squared_error, r2_score, mean_absolute_error, mean_absolute_percentage_error
from sklearn.preprocessing import MinMaxScaler, PolynomialFeatures
from xgboost import XGBRegressor
import xgboost as xgb
from sklearn.svm import SVR
from sklearn.ensemble import RandomForestRegressor, AdaBoostRegressor
import plotly.express as px
import matplotlib.patches as mpatches
from pdpbox import pdp
#set some library settings
"ignore")
warnings.filterwarnings('display.max_columns', None)
pd.set_option(set()
sns.'darkgrid')
sns.set_style('figure.dpi'] = 150
mpl.rcParams['legend',**{'fontsize':10}) plt.rc(
Tangerang house price prediction
Table Of Contents
• Introduction
• Data Preparation
• Basic exploratory data analysis
• Descriptive statistic
• Univariate analysis
• Multivariate analysis
• Deep-dive exploratory data analysis
• Modelling
• Model building combination 1
• Model building combination 2
• Model building combination 3
• Model building combination 4
• Model building combination 5
• Model building combination 6
• Choosing the best model combination
• Model evaluation and interpretation
• Residuals plot
• PDP & ICE plots
• Conclusion
Introduction
This project revolves around predicting house prices in Tangerang City, which encompasses more than 40 regions. The data for this project was gathered by scraping information from one of Indonesia’s largest online real estate listing platforms. After conducting this exploratory phase, I will deploy an application publicly to assist people in estimating house prices.
Data Preparation
Importing libraries, cleaning data and choosing features.
#read csv
= pd.read_csv('tangerang.csv') df
#first look of data
df.head()
harga | alamat | fasilitas | spesifikasi | |
---|---|---|---|---|
0 | Rp 2,6 Miliar | BSD City, Tangerang | Tempat Jemuran,Keamanan 24 jam,Playground,Wast... | [['Kamar Tidur', '3'], ['Kamar Mandi', '2'], [... |
1 | Rp 20 Miliar | BSD City, Tangerang | NaN | [['Kamar Tidur', '5'], ['Kamar Mandi', '5'], [... |
2 | Rp 1,68 Miliar | BSD City, Tangerang | Taman,Tempat Jemuran,Keamanan 24 jam | [['Kamar Tidur', '2'], ['Kamar Mandi', '2'], [... |
3 | Rp 1,61 Miliar | BSD City, Tangerang | Taman,Tempat Jemuran,Keamanan 24 jam | [['Kamar Tidur', '4'], ['Kamar Mandi', '3'], [... |
4 | Rp 2,14 Miliar | BSD City, Tangerang | Taman,Tempat Jemuran,Keamanan 24 jam | [['Kamar Tidur', '3'], ['Kamar Mandi', '3'], [... |
#change 'spesifikasi' to type list and explode it to become columns
'spesifikasi'] = df.spesifikasi.apply(ast.literal_eval)
df[= df.explode('spesifikasi') df
#split into 'keterangan' and 'qty'
'keterangan'] = df.spesifikasi.str[0]
df['qty'] = df.spesifikasi.str[1] df[
= df[['harga','alamat','fasilitas']].reset_index().drop_duplicates('index').set_index('index')
df_columns = df.pivot(columns='keterangan', values='qty').rename_axis(None, axis=1)
df_pivot = pd.concat([df_columns, df_pivot], axis = 1) df
Code above is about to transform ‘keterangan’ into several columns.
#new transformed dataframe
df.head()
harga | alamat | fasilitas | Carport | Dapur | Daya Listrik | Garasi | Hadap | Hook | ID Iklan | Jumlah Lantai | Kamar Mandi | Kamar Mandi Pembantu | Kamar Pembantu | Kamar Tidur | Kondisi Perabotan | Kondisi Properti | Konsep dan Gaya Rumah | Lebar Jalan | Luas Bangunan | Luas Tanah | Material Bangunan | Material Lantai | Nomor Lantai | Pemandangan | Periode Sewa | Ruang Makan | Ruang Tamu | Sertifikat | Sumber Air | Tahun Di Renovasi | Tahun Dibangun | Terjangkau Internet | Tipe Properti | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Rp 2,6 Miliar | BSD City, Tangerang | Tempat Jemuran,Keamanan 24 jam,Playground,Wast... | 1 | NaN | NaN | NaN | NaN | Tidak | hos14814642 | 1 | 2 | 2 | 1 | 3 | NaN | Bagus | Minimalis Modern | 3 Mobil | 91 m² | 91 m² | Batako | Granit | NaN | Taman Kota | NaN | Ya | Ya | Lainnya (PPJB,Girik,Adat,dll) | PAM atau PDAM | NaN | NaN | Ya | Rumah |
1 | Rp 20 Miliar | BSD City, Tangerang | NaN | NaN | 2 | 7700 Watt | NaN | NaN | Tidak | hos13101318 | 2 | 5 | 1 | 1 | 5 | Unfurnished | Bagus | NaN | NaN | 465 m² | 396 m² | NaN | NaN | NaN | NaN | NaN | Ya | Ya | Lainnya (PPJB,Girik,Adat,dll) | PAM atau PDAM | NaN | NaN | Tidak | Rumah |
2 | Rp 1,68 Miliar | BSD City, Tangerang | Taman,Tempat Jemuran,Keamanan 24 jam | 1 | 1 | 1300 Watt | NaN | Utara | Tidak | hos14850708 | 1 | 2 | NaN | NaN | 2 | Unfurnished | Bagus | NaN | NaN | 70 m² | 105 m² | NaN | NaN | NaN | NaN | NaN | Ya | Ya | HGB - Hak Guna Bangunan | PAM atau PDAM | NaN | NaN | Tidak | Rumah |
3 | Rp 1,61 Miliar | BSD City, Tangerang | Taman,Tempat Jemuran,Keamanan 24 jam | 1 | 1 | 2200 Watt | NaN | Timur Laut | Tidak | hos14850789 | 2 | 3 | NaN | NaN | 4 | Unfurnished | Bagus | NaN | NaN | 174 m² | 144 m² | NaN | NaN | NaN | NaN | NaN | Ya | Ya | SHM - Sertifikat Hak Milik | PAM atau PDAM | NaN | NaN | Tidak | Rumah |
4 | Rp 2,14 Miliar | BSD City, Tangerang | Taman,Tempat Jemuran,Keamanan 24 jam | 1 | 1 | 5500 Watt | NaN | Utara | Tidak | hos14003997 | 3 | 3 | NaN | 1 | 3 | Unfurnished | Bagus | NaN | NaN | 170 m² | 105 m² | NaN | NaN | NaN | NaN | NaN | Ya | Ya | SHM - Sertifikat Hak Milik | PAM atau PDAM | NaN | NaN | Tidak | Rumah |
#remove duplicate data / 'iklan' (ads)
= df.drop_duplicates('ID Iklan').reset_index(drop=True) df
3, 'komplek', df[['fasilitas']].fillna('none').apply(lambda z: 'ya' if any([x in z.fasilitas.lower() for x in ['lapangan','gym','jogging','playground','one gate system']]) else 'tidak', axis = 1))
df.insert(1, 'Kecamatan', df.alamat.str.split(',').str[0])
df.insert(2, 'Kota', df.alamat.str.split(',').str[1])
df.insert(=['alamat','fasilitas'], inplace=True) df.drop(columns
Create 3 new columns:
1.’komplek’ = check if the house is in a ‘komplek’ or not.
2.’Kecamatan’ = ‘kecamatan’ of the address.
3.’Kota’ = ‘kota’ of the address.
#ensure the selected city is Tangerang
= df[df.Kota == ' Tangerang']
df = ['Kota'], inplace=True) df.drop(columns
df.info()
<class 'pandas.core.frame.DataFrame'>
Index: 22667 entries, 0 to 22673
Data columns (total 34 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 harga 22667 non-null object
1 Kecamatan 22667 non-null object
2 komplek 22667 non-null object
3 Carport 14104 non-null object
4 Dapur 12157 non-null object
5 Daya Listrik 18287 non-null object
6 Garasi 6450 non-null object
7 Hadap 8528 non-null object
8 Hook 18764 non-null object
9 ID Iklan 22667 non-null object
10 Jumlah Lantai 20569 non-null object
11 Kamar Mandi 21871 non-null object
12 Kamar Mandi Pembantu 8945 non-null object
13 Kamar Pembantu 9597 non-null object
14 Kamar Tidur 21864 non-null object
15 Kondisi Perabotan 16139 non-null object
16 Kondisi Properti 19797 non-null object
17 Konsep dan Gaya Rumah 9493 non-null object
18 Lebar Jalan 12045 non-null object
19 Luas Bangunan 22624 non-null object
20 Luas Tanah 22658 non-null object
21 Material Bangunan 7709 non-null object
22 Material Lantai 8380 non-null object
23 Nomor Lantai 0 non-null object
24 Pemandangan 9987 non-null object
25 Periode Sewa 1 non-null object
26 Ruang Makan 11288 non-null object
27 Ruang Tamu 18765 non-null object
28 Sertifikat 22489 non-null object
29 Sumber Air 13236 non-null object
30 Tahun Di Renovasi 2856 non-null object
31 Tahun Dibangun 8878 non-null object
32 Terjangkau Internet 18761 non-null object
33 Tipe Properti 22667 non-null object
dtypes: object(34)
memory usage: 6.1+ MB
There are 29 missing columns. After carefully reviewing each house one by one in the context, I categorized the missing columns into:
1.Missing Completely At Random
This means that the values are not input by the users due to accidents, forgetfulness, or oversight. These columns are:
Daya Listrik, Kamar Mandi, Kamar Tidur, Luas Bangunan, Luas Tanah, Sertifikat, Sumber Air, Hook
2.Missing At Random
This means that the values are not input by the users because these values can be obtained from other sources, such as photos or other information. These columns are:
Carport, Dapur, Garasi, Kamar Mandi Pembantu, Kamar Pembantu, Kondisi Perabotan, Kondisi Properti, Jumlah Lantai, Ruang Makan, Ruang Tamu
3.Missing Not At Random
This means that the values are not input by the users because they either do not know the value or they perceive it as unimportant to input the value. These columns are:
Konsep dan Gaya Rumah, Hadap, Lebar Jalan, Material Bangunan, Material Lantai, Nomor Lantai, Pemandangan, Periode Sewa, Tahun Di Renovasi, Tahun Dibangun, Terjangkau Internet ***
#create a function to categorize multiple 'perabot' conditions into more general category
def perabot(kondisi):
= str(kondisi)
kondisi if kondisi.lower() in ['unfurnished','butuh renovasi']:
return 'Unfurnished'
elif kondisi.lower() in ['furnished','bagus','bagus sekali','baru','sudah renovasi','semi furnished']:
return 'Furnished'
else:
return np.nan
'Kondisi Perabotan'] = df[['Kondisi Perabotan']].apply(lambda x: perabot(x['Kondisi Perabotan']), axis = 1) df[
#filtered only houses and not other property
= df[df['Tipe Properti'] == 'Rumah'] df
#extract prices from column 'harga' into integer
def price_extract(price):
if "Triliun" in price:
= re.findall(r'\d+\.\d+|\d+', price)
numbers = float(".".join(numbers))
numbers return int(numbers * 1000000)
elif "Miliar" in price:
= re.findall(r'\d+\.\d+|\d+', price)
numbers = float(".".join(numbers))
numbers return int(numbers * 1000)
elif "Juta" in price:
= re.findall(r'\d+\.\d+|\d+', price)
numbers = float(".".join(numbers))
numbers return int(numbers * 1)
1, 'price', df[['harga']].apply(lambda x: price_extract(x.harga), axis = 1))
df.insert(= ['harga'], inplace = True) df.drop(columns
Here, I converted the ‘price’ column into integers and divided it by one million to make it easier to view and analyze.
#move 'ID Iklan' column to left
3, 'ID', df['ID Iklan']) df.insert(
#filter Sertifikat to SHM only
= df[df.Sertifikat == 'SHM - Sertifikat Hak Milik'] df
#drop useless columns
=['Kondisi Properti','Sertifikat','Hook','ID Iklan','Lebar Jalan','Dapur','Tipe Properti','Terjangkau Internet','Sumber Air','Ruang Tamu','Ruang Makan','Carport','Garasi','Tahun Di Renovasi','Tahun Dibangun','Hadap','Konsep dan Gaya Rumah','Material Bangunan','Material Lantai','Nomor Lantai','Pemandangan','Periode Sewa'], inplace = True, errors='ignore') df.drop(columns
df.info()
<class 'pandas.core.frame.DataFrame'>
Index: 17746 entries, 3 to 22673
Data columns (total 13 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 price 17746 non-null int64
1 Kecamatan 17746 non-null object
2 komplek 17746 non-null object
3 ID 17746 non-null object
4 Daya Listrik 14640 non-null object
5 Jumlah Lantai 16312 non-null object
6 Kamar Mandi 17110 non-null object
7 Kamar Mandi Pembantu 6714 non-null object
8 Kamar Pembantu 7296 non-null object
9 Kamar Tidur 17103 non-null object
10 Kondisi Perabotan 12942 non-null object
11 Luas Bangunan 17719 non-null object
12 Luas Tanah 17743 non-null object
dtypes: int64(1), object(12)
memory usage: 1.9+ MB
= df[~df['Luas Tanah'].isna()].reset_index(drop=True)
df = df[~((df['Kamar Mandi'].isna()) & (df['Kamar Mandi Pembantu'].isna()) & (df['Kamar Pembantu'].isna()) & (df['Kamar Tidur'].isna()))].reset_index(drop=True) df
I removed rows that lacked critical information, such as ‘Luas Tanah’ and the total number of ‘Kamar’.
for kol in ['Kamar Mandi','Kamar Tidur']:
= df[kol].fillna(1)
df[kol]
'Luas Bangunan'] = df['Luas Bangunan'].fillna(df['Luas Tanah'])
df['Kamar Mandi Pembantu'] = df['Kamar Mandi Pembantu'].fillna(0)
df['Kamar Pembantu'] = df['Kamar Mandi Pembantu'].fillna(0) df[
The columns mentioned above have a small number of missing values. I filled in the missing values for ‘Kamar Mandi’ and ‘Kamar Tidur’ with ‘1’ because there is at least one of each of them in a house. For ‘Kamar & Kamar Mandi Pembantu,’ I filled in ‘0’.
df.info()
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 17149 entries, 0 to 17148
Data columns (total 13 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 price 17149 non-null int64
1 Kecamatan 17149 non-null object
2 komplek 17149 non-null object
3 ID 17149 non-null object
4 Daya Listrik 14208 non-null object
5 Jumlah Lantai 15731 non-null object
6 Kamar Mandi 17149 non-null object
7 Kamar Mandi Pembantu 17149 non-null object
8 Kamar Pembantu 17149 non-null object
9 Kamar Tidur 17149 non-null object
10 Kondisi Perabotan 12890 non-null object
11 Luas Bangunan 17149 non-null object
12 Luas Tanah 17149 non-null object
dtypes: int64(1), object(12)
memory usage: 1.7+ MB
#If a LB is bigger than LT, I assume that the houses has more than 1 floor.
def conditions(x):
if pd.isnull(x['Jumlah Lantai']):
if x['Luas Bangunan'] > x['Luas Tanah']:
return '2'
else:
return '1'
else:
return x['Jumlah Lantai']
'Jumlah Lantai'] = df[['Jumlah Lantai','Luas Bangunan','Luas Tanah']].apply(lambda x: conditions(x) , axis = 1 ) df[
#I replaced certain ambiguous values in the 'Daya Listrik' column with 'NaN' so it can be imputed with KNN Imputer
= ((df['Daya Listrik'] == 'Lainnya Watt') | (df['Daya Listrik'] == 'lainnya Watt'))
condition 'Daya Listrik'] = np.nan df.loc[condition,
#change data types
'Daya Listrik'] = df['Daya Listrik'].str.replace('Watt','').astype('Float64')
df['Luas Bangunan'] = df['Luas Bangunan'].str.replace('m²','').astype(int)
df['Luas Tanah'] = df['Luas Tanah'].str.replace('m²','').astype(int) df[
#impute with KNN
'avg_bangunan'] = df.groupby('Daya Listrik')['Luas Bangunan'].transform('median').fillna(df['Luas Bangunan'])
df[= pd.DataFrame(KNNImputer(n_neighbors=1).fit_transform(df[['Daya Listrik','avg_bangunan']]))
listrik_impute 'Daya Listrik'] = listrik_impute[0]
df[=['avg_bangunan'], inplace=True) df.drop(columns
#I selected only the 'Kecamatan' with more than 100 samples to ensure a reliable result
= df[ df.groupby('Kecamatan')['price'].transform('count') > 100] df
'price/m'] = df.price / (df['Luas Tanah'] + df['Luas Bangunan']) df[
#create dictionary to map 'Kondisi Perabotan'
= {
value_mapping 'Unfurnished': 1,
'Furnished' : 2,
}
= {
reverse_mapping 1.0 : 'Unfurnished',
2.0 : 'Furnished',
}
'Kondisi Perabotan'] = df['Kondisi Perabotan'].map(value_mapping) df[
for kec in df.Kecamatan.unique() :
= df[df.Kecamatan == kec][['Kondisi Perabotan','price/m']].copy().reset_index(drop=True)
df1 'price/m'] = df1.groupby(['Kondisi Perabotan'])['price/m'].transform('median').fillna(df1['price/m'])
df1[
= KNNImputer(n_neighbors = 1)
imputer 'Kondisi Perabotan','price/m']])
imputer.fit(df1[[= df.loc[df[df.Kecamatan == kec].index,['Kondisi Perabotan','price/m']]
missing_values == kec].index,['Kondisi Perabotan','price/m']] = imputer.transform(missing_values)
df.loc[df[df.Kecamatan
=True, inplace=True)
df.reset_index(drop'Kondisi Perabotan'] = df['Kondisi Perabotan'].map(reverse_mapping) df[
To impute missing values for ‘Kondisi Perabotan’, first gather the ‘price/m’ data for each ‘Kecamatan’. Once we have this data, we can observe that ‘Kondisi Perabotan’ prices vary significantly, with furnished properties being considerably more expensive than unfurnished ones. Then, we will use the KNN Imputer to fill in the missing values with the nearest neighbors’ values.
= ['price/m'], inplace = True) df.drop(columns
#change data types
= df.convert_dtypes(convert_string = False)
df for column in ['Kamar Mandi','Kamar Mandi Pembantu','Kamar Pembantu','Kamar Tidur','price','Daya Listrik','Luas Bangunan','Luas Tanah']:
= df[column].astype(int) df[column]
df.info()
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 17050 entries, 0 to 17049
Data columns (total 13 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 price 17050 non-null int64
1 Kecamatan 17050 non-null object
2 komplek 17050 non-null object
3 ID 17050 non-null object
4 Daya Listrik 17050 non-null int64
5 Jumlah Lantai 17050 non-null object
6 Kamar Mandi 17050 non-null int64
7 Kamar Mandi Pembantu 17050 non-null int64
8 Kamar Pembantu 17050 non-null int64
9 Kamar Tidur 17050 non-null int64
10 Kondisi Perabotan 17050 non-null object
11 Luas Bangunan 17050 non-null int64
12 Luas Tanah 17050 non-null int64
dtypes: int64(8), object(5)
memory usage: 1.7+ MB
= 'ID', inplace = True)
df.drop(columns sum() df.duplicated().
2877
After getting rid of the ‘ID’ column, you’ll notice there are still lots of duplicates left. It seems like the same ads are being posted multiple times. Let’s go ahead and clean those up.
= df.drop_duplicates() df
df.info()
<class 'pandas.core.frame.DataFrame'>
Index: 14173 entries, 0 to 17049
Data columns (total 12 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 price 14173 non-null int64
1 Kecamatan 14173 non-null object
2 komplek 14173 non-null object
3 Daya Listrik 14173 non-null int64
4 Jumlah Lantai 14173 non-null object
5 Kamar Mandi 14173 non-null int64
6 Kamar Mandi Pembantu 14173 non-null int64
7 Kamar Pembantu 14173 non-null int64
8 Kamar Tidur 14173 non-null int64
9 Kondisi Perabotan 14173 non-null object
10 Luas Bangunan 14173 non-null int64
11 Luas Tanah 14173 non-null int64
dtypes: int64(8), object(4)
memory usage: 1.4+ MB
= df[df['Jumlah Lantai'].astype(int) <= 4] df
df.info()
<class 'pandas.core.frame.DataFrame'>
Index: 14161 entries, 0 to 17049
Data columns (total 12 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 price 14161 non-null int64
1 Kecamatan 14161 non-null object
2 komplek 14161 non-null object
3 Daya Listrik 14161 non-null int64
4 Jumlah Lantai 14161 non-null object
5 Kamar Mandi 14161 non-null int64
6 Kamar Mandi Pembantu 14161 non-null int64
7 Kamar Pembantu 14161 non-null int64
8 Kamar Tidur 14161 non-null int64
9 Kondisi Perabotan 14161 non-null object
10 Luas Bangunan 14161 non-null int64
11 Luas Tanah 14161 non-null int64
dtypes: int64(8), object(4)
memory usage: 1.4+ MB
= df.copy() df5
#rename columns
={'Daya Listrik': 'Listrik',
df.rename(columns'Jumlah Lantai': 'Lantai',
'Kamar Mandi': 'KM',
'Kamar Mandi Pembantu': 'KMP',
'Kamar Pembantu': 'KP',
'Kamar Tidur': 'KT',
'Kondisi Perabotan': 'Kondisi',
'Luas Bangunan': 'LB',
'Luas Tanah': 'LT'}, inplace=True)
df.info()
<class 'pandas.core.frame.DataFrame'>
Index: 14161 entries, 0 to 17049
Data columns (total 12 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 price 14161 non-null int64
1 Kecamatan 14161 non-null object
2 komplek 14161 non-null object
3 Listrik 14161 non-null int64
4 Lantai 14161 non-null object
5 KM 14161 non-null int64
6 KMP 14161 non-null int64
7 KP 14161 non-null int64
8 KT 14161 non-null int64
9 Kondisi 14161 non-null object
10 LB 14161 non-null int64
11 LT 14161 non-null int64
dtypes: int64(8), object(4)
memory usage: 1.4+ MB
df.Kecamatan.unique()
array(['BSD City', 'Poris', 'Karang Tengah', 'Pondok Benda',
'Tangerang Kota', 'BSD Delatinos', 'Serua', 'Karawaci', 'Jombang',
'Cikupa', 'Curug', 'Suradita', 'Panongan', 'BSD Residence One',
'Kelapa Dua', 'Pondok Ranji', 'Ciledug', 'Pondok Cabe',
'Gading Serpong', 'Pagedangan', 'Legok', 'Pinang', 'Cikokol',
'Dadap', 'BSD Foresta', 'BSD Green Wich', 'Cireundeu',
'BSD Anggrek Loka', 'Cipondoh', 'BSD Nusaloka', 'BSD Puspita Loka',
'Gading Serpong Pondok Hijau Golf', 'BSD The Green', 'Cipadu',
'Larangan', 'BSD Giri Loka', 'Cikupa Citra Raya', 'Modernland',
'Benda', 'Rempoa', 'Alam Sutera', 'BSD', 'Cisauk', 'Graha Raya',
'Lippo Karawaci'], dtype=object)
Basic Exploratory Data Analysis
#Let's split the categorical and numerical columns into separate dataframes for easier analysis.
= df._get_numeric_data()
dfnum = df.drop(columns = dfnum.columns) dfcat
Descriptive Statistic
#numerical columns describe.
dfnum.describe()
price | Listrik | KM | KMP | KP | KT | LB | LT | |
---|---|---|---|---|---|---|---|---|
count | 1.416100e+04 | 14161.000000 | 14161.000000 | 14161.000000 | 14161.000000 | 14161.000000 | 14161.000000 | 1.416100e+04 |
mean | 4.525861e+03 | 3892.131205 | 2.717958 | 0.419603 | 0.419603 | 3.521715 | 187.472848 | 4.820822e+04 |
std | 1.518706e+05 | 6346.367405 | 2.124905 | 0.535776 | 0.535776 | 2.272806 | 209.443483 | 5.714284e+06 |
min | 7.000000e+00 | -1300.000000 | 1.000000 | 0.000000 | 0.000000 | 1.000000 | 1.000000 | 7.000000e+00 |
25% | 1.200000e+03 | 2200.000000 | 2.000000 | 0.000000 | 0.000000 | 3.000000 | 81.000000 | 8.300000e+01 |
50% | 2.000000e+03 | 2200.000000 | 2.000000 | 0.000000 | 0.000000 | 3.000000 | 135.000000 | 1.260000e+02 |
75% | 3.500000e+03 | 4400.000000 | 3.000000 | 1.000000 | 1.000000 | 4.000000 | 225.000000 | 2.050000e+02 |
max | 1.800000e+07 | 95000.000000 | 99.000000 | 10.000000 | 10.000000 | 99.000000 | 8032.000000 | 6.800000e+08 |
All columns above have outliers. ‘Listrik’ column has negative value which is caused by incorrect user input
'Listrik'] = abs(df['Listrik']) df[
dfcat.describe()
Kecamatan | komplek | Lantai | Kondisi | |
---|---|---|---|---|
count | 14161 | 14161 | 14161 | 14161 |
unique | 45 | 2 | 4 | 2 |
top | Poris | tidak | 2 | Unfurnished |
freq | 503 | 7852 | 8818 | 8014 |
There are 45 ‘Kecamatan’ used on this samples.
Univariate Analysis
= plt.subplots(2,4, figsize=(11, 8))
fig, axarr for col in dfnum.columns:
= dfnum.columns.get_loc(col)
loc = 0 if loc < 4 else 1
y = loc if loc < 4 else loc - 4
x = dfnum[col], ax = axarr[y,x])
sns.boxplot(y None)
axarr[y, x].set_ylabel(
axarr[y, x].set_xlabel(col)'Outliers checking on numeric columns', weight='bold')
plt.suptitle(=1)
fig.tight_layout(pad plt.show()
#removing extreme values
= df[(df.price < 10000)]
df = df[(df['Listrik'] < 20000)]
df = df[(df['KM'] < 10)]
df = df[(df['KMP'] <= 2)]
df = df[(df['KP'] <= 2)]
df = df[(df['KT'] <= 20)]
df = df[(df['LB'] <= 1000)]
df = df[(df['LT'] <= 1000)] df
= df._get_numeric_data()
dfnum = df.drop(columns = dfnum.columns) dfcat
= plt.subplots(2,4, figsize=(11, 8))
fig, axarr for col in dfnum.columns:
= dfnum.columns.get_loc(col)
loc = 0 if loc < 4 else 1
y = loc if loc < 4 else loc - 4
x =dfnum[col],
sns.histplot(data='skyblue',
color=True,
kde='none',
edgecolor=axarr[y, x])
ax'Distribution checking on numeric columns', weight='bold')
plt.suptitle(=1)
fig.tight_layout(pad plt.show()
We can clearly see that this data is right skewed.
= plt.subplots(2,2, figsize=(11, 8))
fig, axarr for col in dfcat.columns:
= dfcat.columns.get_loc(col)
loc = 0 if loc < 2 else 1
y = loc if loc < 2 else loc - 2
x =df[col], color='green', ax = axarr[y,x], order=df[col].value_counts().iloc[:4].index)
sns.countplot(x
'Countplot of categorical columns', weight='bold')
plt.suptitle(=1)
fig.tight_layout(pad plt.show()
Multivariate Analysis
=(10,8))
plt.figure(figsize=True, fmt='.2f')
sns.heatmap(dfnum.corr(), annot'Correlation plot', weight ='bold')
plt.title(= 0)
plt.xticks(rotation plt.show()
price, LB, and LT, exhibit a strong positive correlation. Although this correlation is quite strong, it does not lead to multicollinearity issues.
Deep-Dive Exploratory Data Analysis
'KMR'] = df.KP + df.KT
df['KMD'] = df.KM + df.KMP
df['price/m'] = df.price / (df.LT + df.LB)
df['Lantai'] = df.Lantai.astype(int)
df[=['KM','KMP','KP','KT'], inplace=True) df.drop(columns
I’ve developed a new feature named ‘price/m’ by dividing the price by the sum of LT and LB. This feature is more suitable for analysis compared to using just the price alone.
'Kecamatan').size(), alpha=0.8)
sns.histplot(df.groupby('Kecamatan Frequency')
plt.xlabel('Kecamatan distribution count', weight='bold')
plt.title( plt.show()
The plot above illustrates the distribution of samples collected from each Kecamatan. The sample size varies, with the lowest being approximately 100 and the highest reaching 500. In cases of insufficient sample size, potential issues may arise, and further analysis is necessary to determine whether these samples are adequate.
= plt.subplots(1,2, figsize=(10, 4))
fig, axarr = df.groupby('Kecamatan').size().reset_index(drop=False).sort_values(0, ascending=False)
data = ['Kecamatan','count']
data.columns = data.head(15), x='count', y='Kecamatan', ax = axarr[0])
sns.barplot(data = data.tail(15), x='count', y='Kecamatan', ax = axarr[1], palette='RdBu')
sns.barplot(data 0].set_title('Top 15 highest kecamatan count', weight='bold')
axarr[1].set_title('Top 15 lowest kecamatan count', weight='bold')
axarr[0].set_position([0.1, 0.1, 0.3, 0.8])
axarr[1].set_position([0.6, 0.1, 0.3, 0.8]) axarr[
'Kecamatan'] = df.Kecamatan.str.replace('Gading Serpong Pondok Hijau Golf' , 'Gading Serpong PHG') df[
= plt.subplots(1,2, figsize=(10, 4))
fig, axarr = df.groupby('Kecamatan')[['price']].agg('median').reset_index().sort_values('price', ascending=False)
data = data.head(15), x='price', y='Kecamatan', ax = axarr[0], palette='plasma')
sns.barplot(data = data.tail(15), x='price', y='Kecamatan', ax = axarr[1], palette='coolwarm')
sns.barplot(data 'harga per kecamatan')
plt.title(0].set_title('Top 15 highest kecamatan price', weight='bold')
axarr[1].set_title('Top 15 lowest kecamatan price', weight='bold')
axarr[0].set_position([0.1, 0.1, 0.3, 0.8])
axarr[1].set_position([0.6, 0.1, 0.3, 0.8]) axarr[
BSD is one of the most expensive region in Tangerang
= plt.subplots(1,2, figsize=(10, 4))
fig, axarr = df.groupby('Kecamatan')[['price/m']].agg('median').reset_index().sort_values('price/m', ascending=False)
data = data.head(15), x='price/m', y='Kecamatan', ax = axarr[0], palette = 'YlGn')
sns.barplot(data = data.tail(15), x='price/m', y='Kecamatan', ax = axarr[1], palette = 'YlGnBu')
sns.barplot(data 'harga meteran per kecamatan')
plt.title(0].set_title('Top 15 highest kecamatan price/m', weight='bold')
axarr[1].set_title('Top 15 lowest kecamatan price/m', weight='bold')
axarr[0].set_position([0.1, 0.1, 0.3, 0.8])
axarr[1].set_position([0.6, 0.1, 0.3, 0.8]) axarr[
from the price/m, bsd is still one of highest price/m
= df.Kondisi.map(value_mapping) df.Kondisi
'TK'] = df.KMR + df.KMD
df[=['KMR','KMD'], inplace=True) df.drop(columns
'avg_price'] = df.groupby(['Kecamatan','Kondisi'])['price/m'].transform('median') df[
'rstd'] = df.groupby(['Kecamatan','Kondisi'])['price/m'].transform(lambda x: x.std() * 100 / x.mean()) df[
= df[df.Kondisi == 1]
df1 = df[df.Kondisi == 2]
df2
= plt.subplots(1,2, figsize=(10, 4))
fig, axarr = df1[['Kecamatan','rstd']].drop_duplicates().sort_values('rstd', ascending=False).head()
data = data, x='rstd', y='Kecamatan', ax = axarr[0])
sns.barplot(data = df1.rstd.drop_duplicates(), ax = axarr[1])
sns.histplot(data = df2.rstd.drop_duplicates(), ax = axarr[1], alpha = 0.5, legend='a')
sns.histplot(data 0].set_title('Top 5 highest kecamatan price variability', weight='bold')
axarr[1].set_title('r-std.dev price/m per kecamatan', weight='bold')
axarr[0].yaxis.set_tick_params(labelsize=10)
axarr[
= [mpatches.Rectangle((0, 0), 1, 1, color='blue', label='Unfurnished')]
hand2 = [mpatches.Rectangle((0, 0), 1, 1, color='orange', label='Furnished')]
hand1 = plt.legend(handles = hand2, loc='upper right', labelcolor='blue')
legend1 = plt.legend(handles = hand1, loc='upper left', labelcolor='orange')
legend2
plt.gca().add_artist(legend1) plt.show()
R-std, which stands for relative standard deviation, is a valuable tool for assessing variability and making comparisons between datasets. In the displayed plot, we observe that the r-std is distributed within a substantial 30% range. When the price exhibits a high r-std, it typically indicates an insufficient number of samples or a failure to account for critical factors influencing price fluctuations.
#create a variable to contain avg_price information from the data to be used by test data
= df[['Kecamatan','Kondisi','avg_price']].drop_duplicates() avg
#remove columns that are no longer needed
= df.copy()
df9 = df.drop(columns=['Kecamatan','price/m','rstd']) df
#encoding
'komplek'] = df[['komplek']].apply(lambda x: 1 if x.komplek == 'ya' else 0, axis = 1) df[
#create a variable to contain result from all combination
= pd.DataFrame(index = ['mae','mape','rmse','r2']) final_result
Modelling Combination 1
For the first combination, I will utilize all available features and apply linear regression.
= df.copy().reset_index(drop=True) dfc1
dfc1.info()
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 13428 entries, 0 to 13427
Data columns (total 9 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 price 13428 non-null int64
1 komplek 13428 non-null int64
2 Listrik 13428 non-null int64
3 Lantai 13428 non-null int64
4 Kondisi 13428 non-null int64
5 LB 13428 non-null int64
6 LT 13428 non-null int64
7 TK 13428 non-null int64
8 avg_price 13428 non-null float64
dtypes: float64(1), int64(8)
memory usage: 944.3 KB
= train_test_split(dfc1.drop(columns='price'), dfc1.price.to_numpy(), test_size = 0.2, random_state=129)
X_train, X_test, y_train, y_test = X_train.reset_index(drop=True)
X_train = X_test.reset_index(drop=True) X_test
= LinearRegression()
model model.fit(X_train, y_train)
LinearRegression()In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.
LinearRegression()
= model.predict(X_test)
y_pred_test = model.predict(X_train) y_pred_train
= pd.DataFrame()
result = mean_absolute_error(y_test, y_pred_test)
mae_test = mean_absolute_percentage_error(y_test, y_pred_test)
mape_test = np.sqrt(mean_squared_error(y_test, y_pred_test))
rmse_test = r2_score(y_test, y_pred_test)
r2_test
= mean_absolute_error(y_train, y_pred_train)
mae_train = mean_absolute_percentage_error(y_train, y_pred_train)
mape_train = np.sqrt(mean_squared_error(y_train, y_pred_train))
rmse_train = r2_score(y_train, y_pred_train)
r2_train
'test_OLS'] = [mae_test, mape_test, rmse_test, r2_test]
result['train_OLS'] = [mae_train, mape_train, rmse_train, r2_train]
result[= ['mae','mape','rmse','r2'] result.index
result
test_OLS | train_OLS | |
---|---|---|
mae | 532.715149 | 541.468771 |
mape | 0.278840 | 0.329897 |
rmse | 800.262693 | 805.231411 |
r2 | 0.797440 | 0.794544 |
Above is the result of the base model.
= pd.concat([final_result, result], axis = 1) final_result
Modelling Combination 2
In this second combination, I intend to enhance model complexity by incorporating polynomial features. If overfitting concerns arise, I will address them by applying ridge regression.
= df.copy().reset_index(drop=True) dfc2
dfc2.info()
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 13428 entries, 0 to 13427
Data columns (total 9 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 price 13428 non-null int64
1 komplek 13428 non-null int64
2 Listrik 13428 non-null int64
3 Lantai 13428 non-null int64
4 Kondisi 13428 non-null int64
5 LB 13428 non-null int64
6 LT 13428 non-null int64
7 TK 13428 non-null int64
8 avg_price 13428 non-null float64
dtypes: float64(1), int64(8)
memory usage: 944.3 KB
= MinMaxScaler()
scaler = scaler.fit_transform(dfc2.drop(columns=['price']))
df1 = pd.DataFrame(df1, columns = dfc2.drop(columns=['price']).columns)
df1 'price'] = dfc2.price
df1[= df1.copy() dfc2
= train_test_split(dfc2.drop(columns='price'), dfc2.price.to_numpy(), test_size=0.2, random_state=129) X_train, X_test, y_train, y_test
= pd.DataFrame()
result for x in [2,3,4]:
= PolynomialFeatures(degree=x)
poly_features = poly_features.fit_transform(X_train)
X_poly = train_test_split(X_poly, y_train, test_size=0.2, random_state=129)
X_train_poly, X_test_poly, y_train_poly, y_test_poly
= LinearRegression()
model
model.fit(X_train_poly, y_train_poly)
= model.predict(X_test_poly)
y_pred_test = model.predict(X_train_poly)
y_pred_train
= mean_absolute_error(y_test_poly, y_pred_test)
mae_test = np.sqrt(mean_squared_error(y_test_poly, y_pred_test))
rmse_test = r2_score(y_test_poly, y_pred_test)
r2_test
= mean_absolute_error(y_train_poly, y_pred_train)
mae_train = np.sqrt(mean_squared_error(y_train_poly, y_pred_train))
rmse_train = r2_score(y_train_poly, y_pred_train)
r2_train
f'test_{x}'] = [mae_test, rmse_test, r2_test]
result[f'train_{x}'] = [mae_train, rmse_train, r2_train]
result[
= ['mae','rmse','r2']
result.index result
test_2 | train_2 | test_3 | train_3 | test_4 | train_4 | |
---|---|---|---|---|---|---|
mae | 472.915901 | 481.615889 | 472.519472 | 464.954008 | 501.537211 | 442.182946 |
rmse | 712.046550 | 738.563833 | 719.862027 | 705.295298 | 834.318214 | 660.588687 |
r2 | 0.837082 | 0.827754 | 0.833486 | 0.842922 | 0.776326 | 0.862204 |
I tested a polynomial degree of 3, and the results indicate a minor degree of overfitting. However, when I increased it to degree 4, the model exhibited a severe overfitting issue.
= pd.DataFrame()
result for x in [3,4]:
= PolynomialFeatures(degree=x)
poly_features = poly_features.fit_transform(X_train)
X_poly = train_test_split(X_poly, y_train, test_size=0.2, random_state=129)
X_train_poly, X_test_poly, y_train_poly, y_test_poly
for alpha in [0.01, 0.1, 1., 10]:
= Ridge(alpha=alpha)
model
model.fit(X_train_poly, y_train_poly)
= model.predict(X_test_poly)
y_pred_test = model.predict(X_train_poly)
y_pred_train
= mean_absolute_error(y_test_poly, y_pred_test)
mae_test = np.sqrt(mean_squared_error(y_test_poly, y_pred_test))
rmse_test = r2_score(y_test_poly, y_pred_test)
r2_test
= mean_absolute_error(y_train_poly, y_pred_train)
mae_train = np.sqrt(mean_squared_error(y_train_poly, y_pred_train))
rmse_train = r2_score(y_train_poly, y_pred_train)
r2_train
f'test_{x}_{alpha}'] = [mae_test, rmse_test, r2_test]
result[f'train_{x}_{alpha}'] = [mae_train, rmse_train, r2_train]
result[
= ['mae','rmse','r2']
result.index result
test_3_0.01 | train_3_0.01 | test_3_0.1 | train_3_0.1 | test_3_1.0 | train_3_1.0 | test_3_10 | train_3_10 | test_4_0.01 | train_4_0.01 | test_4_0.1 | train_4_0.1 | test_4_1.0 | train_4_1.0 | test_4_10 | train_4_10 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
mae | 467.342704 | 466.439950 | 464.299064 | 470.035509 | 470.187015 | 478.290378 | 484.975821 | 490.051383 | 464.840133 | 456.548113 | 462.897803 | 463.601116 | 466.596826 | 473.665648 | 481.134291 | 487.347859 |
rmse | 704.461373 | 708.507262 | 698.403249 | 717.934342 | 707.437585 | 731.792609 | 726.156035 | 749.558649 | 706.885343 | 690.605679 | 695.774749 | 704.905074 | 700.618287 | 723.246246 | 720.228905 | 743.215049 |
r2 | 0.840534 | 0.841488 | 0.843265 | 0.837242 | 0.839184 | 0.830898 | 0.830561 | 0.822587 | 0.839435 | 0.849397 | 0.844443 | 0.843096 | 0.842270 | 0.834824 | 0.833316 | 0.825578 |
I attempted to use ridge regression to tackle overfitting on highly polynomial features, but the outcome wasn’t superior to simply using a polynomial degree of 2 without any regularization.
= PolynomialFeatures(degree=2)
poly_features = poly_features.fit_transform(X_train)
X_train = poly_features.fit_transform(X_test) X_test
= LinearRegression()
model model.fit(X_train, y_train)
LinearRegression()In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.
LinearRegression()
= model.predict(X_test)
y_pred_test = model.predict(X_train) y_pred_train
= pd.DataFrame()
result = mean_absolute_error(y_test, y_pred_test)
mae_test = mean_absolute_percentage_error(y_test, y_pred_test)
mape_test = np.sqrt(mean_squared_error(y_test, y_pred_test))
rmse_test = r2_score(y_test, y_pred_test)
r2_test
= mean_absolute_error(y_train, y_pred_train)
mae_train = mean_absolute_percentage_error(y_train, y_pred_train)
mape_train = np.sqrt(mean_squared_error(y_train, y_pred_train))
rmse_train = r2_score(y_train, y_pred_train)
r2_train
'test_PolyRidgeOLS'] = [mae_test, mape_test, rmse_test, r2_test]
result['train_PolyRidgeOLS'] = [mae_train, mape_train, rmse_train, r2_train]
result[= ['mae','mape','rmse','r2'] result.index
result
test_PolyRidgeOLS | train_PolyRidgeOLS | |
---|---|---|
mae | 471.090238 | 478.917020 |
mape | 0.227019 | 0.276395 |
rmse | 729.230240 | 732.438213 |
r2 | 0.831804 | 0.830011 |
The model is not overfitting and the result is better than the base model
= pd.concat([final_result, result], axis = 1) final_result
Modelling Combination 3
Let’s try to log transform skewed features and use linear regression.
= df.copy().reset_index(drop=True) dfc3
= ['LB','LT','TK']
column for col in column:
= np.log(dfc3[col]) dfc3[col]
dfc3.info()
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 13428 entries, 0 to 13427
Data columns (total 9 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 price 13428 non-null int64
1 komplek 13428 non-null int64
2 Listrik 13428 non-null int64
3 Lantai 13428 non-null int64
4 Kondisi 13428 non-null int64
5 LB 13428 non-null float64
6 LT 13428 non-null float64
7 TK 13428 non-null float64
8 avg_price 13428 non-null float64
dtypes: float64(4), int64(5)
memory usage: 944.3 KB
= train_test_split(dfc3.drop(columns='price'), dfc3.price.to_numpy(), test_size = 0.2, random_state=129)
X_train, X_test, y_train, y_test = X_train.reset_index(drop=True)
X_train = X_test.reset_index(drop=True) X_test
= LinearRegression()
model model.fit(X_train, y_train)
LinearRegression()In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.
LinearRegression()
= model.predict(X_test)
y_pred_test = model.predict(X_train) y_pred_train
= pd.DataFrame()
result = mean_absolute_error(y_test, y_pred_test)
mae_test = mean_absolute_percentage_error(y_test, y_pred_test)
mape_test = np.sqrt(mean_squared_error(y_test, y_pred_test))
rmse_test = r2_score(y_test, y_pred_test)
r2_test
= mean_absolute_error(y_train, y_pred_train)
mae_train = mean_absolute_percentage_error(y_train, y_pred_train)
mape_train = np.sqrt(mean_squared_error(y_train, y_pred_train))
rmse_train = r2_score(y_train, y_pred_train)
r2_train
'test_LogOLS'] = [mae_test, mape_test, rmse_test, r2_test]
result['train_LogOLS'] = [mae_train, mape_train, rmse_train, r2_train]
result[= ['mae','mape','rmse','r2'] result.index
result
test_LogOLS | train_LogOLS | |
---|---|---|
mae | 583.179251 | 595.413840 |
mape | 0.329967 | 0.394927 |
rmse | 835.080845 | 841.121663 |
r2 | 0.779431 | 0.775821 |
The results show a performance decline compared to using Linear Regression on the original, untransformed features.
= pd.concat([final_result, result], axis = 1) final_result
Modelling Combination 4
For this combination, let’s try XGBRegressor
= df.copy() dfc4
dfc4.info()
<class 'pandas.core.frame.DataFrame'>
Index: 13428 entries, 0 to 17049
Data columns (total 9 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 price 13428 non-null int64
1 komplek 13428 non-null int64
2 Listrik 13428 non-null int64
3 Lantai 13428 non-null int64
4 Kondisi 13428 non-null int64
5 LB 13428 non-null int64
6 LT 13428 non-null int64
7 TK 13428 non-null int64
8 avg_price 13428 non-null float64
dtypes: float64(1), int64(8)
memory usage: 1.0 MB
= train_test_split(dfc4.drop(columns='price'), dfc4.price.to_numpy(), test_size = 0.2, random_state=129)
X_train, X_test, y_train, y_test = X_train.reset_index(drop=True)
X_train = X_test.reset_index(drop=True) X_test
= XGBRegressor(
xgb_regressor ='reg:squarederror',
objective='rmse',
eval_metric=42
random_state )
= {
param_grid 'learning_rate': [0.001, 0.01],
'n_estimators': [100, 400, 900, 1000],
'max_depth': [3, 4],
'eval_metric': ['rmse'],
}
= GridSearchCV(
grid_search =xgb_regressor,
estimator=param_grid,
param_grid='neg_mean_squared_error',
scoring=5,
cv=1,
verbose=-1
n_jobs )
grid_search.fit(X_train, y_train)
Fitting 5 folds for each of 16 candidates, totalling 80 fits
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:335: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
if is_sparse(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:338: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
is_categorical_dtype(dtype) or is_pa_ext_categorical_dtype(dtype)
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:384: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if is_categorical_dtype(dtype):
/home/vertikal/data_science/exploration/houses-explore/.venv/lib/python3.10/site-packages/xgboost/data.py:359: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
return is_int or is_bool or is_float or is_categorical_dtype(dtype)
GridSearchCV(cv=5, estimator=XGBRegressor(base_score=None, booster=None, callbacks=None, colsample_bylevel=None, colsample_bynode=None, colsample_bytree=None, device=None, early_stopping_rounds=None, enable_categorical=False, eval_metric='rmse', feature_types=None, gamma=None, grow_policy=None, importance_type=None, interaction_constraints=None, learning_rate=None... max_depth=None, max_leaves=None, min_child_weight=None, missing=nan, monotone_constraints=None, multi_strategy=None, n_estimators=None, n_jobs=None, num_parallel_tree=None, random_state=42, ...), n_jobs=-1, param_grid={'eval_metric': ['rmse'], 'learning_rate': [0.001, 0.01], 'max_depth': [3, 4], 'n_estimators': [100, 400, 900, 1000]}, scoring='neg_mean_squared_error', verbose=1)In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.
GridSearchCV(cv=5, estimator=XGBRegressor(base_score=None, booster=None, callbacks=None, colsample_bylevel=None, colsample_bynode=None, colsample_bytree=None, device=None, early_stopping_rounds=None, enable_categorical=False, eval_metric='rmse', feature_types=None, gamma=None, grow_policy=None, importance_type=None, interaction_constraints=None, learning_rate=None... max_depth=None, max_leaves=None, min_child_weight=None, missing=nan, monotone_constraints=None, multi_strategy=None, n_estimators=None, n_jobs=None, num_parallel_tree=None, random_state=42, ...), n_jobs=-1, param_grid={'eval_metric': ['rmse'], 'learning_rate': [0.001, 0.01], 'max_depth': [3, 4], 'n_estimators': [100, 400, 900, 1000]}, scoring='neg_mean_squared_error', verbose=1)
XGBRegressor(base_score=None, booster=None, callbacks=None, colsample_bylevel=None, colsample_bynode=None, colsample_bytree=None, device=None, early_stopping_rounds=None, enable_categorical=False, eval_metric='rmse', feature_types=None, gamma=None, grow_policy=None, importance_type=None, interaction_constraints=None, learning_rate=None, max_bin=None, max_cat_threshold=None, max_cat_to_onehot=None, max_delta_step=None, max_depth=None, max_leaves=None, min_child_weight=None, missing=nan, monotone_constraints=None, multi_strategy=None, n_estimators=None, n_jobs=None, num_parallel_tree=None, random_state=42, ...)
XGBRegressor(base_score=None, booster=None, callbacks=None, colsample_bylevel=None, colsample_bynode=None, colsample_bytree=None, device=None, early_stopping_rounds=None, enable_categorical=False, eval_metric='rmse', feature_types=None, gamma=None, grow_policy=None, importance_type=None, interaction_constraints=None, learning_rate=None, max_bin=None, max_cat_threshold=None, max_cat_to_onehot=None, max_delta_step=None, max_depth=None, max_leaves=None, min_child_weight=None, missing=nan, monotone_constraints=None, multi_strategy=None, n_estimators=None, n_jobs=None, num_parallel_tree=None, random_state=42, ...)
= grid_search.best_params_ best_params_xgb
best_params_xgb
{'eval_metric': 'rmse',
'learning_rate': 0.01,
'max_depth': 4,
'n_estimators': 1000}
= XGBRegressor(**best_params_xgb, random_state=42) xgboost
xgboost.fit(X_train, y_train)
XGBRegressor(base_score=None, booster=None, callbacks=None, colsample_bylevel=None, colsample_bynode=None, colsample_bytree=None, device=None, early_stopping_rounds=None, enable_categorical=False, eval_metric='rmse', feature_types=None, gamma=None, grow_policy=None, importance_type=None, interaction_constraints=None, learning_rate=0.01, max_bin=None, max_cat_threshold=None, max_cat_to_onehot=None, max_delta_step=None, max_depth=4, max_leaves=None, min_child_weight=None, missing=nan, monotone_constraints=None, multi_strategy=None, n_estimators=1000, n_jobs=None, num_parallel_tree=None, random_state=42, ...)In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.
XGBRegressor(base_score=None, booster=None, callbacks=None, colsample_bylevel=None, colsample_bynode=None, colsample_bytree=None, device=None, early_stopping_rounds=None, enable_categorical=False, eval_metric='rmse', feature_types=None, gamma=None, grow_policy=None, importance_type=None, interaction_constraints=None, learning_rate=0.01, max_bin=None, max_cat_threshold=None, max_cat_to_onehot=None, max_delta_step=None, max_depth=4, max_leaves=None, min_child_weight=None, missing=nan, monotone_constraints=None, multi_strategy=None, n_estimators=1000, n_jobs=None, num_parallel_tree=None, random_state=42, ...)
= xgboost.predict(X_test)
y_pred_test = xgboost.predict(X_train) y_pred_train
= pd.DataFrame()
result = mean_absolute_error(y_test, y_pred_test)
mae_test = mean_absolute_percentage_error(y_test, y_pred_test)
mape_test = np.sqrt(mean_squared_error(y_test, y_pred_test))
rmse_test = r2_score(y_test, y_pred_test)
r2_test
= mean_absolute_error(y_train, y_pred_train)
mae_train = mean_absolute_percentage_error(y_train, y_pred_train)
mape_train = np.sqrt(mean_squared_error(y_train, y_pred_train))
rmse_train = r2_score(y_train, y_pred_train)
r2_train
'test_XGB'] = [mae_test, mape_test, rmse_test, r2_test]
result['train_XGB'] = [mae_train, mape_train, rmse_train, r2_train]
result[= ['mae','mape','rmse','r2'] result.index
result
test_XGB | train_XGB | |
---|---|---|
mae | 438.290716 | 419.337764 |
mape | 0.213093 | 0.253128 |
rmse | 678.516114 | 626.639712 |
r2 | 0.854384 | 0.875573 |
The model is little overfit. But this is the best model so far
= pd.concat([final_result, result], axis = 1) final_result
# You can also use 'gain' or 'cover' for importance_type
xgb.plot_importance(xgboost) plt.show()
Modelling Combination 5
I will use RandomForest on this combination. But using RandomForest model on this case is very computational expensive because of many continuous features.
= df.copy().reset_index(drop=True) #df[['LT','avg_price','distance','LB','Listrik','price']] dfc5
dfc5.info()
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 13428 entries, 0 to 13427
Data columns (total 9 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 price 13428 non-null int64
1 komplek 13428 non-null int64
2 Listrik 13428 non-null int64
3 Lantai 13428 non-null int64
4 Kondisi 13428 non-null int64
5 LB 13428 non-null int64
6 LT 13428 non-null int64
7 TK 13428 non-null int64
8 avg_price 13428 non-null float64
dtypes: float64(1), int64(8)
memory usage: 944.3 KB
= train_test_split(dfc5.drop(columns='price'), dfc5.price.to_numpy(), test_size = 0.2, random_state=129)
X_train, X_test, y_train, y_test = X_train.reset_index(drop=True)
X_train = X_test.reset_index(drop=True) X_test
= RandomForestRegressor(random_state=42) randomforest
= {
param_grid 'n_estimators': [600],
'max_depth': [8, 7],
'min_samples_split': [10, 50, 100],
}
= GridSearchCV(estimator=randomforest, param_grid=param_grid, cv=5, n_jobs=-1) grid_search
grid_search.fit(X_train, y_train)
GridSearchCV(cv=5, estimator=RandomForestRegressor(random_state=42), n_jobs=-1, param_grid={'max_depth': [8, 7], 'min_samples_split': [10, 50, 100], 'n_estimators': [600]})In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.
GridSearchCV(cv=5, estimator=RandomForestRegressor(random_state=42), n_jobs=-1, param_grid={'max_depth': [8, 7], 'min_samples_split': [10, 50, 100], 'n_estimators': [600]})
RandomForestRegressor(random_state=42)
RandomForestRegressor(random_state=42)
= grid_search.best_params_ best_params_rf
best_params_rf
{'max_depth': 8, 'min_samples_split': 10, 'n_estimators': 600}
= RandomForestRegressor(**best_params_rf, random_state=42) rf
rf.fit(X_train, y_train)
RandomForestRegressor(max_depth=8, min_samples_split=10, n_estimators=600, random_state=42)In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.
RandomForestRegressor(max_depth=8, min_samples_split=10, n_estimators=600, random_state=42)
= rf.predict(X_test)
y_pred_test = rf.predict(X_train) y_pred_train
= pd.DataFrame()
result = mean_absolute_error(y_test, y_pred_test)
mae_test = mean_absolute_percentage_error(y_test, y_pred_test)
mape_test = np.sqrt(mean_squared_error(y_test, y_pred_test))
rmse_test = r2_score(y_test, y_pred_test)
r2_test
= mean_absolute_error(y_train, y_pred_train)
mae_train = mean_absolute_percentage_error(y_train, y_pred_train)
mape_train = np.sqrt(mean_squared_error(y_train, y_pred_train))
rmse_train = r2_score(y_train, y_pred_train)
r2_train
'test_RF'] = [mae_test, mape_test, rmse_test, r2_test]
result['train_RF'] = [mae_train, mape_train, rmse_train, r2_train]
result[= ['mae','mape','rmse','r2'] result.index
result
test_RF | train_RF | |
---|---|---|
mae | 438.359894 | 399.306010 |
mape | 0.216506 | 0.243069 |
rmse | 687.059730 | 599.451504 |
r2 | 0.850694 | 0.886136 |
The result is more or less the same with XGBoost model.
= pd.concat([final_result, result], axis = 1) final_result
Modelling Combination 6
For this last combination, let’s see how AdaBoost perform.
= df.copy().reset_index(drop=True) #df[['LT','avg_price','distance','LB','Listrik','price']] dfc6
dfc6.info()
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 13428 entries, 0 to 13427
Data columns (total 9 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 price 13428 non-null int64
1 komplek 13428 non-null int64
2 Listrik 13428 non-null int64
3 Lantai 13428 non-null int64
4 Kondisi 13428 non-null int64
5 LB 13428 non-null int64
6 LT 13428 non-null int64
7 TK 13428 non-null int64
8 avg_price 13428 non-null float64
dtypes: float64(1), int64(8)
memory usage: 944.3 KB
= train_test_split(dfc5.drop(columns='price'), dfc5.price.to_numpy(), test_size = 0.2, random_state=129)
X_train, X_test, y_train, y_test = X_train.reset_index(drop=True)
X_train = X_test.reset_index(drop=True) X_test
= AdaBoostRegressor(random_state = 42) adaboost
= {
param_grid 'n_estimators': [50, 150, 250],
'learning_rate': [0.01, 0.1, 1, 0.001]
}
= GridSearchCV(estimator=adaboost, param_grid=param_grid, cv=5, n_jobs=-1) grid_search
grid_search.fit(X_train, y_train)
GridSearchCV(cv=5, estimator=AdaBoostRegressor(random_state=42), n_jobs=-1, param_grid={'learning_rate': [0.01, 0.1, 1, 0.001], 'n_estimators': [50, 150, 250]})In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.
GridSearchCV(cv=5, estimator=AdaBoostRegressor(random_state=42), n_jobs=-1, param_grid={'learning_rate': [0.01, 0.1, 1, 0.001], 'n_estimators': [50, 150, 250]})
AdaBoostRegressor(random_state=42)
AdaBoostRegressor(random_state=42)
= grid_search.best_params_ best_params_ada
best_params_ada
{'learning_rate': 0.1, 'n_estimators': 50}
= AdaBoostRegressor(**best_params_ada, random_state=42) ada
ada.fit(X_train, y_train)
AdaBoostRegressor(learning_rate=0.1, random_state=42)In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.
AdaBoostRegressor(learning_rate=0.1, random_state=42)
= ada.predict(X_test)
y_pred_test = ada.predict(X_train) y_pred_train
= pd.DataFrame()
result = mean_absolute_error(y_test, y_pred_test)
mae_test = mean_absolute_percentage_error(y_test, y_pred_test)
mape_test = np.sqrt(mean_squared_error(y_test, y_pred_test))
rmse_test = r2_score(y_test, y_pred_test)
r2_test
= mean_absolute_error(y_train, y_pred_train)
mae_train = mean_absolute_percentage_error(y_train, y_pred_train)
mape_train = np.sqrt(mean_squared_error(y_train, y_pred_train))
rmse_train = r2_score(y_train, y_pred_train)
r2_train
'test_ADA'] = [mae_test, mape_test, rmse_test, r2_test]
result['train_ADA'] = [mae_train, mape_train, rmse_train, r2_train]
result[= ['mae','mape','rmse','r2'] result.index
result
test_ADA | train_ADA | |
---|---|---|
mae | 574.532983 | 580.901639 |
mape | 0.329233 | 0.398783 |
rmse | 838.365578 | 816.508925 |
r2 | 0.777692 | 0.788748 |
= pd.concat([final_result, result], axis = 1) final_result
Choosing The Best Combination
Let’s use the best combination
final_result
test_OLS | train_OLS | test_PolyRidgeOLS | train_PolyRidgeOLS | test_LogOLS | train_LogOLS | test_XGB | train_XGB | test_RF | train_RF | test_ADA | train_ADA | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
mae | 532.715149 | 541.468771 | 471.090238 | 478.917020 | 583.179251 | 595.413840 | 438.290716 | 419.337764 | 438.359894 | 399.306010 | 574.532983 | 580.901639 |
mape | 0.278840 | 0.329897 | 0.227019 | 0.276395 | 0.329967 | 0.394927 | 0.213093 | 0.253128 | 0.216506 | 0.243069 | 0.329233 | 0.398783 |
rmse | 800.262693 | 805.231411 | 729.230240 | 732.438213 | 835.080845 | 841.121663 | 678.516114 | 626.639712 | 687.059730 | 599.451504 | 838.365578 | 816.508925 |
r2 | 0.797440 | 0.794544 | 0.831804 | 0.830011 | 0.779431 | 0.775821 | 0.854384 | 0.875573 | 0.850694 | 0.886136 | 0.777692 | 0.788748 |
By seeing the results, 2 best models are XGBoost and RandomForrest. I’ll go with XGBoost because it way more less computational than RandomForest
#choosing only the most important features for XGB
= df[['LT','LB','Listrik','price','avg_price']]
df
= train_test_split(df.drop(columns='price'), df.price.to_numpy(), test_size = 0.2, random_state=123)
X_train, X_test, y_train, y_test = X_train.reset_index(drop=True)
X_train = X_test.reset_index(drop=True) X_test
= XGBRegressor(**best_params_xgb, random_state=42) best_xgb_regressor
best_xgb_regressor.fit(X_train, y_train)
XGBRegressor(base_score=None, booster=None, callbacks=None, colsample_bylevel=None, colsample_bynode=None, colsample_bytree=None, device=None, early_stopping_rounds=None, enable_categorical=False, eval_metric='rmse', feature_types=None, gamma=None, grow_policy=None, importance_type=None, interaction_constraints=None, learning_rate=0.01, max_bin=None, max_cat_threshold=None, max_cat_to_onehot=None, max_delta_step=None, max_depth=4, max_leaves=None, min_child_weight=None, missing=nan, monotone_constraints=None, multi_strategy=None, n_estimators=1000, n_jobs=None, num_parallel_tree=None, random_state=42, ...)In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.
XGBRegressor(base_score=None, booster=None, callbacks=None, colsample_bylevel=None, colsample_bynode=None, colsample_bytree=None, device=None, early_stopping_rounds=None, enable_categorical=False, eval_metric='rmse', feature_types=None, gamma=None, grow_policy=None, importance_type=None, interaction_constraints=None, learning_rate=0.01, max_bin=None, max_cat_threshold=None, max_cat_to_onehot=None, max_delta_step=None, max_depth=4, max_leaves=None, min_child_weight=None, missing=nan, monotone_constraints=None, multi_strategy=None, n_estimators=1000, n_jobs=None, num_parallel_tree=None, random_state=42, ...)
= best_xgb_regressor.predict(X_test)
y_pred_test = best_xgb_regressor.predict(X_train) y_pred_train
= pd.DataFrame()
result = mean_absolute_error(y_test, y_pred_test)
mae_test = mean_absolute_percentage_error(y_test, y_pred_test)
mape_test = np.sqrt(mean_squared_error(y_test, y_pred_test))
rmse_test = r2_score(y_test, y_pred_test)
r2_test
= mean_absolute_error(y_train, y_pred_train)
mae_train = mean_absolute_percentage_error(y_train, y_pred_train)
mape_train = np.sqrt(mean_squared_error(y_train, y_pred_train))
rmse_train = r2_score(y_train, y_pred_train)
r2_train
'test_XGB'] = [mae_test, mape_test, rmse_test, r2_test]
result['train_XGB'] = [mae_train, mape_train, rmse_train, r2_train]
result[= ['mae','mape','rmse','r2'] result.index
result
test_XGB | train_XGB | |
---|---|---|
mae | 459.897612 | 429.131317 |
mape | 0.307846 | 0.244483 |
rmse | 699.862902 | 643.969481 |
r2 | 0.846041 | 0.868387 |
The results remain favorable and consistent
Model Evaluation & Interpretation
Here, I will assess and interpret the model’s performance using a new set of sample data that I collected separately from the main dataset.
= pd.read_csv('test.csv')
test = pd.merge(test, avg , on=['Kecamatan','Kondisi']).convert_dtypes() test
Add the avg_price column to test data.
= test[(test.price < 10000) & (test.price > 100)]
test = test[test.LB < 900]
test = test[test.LT < 500]
test = test[['LT','avg_price','LB','Listrik','price']] test
Clean the test data
= test[['LT','LB','Listrik','avg_price']]
test_x = test.price test_y
= best_xgb_regressor.predict(test_x)
y_pred_test = test_y y_test
= pd.DataFrame()
result = mean_absolute_error(y_test, y_pred_test)
mae_test = mean_absolute_percentage_error(y_test, y_pred_test)
mape_test = np.sqrt(mean_squared_error(y_test, y_pred_test))
rmse_test = r2_score(y_test, y_pred_test)
r2_test
= mean_absolute_error(y_train, y_pred_train)
mae_train = mean_absolute_percentage_error(y_train, y_pred_train)
mape_train = np.sqrt(mean_squared_error(y_train, y_pred_train))
rmse_train = r2_score(y_train, y_pred_train)
r2_train
'test_XGB'] = [mae_test, mape_test, rmse_test, r2_test]
result['train_XGB'] = [mae_train, mape_train, rmse_train, r2_train]
result[= ['mae','mape','rmse','r2'] result.index
result
test_XGB | train_XGB | |
---|---|---|
mae | 531.780306 | 429.131317 |
mape | 0.214570 | 0.244483 |
rmse | 885.063409 | 643.969481 |
r2 | 0.785323 | 0.868387 |
The model perform worse on scrapped test data.
Residuals Plot
= pd.DataFrame([list(y_train), list(y_pred_train)]).transpose()
res = ['test','pred']
res.columns 'residual'] = res.test - res.pred
res['residualp'] = abs(res.test - res.pred) * 100 / res.test res[
= px.scatter(x=res['test'], y=res['residualp'])
fig
fig.update_layout( = 800,
height = 'Residual\'s absolute percentage plot'
title
)=res['residualp'].mean(), line_dash="dot", line_color="red")
fig.add_hline(y fig
From the residual percentage above we can see that :
1. 7.5% of data is APE that is more than 50%.
2. 59% of data is APE that is lower than 20%.
3. 32.5% of data is ape that is 20% - 50%.
4. When the houses prices is 4 million, the model become worse as the price kept going up.
5. There are extreme APE error on 0 to 2k prices, this indicate that there are anomalies data inserted.
= px.scatter(x=res['test'], y=res['residual'])
fig
fig.update_layout( = 700,
height = 'Residuals plot'
title
)=0, line_dash="dot", line_color="red")
fig.add_hline(y fig
The unequal variance in the data implies the presence of heteroscedasticity, and a higher price is associated with increased variability. This phenomenon is considered normal since more expensive houses involve a greater number of factors in determining their prices. Additionally, the model also consistently underpredicts as house prices increase. I think we need to gather more variables or predictors that influence house prices.
PDP & ICE Plots
def pdp_ice_plot(model, df_test, column, clusters=True):
= df_test.copy()
df_test = pdp.PDPIsolate(model = model, df = df_test,
pdp_isolate =20,
num_grid_points= df_test.columns,
model_features = column, feature_name=column, n_classes=0)
feature
pdp_isolate.plot(=True, plot_lines=True,
center=clusters, n_cluster_centers=5,cluster_method='accurate',
cluster=False, to_bins=True,
plot_pts_dist=False, which_classes=None,
show_percentile=(10,6), dpi=300,
figsize=2, plot_params={"pdp_hl": True},
ncols='matplotlib', template='plotly_white')
engine
plt.show()return pdp_isolate
'LT', clusters=False) pdp_ice_plot(best_xgb_regressor, test_x,
obtain pred_func from the provided model.
findfont: Font family 'Arial' not found.
findfont: Font family ['Arial'] not found. Falling back to DejaVu Sans.
findfont: Font family 'Arial' not found.
findfont: Font family 'Arial' not found.
findfont: Font family 'Arial' not found.
findfont: Font family 'Arial' not found.
<pdpbox.pdp.PDPIsolate at 0x7f92d07a8a30>
The Larger the LT, higher the price. But as the LT get higher, the price is also more disperse.
= test_x.copy()
test1 = pdp.PDPInteract(model=best_xgb_regressor, df=test1,
pdp_interact =10,
num_grid_points= test1.columns,
model_features =['LB','avg_price'],
features=['LB','avg_price'], n_classes=0) feature_names
obtain pred_func from the provided model.
obtain pred_func from the provided model.
obtain pred_func from the provided model.
'avg_price', clusters=True) pdp_ice_plot(best_xgb_regressor, test_x,
obtain pred_func from the provided model.
findfont: Font family 'Arial' not found.
findfont: Font family 'Arial' not found.
findfont: Font family 'Arial' not found.
findfont: Font family 'Arial' not found.
findfont: Font family 'Arial' not found.
<pdpbox.pdp.PDPIsolate at 0x7f92c44449d0>
The higher the avg_price, also the higher the price, but not all data is affected the same, some are highly affected, some are less affected.
= pdp_interact.plot(
fig, axes ="grid",
plot_type=True,
to_bins=True,
plot_pdp=True,
show_percentile=None,
which_classes=None,
figsize=300,
dpi=2,
ncols=None,
plot_params="plotly",
engine="plotly_white",
template
) fig
By combining the avg_price and the LT, you can see that low LT is not affected as much as it affect high LT. The price is more volatile on higher LT.
Conclusion
I have concerns regarding the model’s accuracy, primarily because the residuals are still to be relatively high. This issue can be attributed to the limited sample size and the exclusion of critical factors influencing prices. Among these factors, ‘avg_price’ is of utmost importance. To enhance the accuracy of ‘avg_price,’ it’s imperative to expand the sample size and consider a broader spectrum of variables affecting prices. While I’ve used ‘Kecamatan’ and ‘Kondisi Perabotan’ in this context to estimate ‘avg_price,’ I believe these variables alone are insufficient. Moving forward, I plan to further develop this project by gathering additional data from various real estate websites to create a more robust and accurate model.