18 months ago i posted the following post about integrating Angular and Django. Meanwhile, we have new releases and some updates. Angular 7 is one of the best javascript frameworks. With typescript as a regular programming language , its separation of data and views, CSS and HTML, its finally feels like real programming on client […]
One of the simplest models of machine learning is linear regression When there is a linear relationship between the features and the target variable, all we need to find is the equation of the straight line in the multidimensional space For example, we have real estate sales data: apartment size, floor, area code, distance from […]
When you work with python for web development, data analysis or other solution , you need to install packages from pip and sometimes we have conflicts: Web framework X needs one package version 1.2 and Web framework Y needs the same package but version 1.4. One Great solution for that problem is virtual environment – […]
One field in Machine Learning is Natural Language Processing (NLP). It can be useful for example while building an automatic system to manipulate CVs. The user upload a CV document , we are looking for keywords and classify it based on the result As part of feature engineering, we create a new input features based […]
Python is a great programming language , you can write procedural, functional and object oriented code and develop almost anything. While writing code and using some infrastructures, you sometimes need to extend code without touching the original. The object oriented solution for that is inheritance but what if you are writing a procedural code? the […]
Python 3 was released in Dec 2008 – almost 10 years and we still found a lot of python 2.7 developers. Python 3 is Not backward compatible with Python 2. Most language features are the same, some detail has changed and many deprecated features have been tided up and removed The main reason today to work with […]
If you write a complex python code , it is very important to handle errors and exceptions. While handling files, connecting to database systems and so on , you can be the best programmer in the world and still get errors that is not up to you. When you write a code for infrastructure, you […]
Writing Python code is fun and easy. You can use Procedural programming, Functional programming , Object oriented programming or any combination. Functions are basic unit in any method you choose. Functions are objects, defined with the ‘def’ statement followed by argument list. The function body is defined using indentation like other python statements def fn(a,b): […]
Many functions in Python use or generate in-memory lists for iteration. This is fine for relatively small list, but for large lists it becomes a problem. Lazy Lists A lazy list is when the next item is supplied when needed, and not before. If we stop processing before reaching the end of the list then those […]
Python is a great programming language for data analysis, web development, networking and more. While working with data , storing in files, sending to a remote machine and so on, we sometimes need to encrypt the data to prevent unauthorised access. With python cryptographic packages we can encrypt and decrypt data using various methods , […]