Deploying Machine Learning has never been so easy
Deploying Machine Learning has never been soeasy Quickly get your sklearn code up and running in the cloud with Google App Engine:rocket: For data science practitioners, going from a Proof Of Concept...
View ArticlePyBites: PyBites Twitter Digest - Issue 26, 2018
PyPI has a Twitter Account! Follow them! Welcome to the home of https://t.co/Dp6LQFTOTZ on twitter! You can follow here for announcements about the package… https://t.co/RJmWNKHQey ― python Package...
View ArticleAutomating a simple static website: Awesome-Blogdown.com
I started the awesome blogdown list not long after I first heard about the blogdown package for R . I wanted a quick and easy way to showcase websites built with it, so I started a simple “ awesome ”...
View ArticleUn-broadcasting Numpy arrays
In a large code base, I am using np.broadcast_to to broadcast arrays (just using simple examples here): In [1]: x = np.array([1,2,3]) In [2]: y = np.broadcast_to(x, (2,1,3)) In [3]: y.shape Out[3]:...
View ArticleCross Correlation Analysis: Analysing Currency Pairs in Python
When working with a time series, one important thing we wish to determine is whether one series “causes” changes in another. In other words, is there a strong correlation between a time series and...
View Articlematplotlib: Generating line and pie charts in Python
Let’s take a look at how we can generate plots in python. matplotlib is a particularly powerful library that we can use to generate visualisations. Let’s see how this works using a couple of examples....
View ArticleGetting a Unix file type with Python OS module
I would like to get the unix file type of a file specified by path (find out whether it is a regular file, a named pipe, a block device, ...) I found in the docs os.stat(path).st_type but in python...
View Article11 Classical Time Series Forecasting Methods in Python (Cheat Sheet)
Machine learning methods can be used for classification and forecasting on time series problems. Before exploring machine learning methods for time series, it is a good idea to ensure you have...
View ArticleUnderstanding Data Science Classification Metrics in Scikit-Learn in Python
In this tutorial, we will walk through a few of the classifications metrics in python’s scikit-learn and write our own functions from scratch to understand the math behind a few of them. One major area...
View ArticleContinuous Integration with `make` for AWS Lambda using Python
Goal When deploying python code to AWS Lambda, you are required to zip all your code into a single zip file, and add all your package dependencies (python libraries that you usually pip install into...
View ArticleExamples of Browser Automations using Selenium in Python
Browser Automation is one of the coolest things to do especially when there is a major purpose to it. Through this post, I intend to host a set of examples on browser automation using selenium in...
View ArticleBill Ward / AdminTome: Python Set: Tutorial for Python Beginners
In this post I will go over what a python set is and how to use them in your Python programs. With sets we can manage data just like math sets. Python sets let us work with sets of values much like we...
View Article少说话多写代码之Python学习003――创建第一个工程
我们安装了一个用于python开发的IDE后,比如本次我们安装的是PyCharm。那么可以试试创建一个工程文件了。 启动PyCharm后,自动会提示create New project,然后选择Python project后,设置好这个工程的目录。这样一个工程文件就创建好了,其实很简单的,如下图。 此时,创建了一个工程文件,不过此时还没有结束,需要配置下Python解释器。看图,...
View ArticleCodementor: Essential Tips and Tricks for Starting Machine Learning withPython
“I am a student of computer science/engineering. How do I get into the field of machine learning/deep learning/AI?” It’s never been easier to get started with machine learning. In addition to...
View ArticleProblem of configuration of construction for my project django, no...
I installed zc.buildout using easy_install . I used the tutorial at http://jacobian.org/writing/django-apps-with-buildout/ . My problem is, am not able to install the versions specified in the...
View ArticleStatsModels: the first nail in R’s coffin
In 2012, when I decided to write a book on evidence-based software engineering , R was the obvious system to use for data analysis. At the time, lots of new books had “using R” or “with R” added at...
View ArticlePyCharm 2018.2 EAP1 发布,改进 Pytest 支持
PyCharm 2018.2首个早期预览版已发布,可 点此下载 。 New in PyCharm 改进 Pytest支持:Fixtures(测试夹具),以及更多 PyCharm 2018.2 支持在 Pytest 中使用测试夹具。使用测试夹具可以将setup 代码与实际测试分开,从而获得更简洁、更易读的测试。此外,还改进了代码导航并重构Pytest 测试,并使用参数化测试。 此外,还包括:...
View Articleflask+seq2seq实现聊天机器人在线群聊
徐静 硕士研究生、算法工程师 兴趣方向:统计机器学习,深度学习,模型的线上化部署、网络爬虫,前端可视化。 个人博客: https://dataxujing.github.io/ 在大多数标准中,Flask都算是小型框架,小到可以称为“微框架”,所以你一旦熟悉使用它,很可能就能读懂他所有的源码,本项目是自己线下玩的项目,因此采用了Flask这种小而功能比较全的框架。...
View ArticleFix Python 3.7 pycodestyle extraneous whitespace regex FutureWarning
From the python 3.7 beta through today and including pycodestyle 2.4.0 any invocation of pycodestyle results in: ~/miniconda3/lib/python3.7/site-packages/pycodestyle.py:113: FutureWarning: Possible...
View Article用Python绕过“登录3次错误,等待一分钟”的限制
PS:本文仅作技术分享,禁止用于非法用途 *本文原创作者:yearnwang,本文属CodeSec原创奖励计划,未经许可禁止转载...
View Article