Pull to refresh
306.27
Rating

Python *

Interpreted high-level programming language for general-purpose programming

Show first
Rating limit

Machine Learning CPython library 'VKF'

MySQL *Python *Machine learning *
Previous article describes a web server for Machine Learning system 'VKF' based on Lattice Theory. This paper is an attempt to explain details of using the CPython library directly. We reproduce working sessions of experiments on datasets 'Mushroom' and 'Wine Quality' from UCI Machine Learning repository. The structures of input files are discussed too.


Read more →
Rating 0
Views 1.1K
Comments 0

How to find an English teacher. Part 2

Python *Programming *Data visualization *Machine learning *Natural Language Processing *
image

This is a continuation of story about using Data Science for finding an English teacher. If you have not read it yet - there is an opportunity to become familiar with it

Briefly  -  we had information about language teachers and tried to apply some basic ideas using pandas and our expectations. Unfortunately we got stuck on the third step, because there is not enough information for resolving our the last requirements  -  we need not more 3 candidates at the end.

Disclaimer
It is an approach based on my own experience and can be unsuitable to your point of view, ideas, or principles.
Rating 0
Views 700
Comments 0

Web server for Machine Learning 'VKF-solver'

MySQL *Python *Machine learning *
Nowadays most people identify Machine Learning with training of various kinds of neural networks. At the beginning there were fully connected networks, then convolutional and recurrent networks replace them, now there exist a quite exotic variants of networks such that GAN and LTSM networks.

Their training requires constantly increasing volume of samples, and they also do not be able to explain why a particular decision was made. Structural approaches to Machine Learning avoiding these drawbacks exist, the software implementation of one of which is described in the article. This is an English translation of original post by the author.


Read more →
Total votes 1: ↑1 and ↓0 +1
Views 1.4K
Comments 0

How to find an English teacher. Part 1

Python *Programming *Data Mining *Data visualization *Natural Language Processing *


In the modern world, here and there ideas are arising about using data science for an extra benefit. For instance, Google can use a history of watched videos for providing recommendations about new ones. Online shops are using a recommendation system for increasing your receipt. However… if companies use the data for their benefit, could we do the same for own needs such as looking an online English teacher?


Disclaimer

It is an approach based on my own experience and can be unsuitable to your point of view, ideas, or principles.

Total votes 2: ↑1 and ↓1 0
Views 1.3K
Comments 0

Approach to calculating individual risk in COVID-19

Python *Data Mining *C *

In February 2020, when the disease came to Europe, it became apparent to me that our timid hopes that the epidemics would subside and be finally buried in the China's soil were ruined. It was already evident from the Chinese statistics that the virus is lethal enough to scare and mild enough to pass unnoticed in many cases and, thus, to guarantee its effective dissemination. The question was when it reaches each next country.




Another question was the individual risks, especially the risk of lethal outcome if one contracts the virus. The average figure of around 5% was circulated by late January and early February. It was known that males were more susceptible to fatal outcomes. By February, it was also evident that the virus doesn't lead to death only in the elderly — the middle age was significantly affected, as well.

Read more →
Rating 0
Views 988
Comments 0

Is Python The Answer To High-End Mobile Apps?

Python *Development of mobile applications *
Recovery mode
image

Before the development of any software or a mobile app, the first thing that comes in mind is- which programming language is the best for this app. Yes! It is really important to choose the best programming language for particular mobile app development.

So, among various programming languages, let’s throw light on the significance of Python in Mobile app development or it could also be said that why Python is the best language for mobile app development?

Before that, let’s have a look at the stat where according to statista.com, Python remains the most popular programming language in 2020, according to GitHub and Google Trends, surpassing longstanding Java and JavaScript in popularity.

Python was also the biggest gainer in the Tiobe index of the popularity of programming languages in the year 2018, rising by 3.62% points from January 2018 to January 2019, with a rating of approx. 8.2% for this month.
Read more →
Total votes 1: ↑1 and ↓0 +1
Views 2.3K
Comments 1

Waking up of the sleeping institution: how we taking off training-wheels from Python in REAPER

Open source *Python *
Translation

Image for taking attention


About a week I wonder around the idea of this article, mainly, because of missing the content here and tidiness of the coronavirus-themes. But, when robotic-harvester, hacking zip with bitcoins and other cool articles released — I decided not to publish crude material.


However, unexpectedly today the maintainer of this review hero showed up from the lockdown and, several hours ago reapy v0.6.0 has been published on PyPi. Under the cut — the last change log, which contains (to my pleasure) no line where I have not been involved one way, or another.


Finally: why reapy is needed and how Python works inside REAPER.

Read more →
Total votes 2: ↑1 and ↓1 0
Views 769
Comments 0

Developing and deploying Python for secured environments with Kushal Das

Конференции Олега Бунина (Онтико) corporate blog Information Security *Python *Programming *Conferences
Here is the translated Russian version of this interview.

The company of speakers at Moscow Python Conf++ 2020 is great, and it's not a good luck but thorough Program Committee's work. But who cares about achievements, it's much more interesting what the speaker thinks about our own questions. Conferences suits good to find it out, get insider information or advice from an experienced developer. But I got an advantage of being in Program Committee so I already asked our speaker Kushal Das some questions.

A unique feature of Kushal's speeches is that he often unveils «secret» ways to break Python code and then shows how to write code so that the NSA can't hack it. At our conference Kushal will tell you how to safely develop and deploy Python code. Of course I asked him about security.

Read more →
Total votes 4: ↑4 and ↓0 +4
Views 1.2K
Comments 0

Python-Celery in Windows with Docker managing

