Commit Graph

282 Commits

Author SHA1 Message Date
Nathan Berger
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
Nathan Berger
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
Anup Kumar Panwar
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
b1o0d4x3
d33044eb05 Delete P02_DepthFirstSearch.py 2017-10-06 15:25:25 +05:30
b1o0d4x3
2a916b010b Delete P01_BreadthFirstSearch.py 2017-10-06 15:24:56 +05:30
Anup Kumar Panwar
aa8485b4df Delete .travis.yml 2017-09-29 11:28:07 +05:30
Anup Kumar Panwar
8bae14ba1c Update .travis.yml 2017-09-29 11:22:32 +05:30
Chetan Kaushik
d3f3a88678 Merge pull request #120 from dhavdc/master
Merged Graphs into data_structure/graph
2017-09-28 22:12:01 +05:30
Daniel K
42c5863f4e Merged Graphs 2017-09-28 10:40:22 -04:00
Anup Kumar Panwar
a38e684a73 Merge pull request #115 from RiptideBo/stephen_branch
add neuralnetwork_bp3.py
2017-09-22 11:49:31 +05:30
Anup Kumar Panwar
e1e897be32 Merge pull request #114 from RiptideBo/master
master
2017-09-22 11:46:59 +05:30
Stephen Lee
0e0e75db19 improve 2017-09-22 11:25:26 +08:00
Stephen Lee
53b6fe15c9 improve 2017-09-22 10:30:19 +08:00
Stephen Lee
e1befed976 add bp neural network with 3 layers 2017-09-21 13:17:36 +08:00
Javon Davis
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
Chetan Kaushik
fb1b87cefe Merge pull request #107 from mk9440/master
Maximum_subaray_problem
2017-09-10 13:48:59 +05:30
Avkaran singh
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
Chetan Kaushik
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
Chetan Kaushik
616faacef6 Merge pull request #106 from frmatias/master
Neural Network - Perceptron
2017-09-04 20:44:43 +05:30
RGauthamRam
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
Anup Kumar Panwar
f5fc930c1b Merge pull request #108 from frmatias/master
Perceptron - one neuron
2017-09-03 13:04:51 +05:30
Anup Kumar Panwar
ccdd530c10 Merge pull request #103 from 6180/playfair-cipher
Playfair cipher
2017-09-03 13:04:33 +05:30
Chetan Kaushik
8af6d2e3eb Merge pull request #104 from sthkindacrazy/master
scoring functions added
2017-09-02 00:12:29 +05:30
Mayank Kumar Jha
aae156252f Update longest common subsequence.py 2017-08-30 23:03:48 +05:30
Francisco Matias
a51be755d4 Perceptron - one neuron 2017-08-29 13:43:42 -03:00
Mayank Kumar Jha
0e857d8905 Add files via upload 2017-08-29 19:45:15 +05:30
Francisco Matias
6ee6f1236f Merge branch 'master' into master 2017-08-28 14:32:54 -03:00
Francisco Matias
1bc3a17d5e Improve 2017-08-28 14:30:11 -03:00
Francisco Matias
4481f28484 -- 2017-08-28 10:25:52 -03:00
Francisco Matias
419b7bba0d Perceptron - Neural Network 2017-08-27 08:20:28 -03:00
Francisco Matias
017b50f76a Perceptron - Neural Network 2017-08-27 02:17:10 -03:00
Anup Kumar Panwar
75ccf5b77e Empty File 2017-08-22 18:08:11 +05:30
sthkindacrazy
5b03d56cd6 scoring functions added 2017-08-19 14:23:00 +09:00
eevee
73461baeb0 Playfair cipher 2017-08-18 22:41:46 -04:00
Praveen
89d48b50b5 Merge pull request #100 from Anshuman-Verma/md-fix
Corrected Markdown
2017-08-14 00:42:19 +05:30
Praveen
73836e33b0 Merge pull request #101 from chrisjim316/master
Correct markdown (ShellSort)
2017-08-14 00:41:56 +05:30
Chris Jim
cc6814bd1c Correct markdown (ShellSort) 2017-08-10 22:20:28 +08:00
Praveen
f954b37c97 Merge pull request #92 from yashLadha/master
Added Linear regression
2017-08-09 09:13:39 +05:30
Anshuman
5e3f111c83 Corrected Markdown 2017-08-08 13:58:09 +05:30
Praveen
efb77ad7c1 Merge pull request #98 from moun3imy/patch-1
Update Breadth_First_Search.py
2017-08-08 13:36:58 +05:30
Praveen
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
Praveen
ab42e3ad76 Merge pull request #99 from mandy8055/master
Added one of the most important machine learning algorithm
2017-08-08 13:33:37 +05:30
mandy8055
0d01a4a0aa Added one of the most important machine learning algorithm
The k-means clustering is done by using tensorflow which is the vital and growing machine learning library of google.
2017-07-30 00:42:32 +05:30
mounaim
9dcd981a57 Update Breadth_First_Search.py
Fixed the fact that all nodes except source are marked as visited twice
2017-07-25 16:08:54 +01:00
Omkar Pathak
ef01688b94 Added Bucket Sort implementation 2017-07-20 07:02:49 +05:30
Omkar Pathak
e8a36b12ce Added Bucket Sort implementation 2017-07-20 06:59:42 +05:30
Omkar Pathak
0f2edefc2f Python Graph implementation 2017-07-20 06:51:04 +05:30
AnupKumarPanwar
37705510e5 DFS & BFS in graph 2017-07-18 16:17:48 +05:30
Omkar Pathak
2af624ff01 Checking balanced parantheses using Stack 2017-07-16 11:26:11 +05:30
Omkar Pathak
ce3e91a420 Infix to Postfix conversion using Stack 2017-07-16 11:25:50 +05:30