Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
8d4303a
Hide home, hide feedback, update logo
prekshap24 May 11, 2019
f07d7e1
Hide home, hide feedback, update logo
prekshap24 May 11, 2019
8013356
Hide home, hide feedback, update logo, update discipline name
prekshap24 May 11, 2019
79aba1e
Bayesian Classification: Hided home, hided fee
prekshap24 May 11, 2019
27fa73a
Bayesian Classification: Hided home, hided feedback, updated logo, up…
prekshap24 May 11, 2019
de63693
first button creation using js attempt
prekshap24 May 16, 2019
bf6e1e7
Adding some more buttons to the Experiment3 Day2
prekshap24 May 17, 2019
88de6e0
Create SRIP
prekshap24 May 19, 2019
bf8b681
Delete SRIP
prekshap24 May 19, 2019
7bb9d5f
SRIP folder created
prekshap24 May 19, 2019
ac1becb
Delete exp3.css
prekshap24 May 19, 2019
0f5ea1e
Delete exp3.html
prekshap24 May 19, 2019
e214228
Add files via upload
prekshap24 May 19, 2019
55412c0
Delete exp3.css
prekshap24 May 19, 2019
ec8c394
Delete exp3.html
prekshap24 May 19, 2019
24f22cb
Used the directory structure SRIP
prekshap24 May 19, 2019
fdb6a87
Merge branch 'master' of https://github.com/prekshap24/pattern-recogn…
prekshap24 May 19, 2019
c0c1a48
Initial display of the experiment when it opened for the first time
prekshap24 May 19, 2019
6b316c6
Delete javascript.js
prekshap24 May 19, 2019
97ddb0c
Initial display of the experiment when it opened for the first time
prekshap24 May 19, 2019
75d3242
Merge branch 'master' of https://github.com/prekshap24/pattern-recogn…
prekshap24 May 19, 2019
95e1bb1
Adding the code files with some modification from the previous result
prekshap24 May 20, 2019
49a5a89
Readme File
prekshap24 May 20, 2019
d45fa49
README File
prekshap24 May 20, 2019
0fb79a8
User input buttons added
prekshap24 May 21, 2019
90b7d74
User input buttons added
prekshap24 May 21, 2019
c4bba32
Functional Graphs added
prekshap24 May 21, 2019
4d6e076
User Input taken for both the classes
prekshap24 May 22, 2019
d031cba
User Input taken for both the classes
prekshap24 May 22, 2019
dbe49ef
Perceptron algorithm with one iteration
prekshap24 May 24, 2019
d157a8a
Perceptron algorithm with one iteration
prekshap24 May 24, 2019
7ca04e0
Some code corrections made
prekshap24 May 25, 2019
8597121
Some code corrections made
prekshap24 May 25, 2019
3015c2a
Some code corrections made
prekshap24 May 25, 2019
e4560ba
Some code corrections made
prekshap24 May 25, 2019
1ac8a70
Some code corrections made
prekshap24 May 25, 2019
17d9499
Some code corrections made
prekshap24 May 25, 2019
876dffc
Some code corrections made
prekshap24 May 25, 2019
9e82024
New input type
prekshap24 May 27, 2019
77a51d1
New input type
prekshap24 May 27, 2019
56edacd
New input type
prekshap24 May 27, 2019
323e87f
Perceptron algorithm completed
prekshap24 May 27, 2019
1fa944c
Perceptron algorithm completed
prekshap24 May 27, 2019
844c7a1
Perceptron algorithm completed
prekshap24 May 27, 2019
dc8c9b9
Perceptron algorithm completed
prekshap24 May 27, 2019
996eb49
Perceptron algorithm completed
prekshap24 May 27, 2019
5196a09
Perceptron algorithm completed
prekshap24 May 27, 2019
203ac53
Perceptron algorithm completed
prekshap24 May 27, 2019
90462b3
Perceptron algorithm completed
prekshap24 May 29, 2019
e1a4271
Perceptron algorithm completed
prekshap24 May 29, 2019
fb3a760
Perceptron algorithm completed
prekshap24 May 29, 2019
d2e4204
Perceptron algorithm completed with graph
prekshap24 May 29, 2019
b4a466f
Perceptron algorithm completed with graph
prekshap24 May 29, 2019
5178df8
Perceptron algorithm completed with graph
prekshap24 May 29, 2019
7595df2
Perceptron algorithm completed with graph
prekshap24 May 29, 2019
4191f0c
Perceptron algorithm completed with graph
prekshap24 May 29, 2019
b912bd6
Perceptron algorithm completed with graph
prekshap24 May 29, 2019
d6d1099
Documentation added
prekshap24 May 30, 2019
7743993
Some improvements
prekshap24 May 30, 2019
b00eaeb
Some improvements
prekshap24 May 30, 2019
922c110
Some improvements
prekshap24 May 30, 2019
7ab33e9
Some improvements
prekshap24 May 30, 2019
c0886c1
Some improvements
prekshap24 May 30, 2019
af55e86
Some improvements
prekshap24 May 30, 2019
0606208
Some improvements
prekshap24 May 30, 2019
acad518
Some improvements
prekshap24 May 30, 2019
54c5c54
Some improvements
prekshap24 May 30, 2019
b2e6ce1
Some improvements
prekshap24 May 30, 2019
b07a141
Some improvements
prekshap24 May 30, 2019
b051143
Some improvements
prekshap24 May 30, 2019
3f8d37e
Some improvements
prekshap24 May 30, 2019
2ecce28
Some improvements
prekshap24 May 30, 2019
a27c69f
Some improvements
prekshap24 May 30, 2019
7b9ee7e
Some improvements
prekshap24 May 30, 2019
31ef909
Some improvements
prekshap24 May 30, 2019
23840ba
Some improvements
prekshap24 May 30, 2019
120efe9
Test Cases added
prekshap24 May 31, 2019
3d19f94
Quiz added
prekshap24 Jun 1, 2019
92b3ea9
Quiz added
prekshap24 Jun 1, 2019
32686ef
Quiz added
prekshap24 Jun 1, 2019
3cce902
Quiz added
prekshap24 Jun 1, 2019
1ad74e8
Quiz added
prekshap24 Jun 1, 2019
697975c
Quiz added
prekshap24 Jun 1, 2019
6ddf2fa
Quiz added
prekshap24 Jun 3, 2019
9456c70
Quiz corrections made
prekshap24 Jun 3, 2019
ad0b0db
Quiz corrections made
prekshap24 Jun 3, 2019
39914d1
Quiz corrections made
prekshap24 Jun 3, 2019
61a0dc9
Quiz corrections made
prekshap24 Jun 3, 2019
585946d
project 2 added
prekshap24 Jun 12, 2019
3389d3e
project 2 added
prekshap24 Jun 12, 2019
3990ef3
project 2 added
prekshap24 Jun 12, 2019
193dacf
basic layout
prekshap24 Jun 12, 2019
5c9b358
basic layout
prekshap24 Jun 12, 2019
abc11bc
basic layout
prekshap24 Jun 13, 2019
83764da
basic layout 1
prekshap24 Jun 13, 2019
101c3fc
algorithm added
prekshap24 Jun 14, 2019
76f3303
algorithm added
prekshap24 Jun 14, 2019
4df9ea1
algorithm added
prekshap24 Jun 14, 2019
8dc8149
algorithm added
prekshap24 Jun 14, 2019
107ffb6
algorithm added
prekshap24 Jun 14, 2019
5126717
test cases added
prekshap24 Jun 15, 2019
f0b9b2c
quiz added
prekshap24 Jun 16, 2019
79e1e24
some corrections made
prekshap24 Jun 17, 2019
0e09f43
some corrections made
prekshap24 Jun 17, 2019
c1b7ca1
some corrections made
prekshap24 Jun 17, 2019
fb010ec
some corrections made
prekshap24 Jun 17, 2019
6d8f7bf
uniform distribution added
prekshap24 Jun 17, 2019
83fc67b
some edits made
prekshap24 Jun 17, 2019
7f71b1f
some corrections made
prekshap24 Jun 17, 2019
571ac4c
some corrections made
prekshap24 Jun 17, 2019
3570dc1
corrections made
prekshap24 Jun 18, 2019
43c4de4
initial commit
prekshap24 Jun 19, 2019
9bd6e1f
basic layout and working chart
prekshap24 Jun 19, 2019
c7986e3
basic layout and chart created
prekshap24 Jun 19, 2019
983464a
basic layout and chart created
prekshap24 Jun 19, 2019
cfae14e
some functions added
prekshap24 Jun 20, 2019
6a0cf8a
node js used
prekshap24 Jun 21, 2019
11b717d
node js used
prekshap24 Jun 21, 2019
242ab03
documentation corrected
prekshap24 Jun 22, 2019
7143cb7
documentation added
prekshap24 Jun 22, 2019
321e207
classification done for 2 points
prekshap24 Jun 23, 2019
c90db0f
classification done for 2 points
prekshap24 Jun 23, 2019
66e0073
classification done for 2 classes
prekshap24 Jun 23, 2019
e7c82eb
classification done for 2 classes
prekshap24 Jun 24, 2019
59bcb2d
quiz added
prekshap24 Jun 24, 2019
c5231ce
quiz added
prekshap24 Jun 24, 2019
6caa12c
quiz added
prekshap24 Jun 24, 2019
9524e84
quiz added
prekshap24 Jun 24, 2019
2c6bec8
4 classes added
prekshap24 Jun 25, 2019
d3c4c64
4 classes added
prekshap24 Jun 25, 2019
ae80690
4 classes added
prekshap24 Jun 25, 2019
3911284
4 datasets added
prekshap24 Jun 25, 2019
af4bf98
some modifications done
prekshap24 Jun 25, 2019
8a28f97
Test cases added
prekshap24 Jun 26, 2019
d59c0a4
Test cases added
prekshap24 Jun 26, 2019
d77284e
Test cases added
prekshap24 Jun 26, 2019
ec8d5b9
Some corrections made
prekshap24 Jun 26, 2019
aa299da
Some corrections made
prekshap24 Jun 26, 2019
1d6d2d4
Some corrections made
prekshap24 Jun 26, 2019
bb35cd7
Some corrections made
prekshap24 Jun 26, 2019
83c9ad8
Some corrections made
prekshap24 Jun 26, 2019
42bb863
Some corrections made
prekshap24 Jun 26, 2019
c69285f
Some corrections made
prekshap24 Jun 26, 2019
2309d9e
Some corrections made
prekshap24 Jun 26, 2019
804c886
Some corrections made
prekshap24 Jun 26, 2019
949dbc1
Some corrections made
prekshap24 Jun 26, 2019
1be9b12
Some corrections made
prekshap24 Jun 26, 2019
0eda2c3
Some corrections made
prekshap24 Jun 26, 2019
d50e5a5
Some corrections made
prekshap24 Jun 26, 2019
f37cb0c
Some corrections made
prekshap24 Jun 27, 2019
b716838
project 3 folder created
prekshap24 Jun 28, 2019
7b1066b
srip
prekshap24 Jun 28, 2019
2d95854
initial commit
prekshap24 Jul 11, 2019
6e6458b
initial ui commit
prekshap24 Jul 12, 2019
a424bdc
initial ui commit
prekshap24 Jul 12, 2019
e508c87
initial ui commit
prekshap24 Jul 12, 2019
e9158b0
quiz added
prekshap24 Jul 13, 2019
4de4751
code addition
prekshap24 Jul 13, 2019
d2a5c8d
code addition
prekshap24 Jul 13, 2019
fadcc74
code addition
prekshap24 Jul 13, 2019
3294ad3
code addition, testing remains
prekshap24 Jul 14, 2019
fc51ef1
code addition, testing remains
prekshap24 Jul 14, 2019
8968d81
code addition + testing
prekshap24 Jul 14, 2019
df191d1
code addition + testing
prekshap24 Jul 14, 2019
a12470e
code completed
prekshap24 Jul 15, 2019
bc94ccd
documentation added
prekshap24 Jul 15, 2019
ba8d905
documentation added
prekshap24 Jul 15, 2019
324d5fd
code modification
prekshap24 Jul 16, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
139 changes: 139 additions & 0 deletions Project-1 Issue Number 240/Codes/exp3.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
* {

box-sizing: border-box;

}


