Skip to content

Commit

Permalink
classic bip FS
Browse files Browse the repository at this point in the history
  • Loading branch information
victorvicpal committed Nov 23, 2018
1 parent 844514c commit 6bedb5a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,18 @@ bip_classic = biplot.Classic(X, dim = 40, alpha = 1, method = 1)
bip_classic.plot()
```

![class_bip](img/class_bip.png)
![class_bip](img/class_bip.png)

#### Feature Selection
```
T_classic = feature.selection(bip_classic, target, thr_dis = 50, thr_corr = 0.9)
print(T_classic.var_sel)
```

['F3S', 'F4S', 'F7R', 'F7S', 'F8R', 'F8S', 'F12R', 'F12S', 'F13R', 'F13S', 'F15R', 'F15S', 'F16R', 'F16S', 'F18R', 'F18S', 'F20R', 'F20S', 'F21R', 'F21S', 'F22R', 'F22S']

```
T_classic.Disc.loc[T_classic.var_sel,'0-1'].sort_values().plot(kind='barh', figsize= (5,10), title = 'Importance');
```

![class_fs](img/class_fs.png)
Binary file added docs/img/class_fs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6bedb5a

Please sign in to comment.