merve HF staff commited on
Commit
6c5ad74
·
1 Parent(s): e6922b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -39,18 +39,18 @@ title = " Illustration of Recursive feature elimination.🌲 "
39
  with gr.Blocks(title=title) as demo:
40
  gr.Markdown(f"# {title}")
41
  gr.Markdown(
42
- " This example the feature importnace by using Recursive feature elimination <br>"
43
- " Dataset is load_digits() which is images of size 8 X 8 hand-written digits <br>"
44
- " **Parameters** <br> <br> **Number of features to select** : Represents the features left at the end of feature selection process. <br>"
45
- " **Step** : Number of feature to remove at each iteration, least important are removed. <br>"
46
  )
47
 
48
  gr.Markdown(
49
- " Support Vector classifier is used as estimator to rank features. <br>"
50
  )
51
 
52
  gr.Markdown(
53
- " **[Demo is based on sklearn docs](https://scikit-learn.org/stable/auto_examples/feature_selection/plot_rfe_digits.html)**"
54
  )
55
  with gr.Row():
56
  n_features_to_select = gr.Slider(
@@ -69,7 +69,7 @@ with gr.Blocks(title=title) as demo:
69
  ) #
70
 
71
  gr.Markdown(
72
- " Plot shows the importance of each pixel in the classification of the digits. <br>"
73
  )
74
 
75
  demo.launch()
 
39
  with gr.Blocks(title=title) as demo:
40
  gr.Markdown(f"# {title}")
41
  gr.Markdown(
42
+ "This example demonstrates recursive feature elimination. <br>"
43
+ "Dataset is `load_digits()` which is images of size 8x8 images of hand-written digits. <br>"
44
+ "**Parameters** <br> **Number of features to select**: Represents the features left at the end of feature selection process. <br>"
45
+ "**Step**: Number of feature to remove at each iteration, least important are removed. <br>"
46
  )
47
 
48
  gr.Markdown(
49
+ "Support vector classifier is used as estimator to rank features. <br>"
50
  )
51
 
52
  gr.Markdown(
53
+ "Demo is based on [sklearn docs](https://scikit-learn.org/stable/auto_examples/feature_selection/plot_rfe_digits.html)."
54
  )
55
  with gr.Row():
56
  n_features_to_select = gr.Slider(
 
69
  ) #
70
 
71
  gr.Markdown(
72
+ "Plot shows the importance of each pixel in the classification of the digits. <br>"
73
  )
74
 
75
  demo.launch()