body {

margin: 0;

}


/*Graphs Layout */
.graph {

float: left;

width: 50%;

padding: 15px;

max-width: 800px;

margin: 50px auto;

}



.row:after {

content: "";

display: table;

clear: both;

}


@media screen and (max-width:600px) {

.graph {

width: 100%;

}

}


/* 1st row Input Output Layout */
.column-0 {

float: left;

padding: 10px;

}


.column-0.side {

width: 37.5%;

}


.column-0.right {

width: 25%;

}


@media screen and (max-width: 600px) {

.column-0.side, .column-0.right {

width: 100%;

}

}


.button{
margin:5px;
}


/* 2nd row Input Output Layout */
.column-1 {

float: left;

width: 37.5%;

padding: 15px;

}


.row:after {

content: "";

display: table;

clear: both;

}


@media screen and (max-width:600px) {

.column-1 {

width: 100%;

}

}


#input-data-from-user-class1{

visibility: hidden;

}


#input-data-from-user-class2{

visibility: hidden;

}
115 changes: 115 additions & 0 deletions Project-1 Issue Number 240/Codes/exp3.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<!DOCTYPE html>
<html lang="en">
<head>

<title>Pattern Recognition: Experiment 3- Perceptron</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0"></script>
<script src="https://www.chartjs.org/dist/2.8.0/Chart.js"></script>
<script src="https://www.chartjs.org/samples/latest/utils.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.6.0/Chart.js"></script>
<link rel="stylesheet" href="exp3.css">

