Skip to content

Commit

Permalink
Working R version of the original Octave code for Neural Net Language…
Browse files Browse the repository at this point in the history
… Model. Slow, not optimized.

Non-working R version of optimized Neural Net Language Model.
  • Loading branch information
caewok committed Jan 30, 2013
0 parents commit 2a91763
Show file tree
Hide file tree
Showing 26 changed files with 99,434 additions and 0 deletions.
Binary file added Datasets/dataset1.mat
Binary file not shown.
39 changes: 39 additions & 0 deletions Datasets/dataset1_ancient_octave.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Created by Octave 3.4.3, Tue Oct 09 10:54:27 2012 EDT <[email protected]>
# name: neg_examples_nobias
# type: matrix
# rows: 4
# columns: 2
-0.8085714285714286 0.8372093023255818
0.3571428571428572 0.8504983388704321
-0.7514285714285714 -0.7308970099667773
-0.2999999999999999 0.1262458471760799


# name: pos_examples_nobias
# type: matrix
# rows: 4
# columns: 2
0.8714285714285714 0.6245847176079737
-0.01999999999999991 -0.9235880398671097
0.362857142857143 -0.3189368770764118
0.8885714285714283 -0.8704318936877078


# name: w_gen_feas
# type: matrix
# rows: 3
# columns: 1
4.349652602017646
-2.609972353001155
-0.6941474928102369


# name: w_init
# type: matrix
# rows: 3
# columns: 1
-0.6217014737809046
0.7609152728514132
0.7718720489184812


Binary file added Datasets/dataset2.mat
Binary file not shown.
38 changes: 38 additions & 0 deletions Datasets/dataset2_ancient_octave.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Created by Octave 3.4.3, Tue Oct 09 10:55:17 2012 EDT <[email protected]>
# name: neg_examples_nobias
# type: matrix
# rows: 5
# columns: 2
-0.8085714285714286 0.8372093023255818
0.3571428571428572 0.8504983388704321
-0.7514285714285714 -0.7308970099667773
-0.2999999999999999 0.1262458471760799
0.6428571428571428 -0.5448504983388702


# name: pos_examples_nobias
# type: matrix
# rows: 5
# columns: 2
0.8714285714285714 0.6245847176079737
-0.01999999999999991 -0.9235880398671097
0.362857142857143 -0.3189368770764118
0.8885714285714283 -0.8704318936877078
-0.5285714285714286 0.5116279069767444


# name: w_gen_feas
# type: matrix
# rows: 0
# columns: 0


# name: w_init
# type: matrix
# rows: 3
# columns: 1
1.846898867105877
-0.5832492921428249
-0.5417888259410228


Binary file added Datasets/dataset3.mat
Binary file not shown.
45 changes: 45 additions & 0 deletions Datasets/dataset3_ancient_octave.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Created by Octave 3.4.3, Tue Oct 09 10:55:23 2012 EDT <[email protected]>
# name: neg_examples_nobias
# type: matrix
# rows: 7
# columns: 2
-0.7914285714285715 0.07973421926910329
-0.5571428571428571 0.4119601328903657
-0.2257142857142856 0.6976744186046515
0.1628571428571428 0.8305647840531565
0.46 0.6578073089701
0.734285714285714 0.3388704318936879
0.8257142857142856 -0.01328903654485036


# name: pos_examples_nobias
# type: matrix
# rows: 7
# columns: 2
-0.7628571428571429 -0.1926910299003322
-0.6028571428571429 -0.485049833887043
-0.3857142857142858 -0.6976744186046511
-0.1914285714285714 -0.3588039867109634
0.2828571428571429 -0.4318936877076411
0.4085714285714284 -0.6976744186046511
0.7514285714285713 -0.2325581395348835


# name: w_gen_feas
# type: matrix
# rows: 3
# columns: 1
-0.6727286447504772
-11.4892171706386
-0.8941109530297788


# name: w_init
# type: matrix
# rows: 3
# columns: 1
0.9036803371988847
-0.4908754917186831
0.9485529482883966


Binary file added Datasets/dataset4.mat
Binary file not shown.
45 changes: 45 additions & 0 deletions Datasets/dataset4_ancient_octave.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Created by Octave 3.4.3, Tue Oct 09 10:55:54 2012 EDT <[email protected]>
# name: neg_examples_nobias
# type: matrix
# rows: 9
# columns: 2
-0.8657142857142858 -0.3920265780730896
-0.7857142857142857 -0.1727574750830563
-0.5571428571428571 0.2458471760797345
-0.2885714285714286 0.524916943521595
-0.1285714285714287 0.524916943521595
0.08285714285714274 0.3322259136212626
0.1800000000000002 0.1063122923588042
0.2542857142857144 -0.166112956810631
0.3285714285714287 -0.3521594684385381


# name: pos_examples_nobias
# type: matrix
# rows: 8
# columns: 2
-0.08857142857142863 0.2325581395348839
0.008571428571428452 -0.06644518272425226
0.1285714285714286 -0.3255813953488371
0.2885714285714287 -0.5249169435215946
0.597142857142857 -0.4651162790697674
0.7171428571428571 -0.1461794019933553
0.8599999999999999 0.1594684385382061
0.9457142857142857 0.4451827242524919


# name: w_gen_feas
# type: matrix
# rows: 0
# columns: 0


# name: w_init
# type: matrix
# rows: 3
# columns: 1
-0.03182596423633538
-0.2551127277965609
-0.007102522003047257


Loading

0 comments on commit 2a91763

Please sign in to comment.