Learn practical skills, build real-world projects, and advance your career

Insurance cost prediction using linear regression

Author: Olufemi Victor Tolulope

Assignment Tag: 02-insurance-linear-regression

first, i import all the libraries i need for the task, and some unique functions from the torch.utils.data module which will come in handy at the long run

import torch
import jovian
import torchvision
import torch.nn as nn
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
import torch.nn.functional as F
from torchvision.datasets.utils import download_url
from torch.utils.data import DataLoader, TensorDataset, random_split