dineshgit
dineshgit
I was having the same question. One of my feature shows a very high importance, but in Partial dependence plot, it gives me a flat line. Appreciate if someone could...
The code snippet is from the tutorial here: https://github.com/antoinecarme/pyaf/blob/master/docs/PyAF_Introduction.ipynb
import pandas as pd csvfile_link = "https://raw.githubusercontent.com/antoinecarme/TimeSeriesData/master/ozone-la.csv" ozone_dataframe = pd.read_csv(csvfile_link); import datetime ozone_dataframe['Month'] = ozone_dataframe['Month'].apply(lambda x : datetime.datetime.strptime(x, "%Y-%m")) ozone_dataframe.head() %matplotlib inline ozone_dataframe.plot.line('Month', ['Ozone'], grid = True, figsize=(12, 8)) import...
The problem is that the locally installed MKL package is not compatible with numpy. The solution is to install numpy using `conda install numpy` instead of `pip install numpy`. After...