</head>
<body>


<!-- Graphs Layout -->
<div class="row">
<div class="graph">
<canvas id="graph-1" width="1600" height="900"></canvas>
</div>

<div class="graph">
<canvas id="graph-2" width="1600" height="900"></canvas>
</div>
</div>


<!-- 1st row Input Output Layout -->
<div class="row">

<div class="column-0 right">
<h3>Learning Parameter</h3>
<select id="learning-parameter">
<option value="1">1</option>
<!--<option value="1/0.05">1/k</option>
<option value="1/0.05^2">1/k^2</option>
<option value="1/2^0.05">1/2^k</option>-->
<option value="0.05">k</option>
</select>
</div>


<div class="column-0 side">
<h3>Add Data</h3>
<div class="w3-container">
<button class="button" onclick="addClass1()">Add Class 1</button>
<button class="button" onclick="addClass2()">Add Class 2</button>
<button class="button" id="clear">Clear</button>
</div>
</div>

<div class="column-0 side">
<h3>Steps</h3>
<div class="w3-container">
<button class="button" id ="start" onclick="start()">Start</button>

<button class="button" id = "step" onclick="changeStatusStep()">Step</button>
<button class="button" id = "step-100" onclick="changeStatusStep100()">Step 100</button>
</div>
</div>

</div>


<!-- 2nd row Input Output Layout -->
<div class="row">
<div class="column-1">
<h3>Status</h3>
<div id="column-1"></div>
<div id="column-2"></div>
</div>

<div class="column-1">
<h3>Value of Weights</h3>
<p id="weights-return">[]</p>
</div>
</div>


<div class="row">
<div class= column-1 id="input-data-from-user-class1">
<p>
X Value- Class 1:
<input id="xValue1" type="number" step="any" placeholder="Enter X-Value class 1">
<button onclick="addDataPoints1x()">Add Data Point</button>
</p>
<p>
Y Value- Class 1:
<input id="yValue1" type="number" step="any" placeholder="Enter Y-Value class 1">
<button onclick="addDataPoints1y()">Add Data Point</button>
<!--<button id="add-Data-Point">Draw Graph</button>-->
</p>
</div>
<div class= column-1 id="input-data-from-user-class2">
<p>
X Value- Class 2:
<input id="xValue2" type="number" step="any" placeholder="Enter X-Value class 2">
<button onclick="addDataPoints2x()">Add DataPoint</button>
</p>
<p>
Y Value- Class 2:
<input id="yValue2" type="number" step="any" placeholder="Enter Y-Value class 2">
<button onclick="addDataPoints2y()">Add Data Point</button>
</p>
</div>
</div>


<!-- Script file -->
<script type="text/javascript" src="exp3.js"></script>

</body>
</html>
Loading