Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 40
  1. Introduction Coding with children is a topic close to my heart.

  2. Last update This post was last updated on August 29th, 2024.

  3. After a longer break I continued working on my machine learning basics repository which implements fundamental machine learning algorithms in plain Python.

  4. Support vector machines

    I posted another notebook in my machine learning basics repository.

  5. Books I am currently reading Mindset by Carol Dweck (Link to book) Books I have read Atomic Habits by James Clear (Link to book) A Promised Land by Barack Obama (Link to book) The Alchemy of Air by Thomas Hager (Link to book) Superintelligence: Paths, Dan…

  6. Bayesian linear regression

    I finally found time to continue working on my machine learning basics repository which implements fundamental machine learning algorithms in plain Python.

  7. Deep Work

    I recently finished reading the book Deep Work by Cal Newport.

  8. Mocking in Python

    Topics: Mocking in Python Today, I want to talk about mocking.

  9. Variational Inference

    Introduction Variational inference is an important topic that is widely used in machine learning.

  10. Kullback-Leibler Divergence

    One of the points on my long ‘stuff-you-have-to-look-at’ list is the Kullback-Leibler divergence.

  11. An introduction to Docker

    Topics: Docker I have been wanting to learn more about Docker for months.

  12. An introduction to containers

    Topics: Containers I have been wanting to learn more about Docker for months.

  13. Topics: Virtual machines I have been wanting to learn more about Docker for months.

  14. Wrap up

    Topics: Wrap up During the past 50 days we studied several highly useful Python concepts using a Magical Universe.

  15. Config files

    Topics: Using config files What are config files As a last topic I would like to take a look at the usage of config files.

  16. collections.defaultdict

    Topics: collections.defaultdict Updated 2020-10-06 The collections module The collections module in Python contains several useful classes.

  17. Topics: functools.wraps We have discussed decorators on day 5, day 6 and day 20 already.

  18. Custom exception classes

    Topics: Custom exception classes Errors and Exceptions First of all, what is an exception?

  19. Extending the Magical Universe

    Topics: Extending the Magical Universe with classmethods for Charm, Hex, Curse, etc.

  20. Topics: Multisets, collections.Counter Counting objects Today I want to present a very useful class in Python: collections.Counter.

  21. Iterators

    Topics: Iterators, iterables and iteration Iterators Although we need to create more test functions for the other Magical Universe classes, I want to spend a few days on iterators.

  22. Testing code with pytest

    Topics: Testing code with pytest Updated 2020-10-05 Writing test functions for our code is extremely important.

  23. Topics: with statement and context managers Updated 2020-10-05 Context managers and the with statement Similar to decorators, context managers are a concept many people use but only few understand.

  24. Topics: What is if __name__ == "__main__" doing?

  25. Decorators within classes

    Topics: Decorators within a class Updated 2020-10-05 After having talked about decorators already on day 5 and day 6 I would like to revisit the topic to discuss how decorators can be used within classes.

  26. Immutable data classes

    Topics: Immutable data classes Updated 2020-10-05 We have talked a lot about data classes in the last post.

  27. Data classes

    Topics: Data classes Updated 2020-10-05 Data classes are a feature that is new in Python 3.7.

  28. Abstract Base Classes

    Topics: Abstract Base Classes, ABC’s Updated 2020-10-05 The last days I have been working on a lot of new classes and methods.

  29. Namedtuples

    Topics: Immutable classes, namedtuples Updated 2020-10-04 Tuples Before looking at namedtuples, we should review what a tuple is.

  30. Duck typing, EAFP principle

    Topics: Duck typing, EAFP principle Updated 2020-10-04 Duck typing Today we are going to look at some fundamental philosophies of programming: duck typing, EAFP and its opposite LBYL.

  31. Extending the Magical Universe

    Topics: Adding new classes and methods to the Magical Universe Today I used some of the concepts introduced during the last days to extend my Magical Universe.

  32. Topics: underscore patterns for variable naming, _variable, __variable, __variable__, _ Updated 2020-10-04 Underscore patterns for variable naming Today we are going to look at a very important concept in Python: the usage of underscores when naming varia…

  33. Topics: properties, @property and property(), setters, getters Updated 2020-10-04 Today, I digged a little deeper into the @property decorator, how it is related to the property() function and how its getter and setter methods work.

  34. Decorators

    Topics: decorators Updated 2020-10-04 Today, we are going to look at decorators.

  35. To-string conversion

    Topics: to-string conversion, __repr__, __str__ Updated: 2020-10-04 To-string conversion Today we are going to look at the two methods that control how an object is converted into a string object.

  36. Type annotations

    Topics: Type annotations Updated 2020-10-04 Type annotations Type annotations are a very cool feature that came out with Python 3.5.

  37. Types of class methods

    Topics: class methods, instance methods, static methods, using class methods as alternative constructors Updated 2020-10-03 Types of methods A class can have three types of methods: instance methods, class methods and static methods.

  38. Object-oriented programming

    Topics: object oriented programming, classes, inheritance I want to start with using some of the things I learned from the “Python Tricks” book (see my reading list for more details on the book).

  39. The Tales of Castle Kilmere

    My magical universe: “The Tales of Castle Kilmere” The main character of our magical universe is named Lissy Spinster.

  40. I have decided to take on a new habit using a technique I found on the ‘get discplined’ subreddit.