-
Notifications
You must be signed in to change notification settings - Fork 27
/
featureImp.html
343 lines (295 loc) · 13.4 KB
/
featureImp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Fund Analytics</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet"
target="_blank" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet"
target="_blank" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">
<!-- Custom Fonts -->
<link
target="_blank" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css"
rel="stylesheet">
<!-- Custom CSS -->
<link target="_blank" href="css/sb-admin.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="wrapper">
<!-- Navigation Start-->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html"> Mutual Fund Predictive Analytics</a>
</div>
<!-- Top Menu Items -->
<ul class="nav navbar-right top-nav">
<li>
<a target="_blank" href="https://github.com/rupeshmore85/cs109_Fund_Analytics/blob/master/README.md">
Python Process Book</a>
</li>
<li>
<a target="_blank" href="https://github.com/rupeshmore85/cs109_Fund_Analytics/tree/master/Fund_Data"> Fund Data</a>
</li>
<li>
<a target="_blank" href="https://www.youtube.com/watch?v=ip4pNSbnFpg&feature=youtu.be"> Screen Cast</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" style="color: white"> Contact Us <i class="fa fa-envelope"></i> <b class="caret"></b></a>
<ul class="dropdown-menu message-dropdown">
<li class="message-preview">
<a href="MAILTO:[email protected]">
<div class="media">
<span class="pull-left">
<img class="media-object" src="/img/rupesh.jpg" alt="Rupesh" height="50" width="50">
</span>
<div class="media-body">
<h5 class="media-heading"><strong>Rupesh More</strong>
</h5>
<p>[email protected]</p>
</div>
</div>
</a>
</li>
<li class="message-preview">
<a href="MAILTO:[email protected]">
<div class="media">
<span class="pull-left">
<img class="media-object" src="/img/ashwini.jpg" alt="Ashwini" height="50" width="50">
</span>
<div class="media-body">
<h5 class="media-heading"><strong>Ashwini Patil</strong>
</h5>
<p>[email protected]</p>
</div>
</div>
</a>
</li>
</ul>
</li>
</ul>
<!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav side-nav">
<li class="active">
<a href="index.html"><i class="fa fa-fw fa-home"></i> Home</a>
</li>
<li>
<a href="RandomForest.html"><i class="fa fa-fw fa-tree"></i> Random Forest Classifier</a>
</li>
<li>
<a href="featureImp.html"><i class="fa fa-fw fa-location-arrow"></i> Feature Importance</a>
</li>
<li>
<a href="javascript:;" data-toggle="collapse" data-target="#demo_3"><i class="fa fa-fw fa-bar-chart-o"></i> 3 Years Investment<i class="fa fa-fw fa-caret-down"></i></a>
<ul id="demo_3" class="collapse">
<li class="active">
<a href="Top3yrsFund.html">Top Performing Funds</a>
</li>
<li>
<a href="Fund_AreaChart_3yrs.html">Top Funds Area Chart</a>
</li>
<li>
<a href="Portfolio_3yrs.html">Top Fund Portfolio</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" data-toggle="collapse" data-target="#demo_5"><i class="fa fa-fw fa-bar-chart-o"></i> 5 Years Investment<i class="fa fa-fw fa-caret-down"></i></a>
<ul id="demo_5" class="collapse">
<li class="active">
<a href="Top5yrsFund.html">Top Performing Funds</a>
</li>
<li>
<a href="Fund_AreaChart_5yrs.html">Top Funds Area Chart</a>
</li>
<li>
<a href="Portfolio_5yrs.html">Top Fund Portfolio</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" data-toggle="collapse" data-target="#demo_10"><i class="fa fa-fw fa-bar-chart-o"></i> 10 Years Investment<i class="fa fa-fw fa-caret-down"></i></a>
<ul id="demo_10" class="collapse">
<li class="active">
<a href="Top10yrsFund.html">Top Performing Funds</a>
</li>
<li>
<a href="Fund_AreaChart_10yrs.html">Top Funds Area Chart</a>
</li>
<li>
<a href="Portfolio_10yrs.html">Top Fund Portfolio</a>
</li>
</ul>
</li>
<li>
<a href="Poor_fund.html"><i class="fa fa-fw fa-file"></i> Poor Performing Funds</a>
</li>
<li>
<a href="ExpenseRatio.html"><i class="fa fa-fw fa-usd"></i>Expense Ratio Vs Return</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</nav>
<!-- Navigation ends copy till this line to all pages -->
<div id="page-wrapper">
<div class="container-fluid">
<!-- Page Heading -->
<div class="row">
<div class="col-lg-12">
<h3 class="page-header">Feature Importance for Short Term and Long Term Investment
</h3>
</div>
</div>
<!-- /.row -->
<div class="row">
<!-- Plot for 3 years investment -->
<div class="col-md-6">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">
<i class="fa fa-bar-chart"></i> Feature Importance for 3 years
</h3>
</div>
<div class="panel-body">
<div class="flot-chart">
<img height="100%" width="100%" src="/img/3yrs_feature_barplot.png"
alt="Feature Importance for 3 years">
</div>
<br>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="alert">
<p>
Once the Random Forest Model was fitted, we calculated importance of each feature for short term and long term
investment.
<p>
Based on the anlsysis, we found that
<a target="_blank" href="http://www.investopedia.com/terms/b/beta.asp">Beta</a>,
<a
target="_blank" href="http://www.investopedia.com/video/play/r-squared/?rp=i">R
Squared, </a>
<a
target="_blank" href="http://www.investopedia.com/terms/s/standarddeviation.asp">Standard
Deviation, </a>
<a
target="_blank" href="http://www.investopedia.com/terms/a/alpha.asp">Alpha,</a>
and <a target="_blank" href="http://www.investopedia.com/terms/s/sharperatio.asp">Sharpe
Ratio </a>
are the important fearures when determining the good mutual fund for 3 years investment.
<p>
For 5 years investment,
<a
target="_blank" href="http://www.investopedia.com/video/play/r-squared/?rp=i">R
Squared</a>,
<a
target="_blank" href="http://www.investopedia.com/terms/a/alpha.asp">Alpha</a>,
<a
target="_blank" href="http://www.investopedia.com/terms/s/standarddeviation.asp">Standard
Deviation</a>,
<a
target="_blank" href="http://www.investopedia.com/terms/r/returnoninvestment.asp">Returns,
</a>
<a target="_blank" href="http://www.investopedia.com/terms/t/treynorratio.asp">Treynor Ratio</a> are the important fearures when determining the good mutual.
<p>
Similarly for 10 years investment
<a
target="_blank" href="http://www.investopedia.com/video/play/r-squared/?rp=i">R
Squared</a>,
<a target="_blank" href="http://www.investopedia.com/terms/t/treynorratio.asp">Treynor Ratio</a>,
<a
target="_blank" href="http://www.investopedia.com/terms/r/returnoninvestment.asp">Returns,
</a>
<a
target="_blank" href="http://www.investopedia.com/terms/s/standarddeviation.asp">Standard
Deviation</a>,
<a target="_blank" href="http://www.investopedia.com/terms/s/sharperatio.asp">Sharpe
Ratio </a>
are the important fearures when determining the good mutual fund.
</p>
<p>
We plotted barplot of feature importance
term/long basis. The bar plot for 3 years , 5 years and 10 years
investment are as shown below.
<p>
</div>
</div>
</div>
<!-- /.row -->
<!-- Charts Section -->
<div class="row">
<!-- Plot for 5 years investment -->
<div class="col-md-6">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">
<i class="fa fa-bar-chart"></i> Feature Importance for 5 years
</h3>
</div>
<div class="panel-body">
<div class="flot-chart">
<img src="/img/5yrs_feature_barplot.png"
alt="Feature Importance for 5 years" height="100%" width="100%">
</div>
</div>
</div>
</div>
<!-- Plot for 10 years investment -->
<div class="col-md-6">
<div class="panel panel-danger">
<div class="panel-heading">
<h3 class="panel-title">
<i class="fa fa-bar-chart"></i> Feature Importance for 10 years
</h3>
</div>
<div class="panel-body">
<div class="flot-chart">
<img height="100%" width="100%" src="/img/10yrs_feature_barplot.png"
alt="Feature Importance for 10 years">
</div>
<br>
</div>
</div>
</div>
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<!-- jQuery -->
<!-- Optional: Include the jQuery library -->
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<!-- Morris Charts JavaScript
<script src="js/plugins/morris/raphael.min.js"></script>
<script src="js/plugins/morris/morris.min.js"></script>
<script src="js/plugins/morris/morris-data.js"></script>-->
</body>
</html>