Test Get link Facebook X Pinterest Email Other Apps March 09, 2024 Testingdef FirstFunc(text): text += "!" print("Hello Blogger!") Get link Facebook X Pinterest Email Other Apps Comments
[Kaggle] Titanic Survivor Classification July 09, 2024 Titanic Survivor Classification Challenge From Kaggle. """ > - 0. Modules - 1. Train Data Load - 2. Null Data - 3. Outliers & One-Hot Encoding - 3.1. Outliers - 3.2. One-Hot-Encoding - 3.3. Merge DF - 4. Correlation Analysis - 4.1. Correlation Check (include dummies) - 4.2. Get Original Categorical Column Names - 4.3. Handle Categorical Columns Using Corr (del & dummy) - 5. Data Split-1 [Data and Label] - 6. Scaling - 7. Data Split-2 [Train and Validation] - 8. Test Data Load - 9. Machine Learning - 9.0. Comparison - 9.1. ML - Decision Tree Classifier - Grid Search - 9.2. ML - Random Forest Classifier - Grid Search - 9.3. ML - Logistic Regressor - Grid Search - 9.4. ML - XGBoost Classifier - Grid Search - 9.5. ML - LGBM Classifier - Grid Search - 9.6. ML - CatBoost Classifier - Grid Search - 10. Deep Learning - 10.1. Network Model - 10.2. Test Score - 11. Final Score Comparison - 12. Submit """ #============... Read more
Machine Learning ShootOut July 06, 2024 #=============== ======================================== import sklearn as sk import pandas as pd import numpy as np from sklearn.model_selection import train_test_split, GridSearchCV from sklearn.metrics import confusion_matrix, ConfusionMatrixDisplay from sklearn.metrics import accuracy_score, precision_score, recall_score, classification_report, f1_score, r2_score from sklearn.metrics import mean_absolute_error, mean_absolute_percentage_error, mean_squared_error, classification_report from sklearn.tree import DecisionTreeRegressor, DecisionTreeClassifier from sklearn.ensemble import RandomForestRegressor, RandomForestClassifier from sklearn.linear_model import LogisticRegression from xgboost.sklearn import XGBClassifier, XGBRegressor from lightgbm import LGBMRegressor, LGBMClassifier from catboost import CatBoostRegressor, CatBoostClassifier from sklearn.pipeline import make_pipeline #============================== ======================================== #===========... Read more
[Kaggle] Pizza or Not Classification (Computer Vision) July 08, 2024 Pizza or Not Binary Classification Challenge From Kaggle. """ > - 0. Modules - 1. Train Data Load - 1.1. Path and Check - 1.2. Amount Cnt - 1.3. Path & Files List - 1.4. Img Size Check - 2. Labeling - 2.1. Make Img & Label List - 2.2. Handling Img Ch Error - 3. Tensorization - 4. Data Split - 5. Test Data Load - 6. Learning - 6.1. Transfer - EfficientNet-B5 - 6.2. Transfer - ResNet50 V2 - 6.3. Transfer - Inception V3 - 6.4. CNN 7. Test Score 8. Submit """ #======================================== ======================================== import os from glob import glob import pathlib from PIL import Image import numpy as np import pandas as pd import matplotlib.pyplot as plt import tensorflow as tf from keras.models import Model, Sequential from keras.optimizers import Adam, Adamax, SGD, Nadam from sklearn.model_selection import train_test_split from keras.applications import EfficientNetB0, EfficientNetB4 from keras... Read more
Comments
Post a Comment