291 Commits

Author SHA1 Message Date
5d83eb7e56 Add Dijkstra's Algorithm 2017-10-13 11:30:26 +05:30
f9156cfb71 Merge pull request #152 from nbrgr/DecisionTree
Implementation of a regression tree in python
2017-10-10 23:06:14 +05:30
59fc956456 Merge pull request #153 from fickleEfrit/patch-1
Create quick_select.py
2017-10-10 23:05:55 +05:30
48dc64fbff Merge pull request #154 from alveeno/master
Fixed compilation errors, fixes for readability/convention, changed d…
2017-10-10 23:05:40 +05:30
a3b72c5fd3 Merge pull request #155 from TaylorL19/master
Fixed binary search to correctly recurse to left half and right half
2017-10-10 23:05:25 +05:30
8f71b30995 Fixed binary search to correctly recurse to left half and right half 2017-10-10 11:57:16 -05:00
ab058ab0b5 changed rigt->right, a typo fix. 2017-10-09 17:05:14 -07:00
dc5e86b701 Fixed compilation errors, fixes for readability/convention, changed double equals to boolean equality operator 'is' 2017-10-09 17:00:37 -07:00
cb3ff4a8f8 Create quick_select.py 2017-10-09 17:26:27 -04:00
37967bd0cf Fixed case where function didn't return where it should
I added these return statements so that invalid inputs or valid end cases would no longer continue running through the rest of the function.
2017-10-09 12:42:51 -05:00
8fb1eb7bdf Implementation of a regression tree in python
I've implemented a basic decision tree in python as an example of how they work. Although the class I've created only works on one dimensional data sets, the reader should be able to generalize it to higher dimensions should they need to.
2017-10-09 12:36:33 -05:00
3ecb193ae6 Merge pull request #148 from b1o0d4x3/master
There were 2 codes for BFS and DFS in data-structure/Graph.
2017-10-07 09:46:38 +05:30
d33044eb05 Delete P02_DepthFirstSearch.py 2017-10-06 15:25:25 +05:30
2a916b010b Delete P01_BreadthFirstSearch.py 2017-10-06 15:24:56 +05:30
aa8485b4df Delete .travis.yml 2017-09-29 11:28:07 +05:30
8bae14ba1c Update .travis.yml 2017-09-29 11:22:32 +05:30
d3f3a88678 Merge pull request #120 from dhavdc/master
Merged Graphs into data_structure/graph
2017-09-28 22:12:01 +05:30
42c5863f4e Merged Graphs 2017-09-28 10:40:22 -04:00
a38e684a73 Merge pull request #115 from RiptideBo/stephen_branch
add neuralnetwork_bp3.py
2017-09-22 11:49:31 +05:30
e1e897be32 Merge pull request #114 from RiptideBo/master
master
2017-09-22 11:46:59 +05:30
0e0e75db19 improve 2017-09-22 11:25:26 +08:00
53b6fe15c9 improve 2017-09-22 10:30:19 +08:00
e1befed976 add bp neural network with 3 layers 2017-09-21 13:17:36 +08:00
1bed547226 Trie implementation (#111)
* Started Trie implementation.

* Basic definition of Trie in comments at the top of the file
* Defined Trie class and method signatures.

* * Renamed method signatures to match formal definitions

* Finished Simple Trie implementation and added test functions
* Finished function to insert a word into Trie
* Finished function to find a word in the Trie
* Added Test functions with Assertions

* Updated test function to read from the Dictionary.txt file in repository

* * No longer using $ to mark end of word
* No longer reading from file but instead provided simple sample input for easier testing

* Deleting empty __init__.py file
2017-09-10 23:40:33 +05:30
fb1b87cefe Merge pull request #107 from mk9440/master
Maximum_subaray_problem
2017-09-10 13:48:59 +05:30
75007332e4 Create singly_LinkedList.py (#110)
* Create singly_LinkedList.py

* Update singly_LinkedList.py

* Update singly_LinkedList.py

* Update singly_LinkedList.py

* Update singly_LinkedList.py

* Update singly_LinkedList.py
2017-09-10 00:33:31 +05:30
e4ef5d41cd Merge pull request #109 from RGauthamRam/patch-1
Added front to indicate the starting of the Queue
2017-09-05 15:15:21 +05:30
616faacef6 Merge pull request #106 from frmatias/master
Neural Network - Perceptron
2017-09-04 20:44:43 +05:30
7e26755140 Added front to indicate the starting of the Queue
Front variable is added so that dequeue can be done any number of times.Without front,it displays only self.entries[0] as dequeued.
2017-09-03 22:33:24 +05:30
f5fc930c1b Merge pull request #108 from frmatias/master
Perceptron - one neuron
2017-09-03 13:04:51 +05:30
ccdd530c10 Merge pull request #103 from 6180/playfair-cipher
Playfair cipher
2017-09-03 13:04:33 +05:30
8af6d2e3eb Merge pull request #104 from sthkindacrazy/master
scoring functions added
2017-09-02 00:12:29 +05:30
aae156252f Update longest common subsequence.py 2017-08-30 23:03:48 +05:30
a51be755d4 Perceptron - one neuron 2017-08-29 13:43:42 -03:00
0e857d8905 Add files via upload 2017-08-29 19:45:15 +05:30
6ee6f1236f Merge branch 'master' into master 2017-08-28 14:32:54 -03:00
1bc3a17d5e Improve 2017-08-28 14:30:11 -03:00
4481f28484 -- 2017-08-28 10:25:52 -03:00
419b7bba0d Perceptron - Neural Network 2017-08-27 08:20:28 -03:00
017b50f76a Perceptron - Neural Network 2017-08-27 02:17:10 -03:00
75ccf5b77e Empty File 2017-08-22 18:08:11 +05:30
5b03d56cd6 scoring functions added 2017-08-19 14:23:00 +09:00
73461baeb0 Playfair cipher 2017-08-18 22:41:46 -04:00
89d48b50b5 Merge pull request #100 from Anshuman-Verma/md-fix
Corrected Markdown
2017-08-14 00:42:19 +05:30
73836e33b0 Merge pull request #101 from chrisjim316/master
Correct markdown (ShellSort)
2017-08-14 00:41:56 +05:30
cc6814bd1c Correct markdown (ShellSort) 2017-08-10 22:20:28 +08:00
f954b37c97 Merge pull request #92 from yashLadha/master
Added Linear regression
2017-08-09 09:13:39 +05:30
5e3f111c83 Corrected Markdown 2017-08-08 13:58:09 +05:30
efb77ad7c1 Merge pull request #98 from moun3imy/patch-1
Update Breadth_First_Search.py
2017-08-08 13:36:58 +05:30
43b53f7751 Merge pull request #97 from OmkarPathak/added_programs
Added Stack implementation and some traditional Stack problems
2017-08-08 13:36:22 +05:30