abdullahkarasan / mlfrm

Other
71 stars 46 forks source link

Chapter 5 - Kernel Density Parameters and CSV Datapath #3

Open mshearer0 opened 2 years ago

mshearer0 commented 2 years ago
  1. kde = KernelDensity(bandwidth, kernel='gaussian') gives:

TypeError: init() takes 1 positional argument but 2 positional arguments (and 1 keyword-only argument) were given

Suggest:

kde = KernelDensity(bandwidth=bandwidth, kernel='gaussian')

  1. Suggest modify csv reader to include datasets file path

bid_ask = pd.read_csv('datasets/bid_ask.csv')

abdullahkarasan commented 2 years ago

Hi Michael,

These are helpful. But I don not get any error grom these codes. By the way, I am not done wirh github as some datasets are missing. Best Abdullah

Michael Shearer @.***> şunları yazdı (10 Ara 2021 00:15):

 kde = KernelDensity(bandwidth, kernel='gaussian') gives: TypeError: init() takes 1 positional argument but 2 positional arguments (and 1 keyword-only argument) were given

Suggest:

kde = KernelDensity(bandwidth=bandwidth, kernel='gaussian')

Suggest modify csv reader to include datasets file path bid_ask = pd.read_csv('datasets/bid_ask.csv')

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.