Skip to content

Hw4#4

Open
TDerig23 wants to merge 4 commits intomasterfrom
hw4
Open

Hw4#4
TDerig23 wants to merge 4 commits intomasterfrom
hw4

Conversation

@TDerig23
Copy link
Owner

No description provided.

Copy link
Collaborator

@BitaEt BitaEt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I again forgot to push the button and my reviews were pending

extracted_cont = titanic_df[col]
cont_df = cont_df.append(extracted_cont)


Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where does your histogram data come from? (x label), it doesn't have any input now

X = titanic_df.data
y = titanic_df.target

for idx, column in enumerate(X.T):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're not working with the diabetes dataset

bda602_hw4.py Outdated
)
fig_1.show()
fig_1.write_html(
file="../../../plots/lecture_6_cont_response_cat_predictor_dist_plot.html",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should remove all these file variables in functions.

unless I add another before you download it
unless I have a revelation.
bda602_hw4.py Outdated

cat_df = []
cont_df = []
for col in titanic_df:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For titanic we have numeric "categorical" variables. Like pclass, this code fails to recognize them.

Copy link
Collaborator

@BitaEt BitaEt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new comment added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants