Skip to content

Instantly share code, notes, and snippets.

@Raahul-Singh
Last active June 28, 2020 23:10
Show Gist options
  • Save Raahul-Singh/4cdf14fccdb649c01ea7b09bdfc3507c to your computer and use it in GitHub Desktop.
Save Raahul-Singh/4cdf14fccdb649c01ea7b09bdfc3507c to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Correlation between Flare Production and AR Complexity"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"***"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Imports"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import copy\n",
"import pandas as pd\n",
"import numpy as np\n",
"from scipy.stats import pointbiserialr\n",
"\n",
"import matplotlib.pyplot as plt\n",
"import seaborn as sns"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Loading the All Clear dataset"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"properties = pd.read_csv(\"data/all_clear/lookup_properties.csv\", delimiter=';')\n",
"properties.set_index('#id', inplace=True)\n",
"rankings = pd.read_csv(\"data/all_clear/rankings.csv\", delimiter=';')\n",
"rankings.set_index('image_id', inplace=True)\n",
"rankings.sort_index(inplace=True)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.10"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment