Asteroid Daiamter Prediction New
Prediction of diameter of Asteroids
The sole purpose of this project is to predict the diameter of the asteroids based on different parameters or features that will be included in the dataset. In this model, I will train two different models and tune them with various hyperparameters, then compare both the models for their predictions.
!pip install pandas numpy matplotlib seaborn opendatasets scikit-learn jovian --upgrade --quiet
import opendatasets as od
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
import matplotlib
import jovian
import os
%matplotlib inline
pd.set_option('display.max_columns', None)
pd.set_option('display.max_rows', 150)
sns.set_style('darkgrid')
matplotlib.rcParams['font.size'] = 14
matplotlib.rcParams['figure.figsize'] = (10, 6)
matplotlib.rcParams['figure.facecolor'] = '#00000000'
od.download('https://www.kaggle.com/basu369victor/prediction-of-asteroid-diameter')
Please provide your Kaggle credentials to download this dataset. Learn more: http://bit.ly/kaggle-creds
Your Kaggle username: dikshantkalotra
Your Kaggle Key: ········
1%|▍ | 1.00M/161M [00:00<00:26, 6.42MB/s]
Downloading prediction-of-asteroid-diameter.zip to .\prediction-of-asteroid-diameter
100%|███████████████████████████████████████████████████████████████████████████████| 161M/161M [00:22<00:00, 7.41MB/s]
Dikshant kalotra6 months ago