Commit Graph

2821 Commits

Author SHA1 Message Date
Harshil
82291c21ad
Merge branch 'master' into master 2018-10-30 15:12:23 +01:00
Harshil
5492681630
Update client.py 2018-10-30 14:59:46 +01:00
Kushal Naidu
75d11f9034 Correctly check for squares of primes (#549)
As the for-loop was looping by two numbers, it would stop at 1 number less than the root of prime squares, resulting it in incorrectly classifying the squares as prime numbers. Incrementing the loop ensures the next number is also considered resulting in accurate classification.
2018-10-30 14:38:44 +01:00
TobiDueces
fa86d3d954 Add Jump Search image (#552)
* Add Jump Search image

* Update README.md
2018-10-29 18:23:24 +01:00
TobiDueces
cf31efb53f Update README.md (#553) 2018-10-29 18:12:00 +01:00
gerroo
fde422e217 base64
added b64
2018-10-28 13:36:51 -08:00
gerroo
261d721b22 name = main
added if  __name__ == '__main__'
2018-10-28 13:36:39 -08:00
gerroo
9ded2c3d22 Modified simple_client
Now it's more descriptive
2018-10-28 13:24:41 -08:00
gerroo
991abb2402 Added findMin 2018-10-28 13:23:29 -08:00
gerroo
dd8e2afae6 Added 3n+1 2018-10-28 13:23:19 -08:00
dheerajreddymumma
1305e74b8a New modified Python code for Prime check 2018-10-28 17:02:27 +05:30
dheerajreddymumma
2040757751 Optimized prime check code in Python. 2018-10-28 16:53:56 +05:30
Harshil
4e0184a41d
Update caesar_cipher.py
Removed unnecessary recursion and updated code!
2018-10-27 14:14:35 +02:00
Harshil
a84f7c073f Rename segment_tree to segment_tree.py 2018-10-27 13:38:23 +02:00
Harshil
e1d1f8513d
Delete binary_seach_tree.py
I forgot that we already have an implementation of Binary Search! So deleting this one!
2018-10-27 13:36:30 +02:00
Harshil
f0af8320f7 Merge branch 'master' of git://github.com/AbhishekVarshney98/Python 2018-10-27 13:30:30 +02:00
Harshil
c787c13a71 Resolve conflicts 2018-10-27 13:29:53 +02:00
Ishmeet-Singh-Saggu
ce0a013ad7 Update bubble_sort.py (#535) 2018-10-27 13:21:44 +02:00
Satyam-Bhalla
49fc9a1aed Random Forest Classification added 2018-10-27 08:12:16 +05:30
Satyam-Bhalla
349450b957 Random Forest Regression Added 2018-10-27 08:08:03 +05:30
Harshil
f0d5bc6ece Merge branch 'improved_sorting_algo' of git://github.com/YasirChoudhary/Python 2018-10-26 17:25:36 +02:00
cclauss
3bab59ae06 LGTM: Start testing on Python 3 instead of Python 2 (#510)
* LGTM: Start testing on Python 3 instead of Python 2

Fixes: #492

* LGTM: Run flake8 tests in before_index

* Update .lgtm.yml

* Indentation

* python3 -m

* Try on Python 3.7 instead of 3.6

* LGTM: Run flake8 tests on Python 3.6

* Check version of flake8

* python3 -m pip install --upgrade --user flake8

* requirements: flake8

* Update .lgtm.yml

* Ready for review

* Update .lgtm.yml

* Force a retest

* Rebuild
2018-10-24 21:38:51 +02:00
Harshil
3fa8f7bc2f
Update logistic_regression.py 2018-10-24 21:20:28 +02:00
Harshil
2638d57c71
Update caesar_cipher.py 2018-10-24 21:13:42 +02:00
phineas0fog
471b3110d6 Update README.md (#512)
removed merge beacons ;)
2018-10-24 20:18:50 +02:00
Harshil
c7de76deda Resovle conflicts 2018-10-24 20:12:10 +02:00
Harshil
ed11384116
Update sol2.py 2018-10-24 12:50:39 +02:00
AbhishekVarshney98
a50c6b4163
added sasslabel 2018-10-23 17:24:42 +05:30
Harshil
11480295d4 Merge branch 'NguyenU' of git://github.com/NguyenU/Python into NguyenU-NguyenU 2018-10-22 20:52:42 +02:00
Harshil
45a1ab213e
Update FindMax.py 2018-10-22 20:42:08 +02:00
Uyen
67d409b6be Find max function in python 2018-10-22 14:36:08 -04:00
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
Kshitij
04abc2841c
Update README.md 2018-10-20 15:29:21 +05:30
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