Skip to content

٠١-machine-learning-pipeline-data-analysis.ipynb  #920

Open
@saadalim1978

Description

@saadalim1978

Let's go ahead and analyse the distributions of the variables

after applying a yeo-johnson transformation

temporary copy of the data

tmp = data.copy()

for var in cont_vars:

# transform the variable - yeo-johsnon
tmp[var], param = stats.yeojohnson(data[var])

plot the histograms of the transformed variables

tmp[cont_vars].hist(bins=30, figsize=(15,15))
plt.show()

BracketError: The algorithm terminated without finding a valid bracket. Consider trying different initial points.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions