add python cod

This commit is contained in:
yangjifei
2017-03-08 18:40:42 +08:00
parent c1fa2ee4e4
commit 12b89402ee
14 changed files with 2 additions and 344 deletions

90
.gitignore vendored
View File

@@ -1,90 +0,0 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# IPython Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# dotenv
.env
# virtualenv
venv/
ENV/
# Spyder project settings
.spyderproject
# Rope project settings
.ropeproject
.vscode

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/python" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TestRunnerService">
<option name="PROJECT_TEST_RUNNER" value="Unittests" />
</component>
</module>

4
.idea/misc.xml generated
View File

@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 2.7.9 (C:\Python27\python.exe)" project-jdk-type="Python SDK" />
</project>

8
.idea/modules.xml generated
View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/MachineLearning.iml" filepath="$PROJECT_DIR$/.idea/MachineLearning.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml generated
View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@@ -1,28 +0,0 @@
#!/usr/bin/env python
# encoding: utf-8
"""
@version:
@author: yangjf
@license: ApacheCN
@contact: highfei2011@126.com
@site: https://github.com/apachecn/MachineLearning
@software: PyCharm
@file: __init__.py.py
@time: 2017/3/4 21:34
@test result:pass
"""
def func():
pass
class Main():
def __init__(self):
pass
if __name__ == '__main__':
pass

View File

@@ -1,28 +0,0 @@
#!/usr/bin/env python
# encoding: utf-8
"""
@version:
@author: yangjf
@license: ApacheCN
@contact: highfei2011@126.com
@site: https://github.com/apachecn/MachineLearning
@software: PyCharm
@file: __init__.py.py
@time: 2017/3/4 21:34
@test result:pass
"""
def func():
pass
class Main():
def __init__(self):
pass
if __name__ == '__main__':
pass

View File

@@ -1,28 +0,0 @@
#!/usr/bin/env python
# encoding: utf-8
"""
@version:
@author: yangjf
@license: ApacheCN
@contact: highfei2011@126.com
@site: https://github.com/apachecn/MachineLearning
@software: PyCharm
@file: __init__.py.py
@time: 2017/3/4 21:28
@test result:pass
"""
def func():
pass
class Main():
def __init__(self):
pass
if __name__ == '__main__':
pass

View File

@@ -1,28 +0,0 @@
#!/usr/bin/env python
# encoding: utf-8
"""
@version:
@author: yangjf
@license: ApacheCN
@contact: highfei2011@126.com
@site: https://github.com/apachecn/MachineLearning
@software: PyCharm
@file: __init__.py.py
@time: 2017/3/4 21:28
@test result:pass
"""
def func():
pass
class Main():
def __init__(self):
pass
if __name__ == '__main__':
pass

View File

@@ -1,28 +0,0 @@
#!/usr/bin/env python
# encoding: utf-8
"""
@version:
@author: yangjf
@license: ApacheCN
@contact: highfei2011@126.com
@site: https://github.com/apachecn/MachineLearning
@software: PyCharm
@file: __init__.py.py
@time: 2017/3/4 21:28
@test result:pass
"""
def func():
pass
class Main():
def __init__(self):
pass
if __name__ == '__main__':
pass

View File

@@ -1,28 +0,0 @@
#!/usr/bin/env python
# encoding: utf-8
"""
@version:
@author: yangjf
@license: ApacheCN
@contact: highfei2011@126.com
@site: https://github.com/apachecn/MachineLearning
@software: PyCharm
@file: __init__.py.py
@time: 2017/3/4 21:28
@test result:pass
"""
def func():
pass
class Main():
def __init__(self):
pass
if __name__ == '__main__':
pass

View File

@@ -6,6 +6,8 @@ sys.path.append("C:\Python27")
from numpy import *
import matplotlib.pyplot as plt
from logRegression import *

View File

@@ -1,27 +0,0 @@
#!/usr/bin/env python
# encoding: utf-8
"""
@version:
@author: yangjf
@license: ApacheCN
@contact: highfei2011@126.com
@site: https://github.com/apachecn/MachineLearning
@software: PyCharm
@file: __init__.py.py
@time: 2017/3/4 21:27
@test result:pass
"""
def func():
pass
class Main():
def __init__(self):
pass
if __name__ == '__main__':
pass

View File

@@ -1,28 +0,0 @@
#!/usr/bin/env python
# encoding: utf-8
"""
@version:
@author: yangjf
@license: ApacheCN
@contact: highfei2011@126.com
@site: https://github.com/apachecn/MachineLearning
@software: PyCharm
@file: __init__.py.py
@time: 2017/3/4 21:34
@test result:pass
"""
def func():
pass
class Main():
def __init__(self):
pass
if __name__ == '__main__':
pass