Skip to content

Commit 64432bc

Browse files
added points cls2 predsel section bughunt
1 parent ffa4a1d commit 64432bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/classification2.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1833,7 +1833,7 @@ summary_df = pd.DataFrame(
18331833
)
18341834
plt_irrelevant_accuracies = (
18351835
alt.Chart(summary_df)
1836-
.mark_line() #point=True
1836+
.mark_line(point=True)
18371837
.encode(
18381838
x=alt.X("ks", title="Number of Irrelevant Predictors"),
18391839
y=alt.Y(
@@ -1867,7 +1867,7 @@ this evidence; if we fix the number of neighbors to $K=3$, the accuracy falls of
18671867
18681868
plt_irrelevant_nghbrs = (
18691869
alt.Chart(summary_df)
1870-
.mark_line() # point=True
1870+
.mark_line(point=True)
18711871
.encode(
18721872
x=alt.X("ks", title="Number of Irrelevant Predictors"),
18731873
y=alt.Y(
@@ -1897,7 +1897,7 @@ plt_irrelevant_nghbrs_fixed = (
18971897
alt.Chart(
18981898
melted_summary_df
18991899
)
1900-
.mark_line() # point=True
1900+
.mark_line(point=True)
19011901
.encode(
19021902
x=alt.X("ks", title="Number of Irrelevant Predictors"),
19031903
y=alt.Y(
@@ -2137,7 +2137,7 @@ where the elbow occurs, and whether adding a variable provides a meaningful incr
21372137
21382138
fwd_sel_accuracies_plot = (
21392139
alt.Chart(accuracies)
2140-
.mark_line() # point=True
2140+
.mark_line(point=True)
21412141
.encode(
21422142
x=alt.X("size", title="Number of Predictors"),
21432143
y=alt.Y(

0 commit comments

Comments
 (0)