This is an analysis of a dataset using python. The data being used was obtained from ‘https://www.kaggle.com/jacobbaruch/basketball-players-stats-per-season-49-leagues'. The data set contains information on players from 49 different basketball leagues in the world which spans from seasons 1999 to 2020.
The general idea is to use data analysis modules like pandas, matplotlib and seaborn in python to find some statistical information from the dataset. This is a project being undertaken as part of the course Data Analysis with Python: Zero to Pandas, which has thought me a lot of useful features and function in python.
Pytorch is a library for processing tensors. A tensor can be a number, vector, matrix or any ndarray. There are various functions in the
torch module that can be used to create and manipulate tensors. The five(5) functions we will learn are as follows:
I will provide three examples each for each function. Two of the examples I provide will work and the last one will throw an error. We will find out why the error is returned and take note of why it happened.
Before we begin, let’s install and import PyTorch
A graduate student who is interested and research and data analysis in environmental engineering.