-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
81 lines (61 loc) · 2.49 KB
/
Copy pathscript.js
File metadata and controls
81 lines (61 loc) · 2.49 KB
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
(function(){
var app = angular.module('mysite', ['ngSanitize']);
app.controller('mainCtrl', ['$scope', function($scope){
console.log('main controller');
$scope.activeTab = "homePage.html";
$scope.resumeClicked = function(){
$scope.activeTab = "resume.html";
};
$scope.projectsClicked = function(){
$scope.activeTab = "projects.html";
};
$scope.contactClicked = function(){
$scope.activeTab = "contact.html";
};
}]);
app.controller('homePageCtrl', ['$scope', function($scope){
console.log('homePage controller');
}]);
app.controller('resumeCtrl', ['$scope', function($scope){
console.log('resume controller');
}]);
app.controller('contactCtrl', ['$scope', function($scope){
console.log('resume controller');
}]);
app.controller('projectsCtrl', ['$scope', '$sce', function($scope, $sce){
console.log('contact controller');
$scope.projects = [
{
'title':'Handwritten digit classification',
'desc': $sce.trustAsHtml('\
<p>\
The project is intended to compare the performances of 2 classification algorithms namely, Logistic Regression and Neural Networks. The classification problem being solved is that of handwritten digit recognition, an instance of multi class classification involving classifying digits between 0-9. The training and test data used is from the MNIST data-set. The aim of the project is to find the optimal set of weight values that results in the least misclassification rate.\
<img src="574-p3.png">\
</p>\
')
},
{
'title':'Linear Regression',
'desc': 'This project was intended to predict the relevance of search engine results using Linear Regression'
},
{
'title':'Linear Regression',
'desc': 'This project was intended to predict the relevance of search engine results using Linear Regression'
},
{
'title':'Linear Regression',
'desc': 'This project was intended to predict the relevance of search engine results using Linear Regression'
},
{
'title':'Linear Regression',
'desc': 'This project was intended to predict the relevance of search engine results using Linear Regression'
}];
$scope.tileClicked = function(index){
$scope.activeProject = $scope.projects[index];
$('#myModal').modal({
keyboard: false,
show: true
});
};
}]);
})()