Commit Graph
786 Commits
Author SHA1 Message Date
Alex Brown ea2ddaaf6a all valid python 3 2018-10-20 14:45:08 -05:00
Alex Brown b566055e4b Merge branch 'master' of https://github.com/TheAlgorithms/Python 2018-10-20 14:15:21 -05:00
Alex Brown 5f90dfbbe7 fixed file reading name for test_tabu_search.py 2018-10-19 17:40:52 -05:00
Alex Brown b43864552b .txt instead of .py 2018-10-19 17:38:11 -05:00
Alex Brown 91fccecb56 snake_case all the things 2018-10-19 17:14:25 -05:00
Kiyoto Kai b63a1115b2 Added a new Algorithm to check if a number is prime or not. (#487)
* Added a new Algorithm to check if a number is prime or not.

Added a new Algorithm to check if a number is prime or not. It takes one + half the amount of iterations of the square root of the number. Returns Boolean value.

* Fixed possibility of being truncated

Changed the 1/2 with a 0.5

* Fixed Major Error

Instead of 3, 5, 7 The Loop as checking 2, 4, 6 which would cause all odd numbers to show prime. Fixed by subtracting one.

* Fixed Minor Formatting issues

Github Merged the 2 previous and current version to make a weird file.

* Fixed possibility of being truncated

Changed the 1/2 with a 0.5
2018-10-19 19:15:53 +02:00
Harshil 116ab0fa96 Merge branch 'master' of git://github.com/epicalyx/Python into epicalyx-master 2018-10-19 15:44:30 +02:00
Jonathan Gómez c0f7df7e22 Fixed error on chr function when decrypt (#359)
On line 23 when make the operations returns a float and chr function doesn't permit float values as parameters.
2018-10-19 15:42:19 +02:00
Robert Bergers 93de559ff6 Just emboldened text and standardized some formatting throughout the file. (#358)
modified:   README.md

	modified:   README.md

	modified:   README.md
2018-10-19 15:36:37 +02:00
Harshil b7ffcec7cd Merge branch 'clean-up' of git://github.com/RobbyB97/Python into RobbyB97-clean-up 2018-10-19 15:33:31 +02:00
Srikumar Sastry 94324e91b4 Create FractionalKnapsack.py (#438) 2018-10-19 15:21:40 +02:00
Harshil 81dc87aeb1 Merge branch 'master' of git://github.com/Himani2000/Python into Himani2000-master 2018-10-19 15:13:52 +02:00
Simon Landry 683474c64b Add Problem 31 solution 2018-10-19 14:53:34 +02:00
Alex Brown 564179a0ec increment 1 2018-10-19 07:48:28 -05:00
Alex Brown 718b99ae39 increment 1 2018-10-19 07:48:01 -05:00
Vasu Tomar 90979777c7 Added PSNR calculator for image compression quality analysis (#475)
* Added PSNR calculator for image compression quality analysis

* Removed unused variables and redundancy
2018-10-19 13:56:08 +02:00
Hussnain Fareed 315a357c1b fully connected neural net (#479)
Fully connected Neural Net using keras on Mnist
2018-10-19 13:29:26 +02:00
Phạm Ngọc Quang Nam af12df9fe8 Update image url (#484) 2018-10-19 13:22:11 +02:00
Parth Shandilya 5d1f72604d Improved Code and removed Warnings (#483) 2018-10-19 14:00:31 +05:30
Parth Shandilya 07451a6ca4 Improved Code and removed warnings (#482)
Improved Code and removed warnings
2018-10-19 13:28:21 +05:30
Parth Shandilya fedb3e70ab Merge pull request #477 from ParthS007/patch1
Fixes#476 : Remove Multiple Unused Imports and Variable
2018-10-18 05:36:46 +05:30
ParthS007 0856a61859 Remove Multiple Unused Imports and Variable 2018-10-18 02:58:57 +05:30
Harshil 765a3267fc Merge pull request #469 from Hyftar/project-euler-improvements
Fix problem 09 folder name
2018-10-17 15:09:59 +02:00
Simon Landry 250ddc23ea Fix problem 09 folder name 2018-10-16 19:50:45 -04:00
Taru 7105f6f648 minor changes
requested changes are addressed
2018-10-17 01:07:29 +05:30
Taru f018ddc4c0 requested changes addressed 2018-10-17 00:52:32 +05:30
Taru ade3ed3784 Logistic regression implementation
implementation of logistic regression for binary classification
2018-10-17 00:22:44 +05:30
Harshil 16aea149a2 Merge pull request #420 from prateekyo/master
Update bubble_sort.py
2018-10-16 20:49:34 +02:00
Harshil f9f5d402d3 Update bubble_sort.py
Added main method, Made it Python2 suitable, Enabled user input!
2018-10-16 20:39:22 +02:00
Harshil 4cff20bbce Merge pull request #465 from m-aditya/patch-1
Updated README.md to include Heap Sort
2018-10-16 20:18:38 +02:00
Aditya Menon fc45a6cf54 Updated README.md to include Heap Sort
Updated README.md to include description of Heap Sort
2018-10-16 09:29:17 +05:30
Harshil 7418ee7b4e Merge pull request #447 from rafagarciac/master
Improve and Refactor the fibonnaciSeries.py (Recursion)
2018-10-14 15:37:08 +02:00
Rafael García Cuéllar a811a0e849 Update FibonacciSequenceRecursion.py 2018-10-13 22:22:32 +02:00
rafagarciac 1a4962a589 Refactor gdc and rename two files GreaterCommonDivisor and FibonnaciSequenceRecursive 2018-10-13 22:17:57 +02:00
Harshil 5d81474d00 Merge pull request #455 from amitkp57/master
Update Maths/BasicMaths.py
2018-10-13 21:42:55 +02:00
Amit Pradhan 54697599f4 Update Maths/BasicMaths.py
Add main method to 'Maths/BasicMaths' module
2018-10-14 00:53:44 +05:30
Harshil 5f5ab48b8a Merge pull request #451 from aaronjohnson92/master
Added Descriptions in README.md for cipher and search algorithms.
2018-10-13 20:42:01 +02:00
Aaron Johnson dc4ae7d754 Added Descriptions for:
* ROT13
* RSA
* XOR
* Interpolation search
* Jump search
* QuickSelect Search
* Tabu Search
in README.md
2018-10-12 18:09:37 -07:00
Harshil acec2c23d1 Merge pull request #448 from vikaskyadav/patch-1
Update README.md
2018-10-12 18:54:27 +02:00
Harshil 4fc68bbb4c Update Reuters - OneVsRestClassifier.ipynb 2018-10-12 18:50:00 +02:00
Harshil 67a31e4b2f Reuters - OneVsRestClassifier (I'd also uploaded the same at: https://www.kaggle.com/harshildarji/reuters-onevsrestclassifier) 2018-10-12 18:46:45 +02:00
Vikas Kumar Yadav 3fef88a28f Update README.md 2018-10-12 12:13:38 +05:30
rafagarciac e03426b8fd Improve and Refactor the fibonnaciSeries.py (Recursion) 2018-10-12 00:41:57 +02:00
Harshil 9ba96c50a2 Merge pull request #446 from siddnlw/master
Use sup tag for power in README.md instead of ^
2018-10-11 17:29:17 +02:00
Shivansh Nalwaya 0f3ab05999 Use sup tag for power in README.md instead of ^ 2018-10-11 15:01:13 +05:30
Harshil 27ea8b89ca Merge pull request #436 from rafaelleru/master
Fixed typo in training method
2018-10-10 20:06:15 +02:00
Harshil b9a5c221aa Update perceptron.py 2018-10-10 20:05:59 +02:00
Himani Negi ee8c01179d Add files via upload 2018-10-09 01:51:14 +05:30
Harshil 7da22657c0 Merge pull request #431 from FannyVieira/master
Remove pyc file
2018-10-08 09:15:22 +02:00
Harshil c213e1553d Merge pull request #439 from timgiroux/master
fixed some spelling and added a different print message
2018-10-08 09:11:26 +02:00