Skip to content

Instantly share code, notes, and snippets.

View amaarora's full-sized avatar
🎯
Focusing

Aman Arora amaarora

🎯
Focusing
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "markdown",
"id": "abstract-destruction",
"metadata": {},
"source": [
"# Exploratory Data Analysis (EDA) on Property Sales Dataset\n",
"\n",
"This Jupyter notebook presents an exploratory data analysis (EDA) of a property sales dataset. <br/>\n",
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"cells": [
{
"cell_type": "code",
"execution_count": 12,
"id": "3344492e",
"metadata": {},
"outputs": [],
"source": [
"# get dataset\n",
class FeatureExtractor(nn.Module):
def __init__(self, model, layer_names):
super().__init__()
self.model = model
self.layer_names = layer_names
self._features = defaultdict(list)
layer_dict = dict([*self.model.named_modules()])
for layer_name in layer_names:
layer = layer_dict[layer_name]
@amaarora
amaarora / Fastai PETS.ipynb
Last active January 17, 2022 02:00
reports/Fastai PETS Embedding.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@amaarora
amaarora / GRAD CAM .ipynb
Created December 13, 2021 14:43
reports/GRAD CAM .ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@amaarora
amaarora / CodeCarbon.ipynb
Last active December 13, 2021 14:09
reports/CodeCarbon.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.