Website development *Python *Django *
Tutorial
To 'adequately' debug Celery under Windows, there are several ways such as:

> celery worker --app=demo_app.core --pool=solo --loglevel=INFO

But in fact for normal development, you need a Unix system. If you do not have the opportunity to use it as a native, then it is worth considering...) Well, to be honest, there is always a way out and this is Docker and WSL. If you use such “cool” IDEs like PyCharm, then everything becomes more complicated, because using the WSL interpreter, installing the package with pip, you will have to manually update the project skeleton due to indexing problems.
Read more →
Total votes 5: ↑4 and ↓1 +3
Views 3.6K
Comments 0

Tips and tricks from my Telegram-channel @pythonetc, January 2020

VK corporate blog Python *Programming *


It is a new selection of tips and tricks about Python and programming from my Telegram-channel @pythonetc.

Previous publications.


The order of except blocks matter: if exceptions can be caught by more than one block, the higher block applies. The following code doesn’t work as intended:
Read more →
Total votes 15: ↑15 and ↓0 +15
Views 1.2K
Comments 0

Objects without reference cycles and cyclic GC

Python *

Each instance of a class in CPython created using the class syntax is involved in a cyclic GC mechanism. This increases the memory footprint of each instance and can create memory problems in heavily loaded systems.


Is it possible to use only basic reference counting mechanism when necessary?

Let's analyze one approach based on recordclass library that will help to create classes whose instances will only be deleted using the reference counting mechanism.


Note: this is translation from original post (in russian).

Read more →
Total votes 3: ↑3 and ↓0 +3
Views 1.2K
Comments 0

Node.js VS Python: Which is Better?

Web design *Website development *Python *Programming *Node.JS *
image

If you are landing on this page you might be looking for several questions like:

– NodeJS or Python: which is the right choice for my next web app development project?

– Which programming language cost me less?

– Which programming language is suitable for which industry?

– Which programming language is suitable for small business or large scale enterprises?

– Which programming language is scalable, high performing and secure?

In this blog post, I’m going to answer all these questions AND MORE THAN THAT! So, continue reading this blog post:
Read more →
Total votes 3: ↑0 and ↓3 -3
Views 33K
Comments 0

PHP vs Python vs Ruby on Rails: Detailed Comparison

Website development *Ruby *PHP *Python *Ruby on Rails *
Sandbox
image

Which is the best programming technology for web app development in the year 2020? This is one of the most debated questions among web programmers, students and companies (wanted to develop their own website). Actually, every language has its own pros, cons or advantages, disadvantages. It totally depends on your requirements for website development.

In this blog post, I am going to clear your many doubts related to these programming languages or technologies, so that you can choose the best language according to your specific needs and requirements. Here, I’ll do a detailed and comprehensive comparison between these three most popular programming technologies viz. PHP vs Python vs Ruby (RoR). The comparison is on the basis of various stats and data on different parameters. So, let’s start the battle of most popular programming languages ie: PHP vs Python vs Ruby (RoR).
Read more →
Total votes 12: ↑0 and ↓12 -12
Views 6.7K
Comments 5

Tips and tricks from my Telegram-channel @pythonetc, December 2019

VK corporate blog Python *Programming *


It is a new selection of tips and tricks about Python and programming from my Telegram-channel @pythonetc.

Previous publications.


Different asyncio tasks obviously have different stacks. You can view at all of them at any moment using asyncio.all_tasks() to get all currently running tasks and task.get_stack() to get a stack for each task.
Read more →
Total votes 27: ↑26 and ↓1 +25
Views 1.3K
Comments 0

Python in Visual Studio Code – January 2020 Release

Microsoft corporate blog Python *Programming *Visual Studio *
We are pleased to announce that the January 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about  Python support in Visual Studio Code in the documentation.  

Read more →
Total votes 2: ↑2 and ↓0 +2
Views 2K
Comments 0

Python or R: Which Is A Better Choice For Data Science?

Website development *Python *R *


Data science is going to revolutionize this world completely in the coming years. The tough question among data scientists is that which programming language plays the most important role in data science? There are many programming languages used in data science including R, C++, Python.

In this blog, we are going to discuss two important programming languages namely Python and R. This will help you choose the best-fit language for your next data science project.

Python is an open-source, flexible, object-oriented and easy-to-use programming language. It has a large community base and consists of a rich set of libraries & tools. It is, in fact, the first choice of every data scientist.
Read more →
Total votes 3: ↑3 and ↓0 +3
Views 2.8K
Comments 6

Testing Water Melon using Neural Networks: Full Dev. Cycle from prototyping to the App. at Google Play

Python *Java *Machine learning *Artificial Intelligence
Tutorial

The beginning


It all started when I found an app. on Apple market, that supposedly was able to determine the ripeness of a water mellon. A program was… strange. Just think about it: instead of knocking using your knuckles, you were supposed to hit the water mellon with your iPhone! Nevertheless, I have decided to repeate that functionality on an Andtoid platform.
Read more →
Rating 0
Views 543
Comments 0

Tips and tricks from my Telegram-channel @pythonetc, November 2019

VK corporate blog Python *Programming *

Tips and tricks from my Telegram-channel @pythonetc, November 2019

It is a new selection of tips and tricks about Python and programming from my Telegram-channel @pythonetc.

Previous publications.



PATH is an environment variable that stores paths where executables are looked for. When you ask your shell to run ls, the shell looks for the ls executable file across all paths that are presented in PATH.
Read more →
Total votes 31: ↑30 and ↓1 +29
Views 2.3K
Comments 1

Authors' contribution