Skip to content

Commit

Permalink
runner isort recommendations by hand
Browse files Browse the repository at this point in the history
  • Loading branch information
rfl-urbaniak committed Mar 12, 2024
1 parent c13a431 commit 1885390
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cities/modeling/model_interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
from typing import Optional

import dill
import pyro.distributions as dist
import torch

import pyro
import pyro.distributions as dist
from cities.modeling.modeling_utils import (prep_wide_data_for_inference,
train_interactions_model)
from cities.utils.data_grabber import DataGrabber, find_repo_root
Expand Down
7 changes: 4 additions & 3 deletions cities/modeling/modeling_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
import matplotlib.pyplot as plt
import pandas as pd
import torch
from pyro.infer import SVI, Trace_ELBO
from pyro.infer.autoguide import AutoNormal
from pyro.optim import Adam # type: ignore
from scipy.stats import spearmanr

import pyro
from cities.utils.data_grabber import (DataGrabber, list_available_features,
list_tensed_features)
from pyro.infer import SVI, Trace_ELBO
from pyro.infer.autoguide import AutoNormal
from pyro.optim import Adam # type: ignore



def drop_high_correlation(df, threshold=0.85):
Expand Down

0 comments on commit 1885390

Please sign in to comment.