Are you over 18 and want to see adult content?
More Annotations
A complete backup of rockyviewschools.sharepoint.com
Are you over 18 and want to see adult content?
A complete backup of metaldailha.blogspot.com
Are you over 18 and want to see adult content?
A complete backup of cataflampro.com.br
Are you over 18 and want to see adult content?
Favourite Annotations
A complete backup of www.rtbf.be/sport/moteurs/rallye/wrc/detail_neuville-une-belle-revanche-apres-une-belle-bagarre-et-une-vict
Are you over 18 and want to see adult content?
A complete backup of www.aksam.com.tr/yasam/deprem-gecmis-olsun-mesajlari-fotograflari-deprem-ile-ilgili-yazilar-sozler-haberimi
Are you over 18 and want to see adult content?
Text
different one.
FLASK CHAT - PART I · MARTIN THOMASEE MORE ON MARTIN-THOMA.COM BEST PRACTICE FOR MACHINE LEARNING PROJECTS · MARTIN THOMA I did a couple of machine learning projects so far and there are some patterns in the projects which turned out to be good ideas. In this post, I would like to share those patterns with you. Know your problem For me, a machine learning project really starts when you CONFIGURATION FILES IN PYTHON · MARTIN THOMA Most interesting programs need some kind of configuration: Content Management Systems like WordPress blogs, WikiMedia and Joomla need to store the information where the database server is (the hostname) and how to login (username and password) Proprietary software might need to store if the software was registered already (the serial CREATING PDF-FORMS WITH LATEX · MARTIN THOMA I've just stumbled across a full, working example how to create a html form within an LaTeX document. You can fill this form within your PDF-Reader. Here is the example PDF-file. It looks like this in Chromes PDF reader: PDF LaTeX form in Chrome \documentclass{article} \usepackage{amssymb HOW TO WRITE MUSIC WITH LATEX · MARTIN THOMA General advantages of LaTeX compared to Photoshop / Word are: (1) It is free (not only as in beer, but also as in speech) (2) It produces consistent results - once it works, it will basically always work. I had very different experiences with Word documents where borders moved out of nowhere (3) Very consistent workflow. EXECUTE PYTHON ON APACHE2 · MARTIN THOMA I have to run a very simple Python script on an Apache2 web server. These were the steps with which I made it work: Find the Apache2config
BASIC MULTITHREADING IN JAVA · MARTIN THOMA Basic Multithreading in Java. A lot of computing power is wasted in many programs as most programs use only one core. If your program is computation intensive, you might want to put some extra effort in your program and make use of this wasted computing power. There are two ways to execute your code on multiple cores: Multiprocessing and PYTHON EEL · MARTIN THOMASEE MORE ON MARTIN-THOMA.COM FRACTIONS IN C++ · MARTIN THOMACATEGORIESTAGSOPERATOR OVERLOADINGSUPPORT MEARCHIVES Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules SIAMESE NETWORKS · MARTIN THOMA Siamese Networks. Siamese Networks are feature extractors trained to learn an embedding in Rn R n where not the absolute output is important, but the relative one. Schema of a Siamese Network m1 m 1. The original paper 1 was about signature verification. You have one original signature and one that might be the same or might be adifferent one.
FLASK CHAT - PART I · MARTIN THOMASEE MORE ON MARTIN-THOMA.COM BEST PRACTICE FOR MACHINE LEARNING PROJECTS · MARTIN THOMA I did a couple of machine learning projects so far and there are some patterns in the projects which turned out to be good ideas. In this post, I would like to share those patterns with you. Know your problem For me, a machine learning project really starts when you CONFIGURATION FILES IN PYTHON · MARTIN THOMA Most interesting programs need some kind of configuration: Content Management Systems like WordPress blogs, WikiMedia and Joomla need to store the information where the database server is (the hostname) and how to login (username and password) Proprietary software might need to store if the software was registered already (the serial CREATING PDF-FORMS WITH LATEX · MARTIN THOMA I've just stumbled across a full, working example how to create a html form within an LaTeX document. You can fill this form within your PDF-Reader. Here is the example PDF-file. It looks like this in Chromes PDF reader: PDF LaTeX form in Chrome \documentclass{article} \usepackage{amssymb HOW TO WRITE MUSIC WITH LATEX · MARTIN THOMA General advantages of LaTeX compared to Photoshop / Word are: (1) It is free (not only as in beer, but also as in speech) (2) It produces consistent results - once it works, it will basically always work. I had very different experiences with Word documents where borders moved out of nowhere (3) Very consistent workflow. EXECUTE PYTHON ON APACHE2 · MARTIN THOMA I have to run a very simple Python script on an Apache2 web server. These were the steps with which I made it work: Find the Apache2config
BASIC MULTITHREADING IN JAVA · MARTIN THOMA Basic Multithreading in Java. A lot of computing power is wasted in many programs as most programs use only one core. If your program is computation intensive, you might want to put some extra effort in your program and make use of this wasted computing power. There are two ways to execute your code on multiple cores: Multiprocessing and BEST PRACTICE FOR MACHINE LEARNING PROJECTS · MARTIN THOMA I did a couple of machine learning projects so far and there are some patterns in the projects which turned out to be good ideas. In this post, I would like to share those patterns with you. Know your problem For me, a machine learning project really starts when you CONFIGURATION FILES IN PYTHON · MARTIN THOMA Most interesting programs need some kind of configuration: Content Management Systems like WordPress blogs, WikiMedia and Joomla need to store the information where the database server is (the hostname) and how to login (username and password) Proprietary software might need to store if the software was registered already (the serial THE REUTERS DATASET · MARTIN THOMA The Reuters Dataset. Reuters is a benchmark dataset for document classification . To be more precise, it is a multi-class (e.g. there are multiple classes), multi-label (e.g. each document can belong to many classes) dataset. It has 90 classes, 7769 training documents and 3019 testing documents . It is the ModApte (R (90)) subest of theReuters
HOW TO WRITE MUSIC WITH LATEX · MARTIN THOMA General advantages of LaTeX compared to Photoshop / Word are: (1) It is free (not only as in beer, but also as in speech) (2) It produces consistent results - once it works, it will basically always work. I had very different experiences with Word documents where borders moved out of nowhere (3) Very consistent workflow. XOR TUTORIAL WITH TENSORFLOW · MARTIN THOMA XOR tutorial with TensorFlow. The XOR-Problem is a classification problem, where you only have four data points with two features. The training set and the test set are exactly the same in this problem. So the interesting question is only if the model is able to find a decision boundary which classifies all four points correctly. MOVIELENS DATA SET · MARTIN THOMA The Data ¶. The Movielens 20M contains 20 million movie ratings. They were created by 138,000 users for 27,000 movies. The data looks like this: userId movieId rating timestamp 0 1 2 3.5 1112486027 1 1 29 3.5 1112484676 2 1 32 3.5 1112484819 3 1 47 3.5 1112484727 4 1 50 3.5 1112484580 5 1 112 3.5 1094785740 6 1 151 4.0 1094785734 7 1 223 4.0 USING SVMS WITH SKLEARN · MARTIN THOMA Support Vector Machines (SVMs) is a group of powerful classifiers. In this article, I will give a short impression of how they work. I continue with an example how to use SVMs with sklearn. SVM theory SVMs can be described with 5 ideas in mind: Linear, binary classifiers: Ifdata
PART II: THE STRASSEN ALGORITHM IN PYTHON, JAVA AND C++ The Strassen algorithm has a time complexity of O(nlog2(7)+o(1)) ≈ O(n2.807) O ( n l o g 2 ( 7) + o ( 1)) ≈ O ( n 2.807). The idea is similar to the Karatsuba algorithm for simple multiplication. Basically, you make a tradeof: Instead of one multiplication, you use many additions. As additions are - at least for humans - easier, youmight
HOW TO VISUALIZE GRAPH ALGORITHMS WITH LATEX · MARTIN THOMA Tkiz is a very powerful TeX package. You can easily create visualizations of graphs and graph algorithms (if you have a template 😉). This post should give you a template to visualize graph algorithms with LaTeX. I recently found a great animation of Prim's algorithm done by Kjell Magne Fauske. I've MAKE PYTHON OBJECTS JSON SERIALIZABLE · MARTIN THOMA When you're developing a service which has to communicate with a REST endpoint, it is very likely that it will come in handy if you can convert some of your objects to JSON (and back). Until recently, I always created a dictionary and used json.dumps in that case. Also FRACTIONS IN C++ · MARTIN THOMACATEGORIESTAGSOPERATOR OVERLOADINGSUPPORT MEARCHIVES Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules PYTHON EEL · MARTIN THOMASEE MORE ON MARTIN-THOMA.COM FLASK CHAT - PART I · MARTIN THOMASEE MORE ON MARTIN-THOMA.COM BEST PRACTICE FOR MACHINE LEARNING PROJECTS · MARTIN THOMA I did a couple of machine learning projects so far and there are some patterns in the projects which turned out to be good ideas. In this post, I would like to share those patterns with you. Know your problem For me, a machine learning project really starts when you CREATING PDF-FORMS WITH LATEX · MARTIN THOMA I've just stumbled across a full, working example how to create a html form within an LaTeX document. You can fill this form within your PDF-Reader. Here is the example PDF-file. It looks like this in Chromes PDF reader: PDF LaTeX form in Chrome \documentclass{article} \usepackage{amssymb BASIC MULTITHREADING IN JAVA · MARTIN THOMA A lot of computing power is wasted in many programs as most programs use only one core. If your program is computation intensive, you might want to put some extra effort in your program and make use of this wasted computing power. There are two ways to execute your code CONFIGURATION FILES IN PYTHON · MARTIN THOMA Most interesting programs need some kind of configuration: Content Management Systems like WordPress blogs, WikiMedia and Joomla need to store the information where the database server is (the hostname) and how to login (username and password) Proprietary software might need to store if the software was registered already (the serial SIAMESE NETWORKS · MARTIN THOMA Bromley, Jane, et al. "Signature verification using a" siamese" time delay neural network." Advances in neural information processingsystems. 1994.
EXECUTE PYTHON ON APACHE2 · MARTIN THOMA I have to run a very simple Python script on an Apache2 web server. These were the steps with which I made it work: Find the Apache2config
KOLLISIONSRESISTENTE HASHFUNKTIONEN UND Was heißt „kleine Wahrscheinlichkeit“? Nach dem Auswerten der Funktion \(H\) für \(x_1, x_2, \dots x_n\) sollte die Wahrscheinlichkeit nicht signifikant höher sein als \(\displaystyle 1-\frac{n!\cdot{{2^k} \choose n}}{{2^k}^n}\) Diese Wahrscheinlichkeit kommt von dem Geburtstagsparadoxon bzw. dem Schubfachprinzip.Wir haben \(2^k\) Schubfächer (Funktionswerte) in FRACTIONS IN C++ · MARTIN THOMACATEGORIESTAGSOPERATOR OVERLOADINGSUPPORT MEARCHIVES Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules PYTHON EEL · MARTIN THOMASEE MORE ON MARTIN-THOMA.COM FLASK CHAT - PART I · MARTIN THOMASEE MORE ON MARTIN-THOMA.COM BEST PRACTICE FOR MACHINE LEARNING PROJECTS · MARTIN THOMA I did a couple of machine learning projects so far and there are some patterns in the projects which turned out to be good ideas. In this post, I would like to share those patterns with you. Know your problem For me, a machine learning project really starts when you CREATING PDF-FORMS WITH LATEX · MARTIN THOMA I've just stumbled across a full, working example how to create a html form within an LaTeX document. You can fill this form within your PDF-Reader. Here is the example PDF-file. It looks like this in Chromes PDF reader: PDF LaTeX form in Chrome \documentclass{article} \usepackage{amssymb BASIC MULTITHREADING IN JAVA · MARTIN THOMA A lot of computing power is wasted in many programs as most programs use only one core. If your program is computation intensive, you might want to put some extra effort in your program and make use of this wasted computing power. There are two ways to execute your code CONFIGURATION FILES IN PYTHON · MARTIN THOMA Most interesting programs need some kind of configuration: Content Management Systems like WordPress blogs, WikiMedia and Joomla need to store the information where the database server is (the hostname) and how to login (username and password) Proprietary software might need to store if the software was registered already (the serial SIAMESE NETWORKS · MARTIN THOMA Bromley, Jane, et al. "Signature verification using a" siamese" time delay neural network." Advances in neural information processingsystems. 1994.
EXECUTE PYTHON ON APACHE2 · MARTIN THOMA I have to run a very simple Python script on an Apache2 web server. These were the steps with which I made it work: Find the Apache2config
KOLLISIONSRESISTENTE HASHFUNKTIONEN UND Was heißt „kleine Wahrscheinlichkeit“? Nach dem Auswerten der Funktion \(H\) für \(x_1, x_2, \dots x_n\) sollte die Wahrscheinlichkeit nicht signifikant höher sein als \(\displaystyle 1-\frac{n!\cdot{{2^k} \choose n}}{{2^k}^n}\) Diese Wahrscheinlichkeit kommt von dem Geburtstagsparadoxon bzw. dem Schubfachprinzip.Wir haben \(2^k\) Schubfächer (Funktionswerte) in FRACTIONS IN C++ · MARTIN THOMA Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules BEST PRACTICE FOR MACHINE LEARNING PROJECTS · MARTIN THOMA I did a couple of machine learning projects so far and there are some patterns in the projects which turned out to be good ideas. In this post, I would like to share those patterns with you. Know your problem For me, a machine learning project really starts when you XOR TUTORIAL WITH TENSORFLOW · MARTIN THOMA The XOR-Problem is a classification problem, where you only have four data points with two features. The training set and the test set are exactly the same in this problem. So the interesting question is only if the model is able to find a decision boundary which classifies allfour
CONFIGURATION FILES IN PYTHON · MARTIN THOMA Most interesting programs need some kind of configuration: Content Management Systems like WordPress blogs, WikiMedia and Joomla need to store the information where the database server is (the hostname) and how to login (username and password) Proprietary software might need to store if the software was registered already (the serial PART II: THE STRASSEN ALGORITHM IN PYTHON, JAVA AND C++ This is Part II of my matrix multiplication series. Part I was about simple matrix multiplication algorithms and Part II was about the Strassen algorithm. Part III is about parallel matrix multiplication. The usual matrix multiplication of two \(n \times n\) matrices has a time-complexity of \(\mathcal{O}(n^3 HOW TO WRITE MUSIC WITH LATEX · MARTIN THOMA For simplification, you can save this as compile.sh, execute chmod +x compile.sh and now you only have to enter ./compile.sh to generate the PDF.. Output: Lilypond example - output was a PDF Further Reading. ABC ABC-environment Documentation; LilyPond LilyPond — Learning Manual HOW TO CREATE A DIGITAL SIGNATURE · MARTIN THOMA \documentclass {article} \usepackage {pdfpages} % needed for includepdf \begin {document} \section* {Some Text} Lorem ipsum dolor sit amet, pro discere accusam detraxit ei. Ei maluisset definitiones ius. Ut quo persius reprimique, sed ea postulant consulatu, essent tibique et cum. Usu ne etiam facilis, eam everti eruditi ea, his ad eros sententiae. MAKE PYTHON OBJECTS JSON SERIALIZABLE · MARTIN THOMA When you're developing a service which has to communicate with a REST endpoint, it is very likely that it will come in handy if you can convert some of your objects to JSON (and back). Until recently, I always created a dictionary and used json.dumps in that case. Also KOLLISIONSRESISTENTE HASHFUNKTIONEN UND Was heißt „kleine Wahrscheinlichkeit“? Nach dem Auswerten der Funktion \(H\) für \(x_1, x_2, \dots x_n\) sollte die Wahrscheinlichkeit nicht signifikant höher sein als \(\displaystyle 1-\frac{n!\cdot{{2^k} \choose n}}{{2^k}^n}\) Diese Wahrscheinlichkeit kommt von dem Geburtstagsparadoxon bzw. dem Schubfachprinzip.Wir haben \(2^k\) Schubfächer (Funktionswerte) in WIE WENDE ICH DIE SHANNON-ZERLEGUNG AN? · MARTIN …TRANSLATE THISPAGE
Die Shannon-Zerlegung ist hilfreich, um die disjunktive bzw. konjunktive Form einer Funktion zu erhalten. Im Folgenden gibt es ein paar Beispiele, wie man das macht: FLASK CHAT - PART I · MARTIN THOMASEE MORE ON MARTIN-THOMA.COM PYTHON EEL · MARTIN THOMASEE MORE ON MARTIN-THOMA.COM FRACTIONS IN C++ · MARTIN THOMA Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules SIAMESE NETWORKS · MARTIN THOMA Bromley, Jane, et al. "Signature verification using a" siamese" time delay neural network." Advances in neural information processingsystems. 1994.
THE REUTERS DATASET · MARTIN THOMASEE MORE ON MARTIN-THOMA.COM BEST PRACTICE FOR MACHINE LEARNING PROJECTS · MARTIN THOMA I did a couple of machine learning projects so far and there are some patterns in the projects which turned out to be good ideas. In this post, I would like to share those patterns with you. Know your problem For me, a machine learning project really starts when you CREATING PDF-FORMS WITH LATEX · MARTIN THOMA I've just stumbled across a full, working example how to create a html form within an LaTeX document. You can fill this form within your PDF-Reader. Here is the example PDF-file. It looks like this in Chromes PDF reader: PDF LaTeX form in Chrome \documentclass{article} \usepackage{amssymb HOW TO WRITE MUSIC WITH LATEX · MARTIN THOMA For simplification, you can save this as compile.sh, execute chmod +x compile.sh and now you only have to enter ./compile.sh to generate the PDF.. Output: Lilypond example - output was a PDF Further Reading. ABC ABC-environment Documentation; LilyPond LilyPond — Learning Manual BASIC MULTITHREADING IN JAVA · MARTIN THOMA A lot of computing power is wasted in many programs as most programs use only one core. If your program is computation intensive, you might want to put some extra effort in your program and make use of this wasted computing power. There are two ways to execute your code EXECUTE PYTHON ON APACHE2 · MARTIN THOMA I have to run a very simple Python script on an Apache2 web server. These were the steps with which I made it work: Find the Apache2config
FLASK CHAT - PART I · MARTIN THOMASEE MORE ON MARTIN-THOMA.COM PYTHON EEL · MARTIN THOMASEE MORE ON MARTIN-THOMA.COM FRACTIONS IN C++ · MARTIN THOMA Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules SIAMESE NETWORKS · MARTIN THOMA Bromley, Jane, et al. "Signature verification using a" siamese" time delay neural network." Advances in neural information processingsystems. 1994.
THE REUTERS DATASET · MARTIN THOMASEE MORE ON MARTIN-THOMA.COM BEST PRACTICE FOR MACHINE LEARNING PROJECTS · MARTIN THOMA I did a couple of machine learning projects so far and there are some patterns in the projects which turned out to be good ideas. In this post, I would like to share those patterns with you. Know your problem For me, a machine learning project really starts when you CREATING PDF-FORMS WITH LATEX · MARTIN THOMA I've just stumbled across a full, working example how to create a html form within an LaTeX document. You can fill this form within your PDF-Reader. Here is the example PDF-file. It looks like this in Chromes PDF reader: PDF LaTeX form in Chrome \documentclass{article} \usepackage{amssymb HOW TO WRITE MUSIC WITH LATEX · MARTIN THOMA For simplification, you can save this as compile.sh, execute chmod +x compile.sh and now you only have to enter ./compile.sh to generate the PDF.. Output: Lilypond example - output was a PDF Further Reading. ABC ABC-environment Documentation; LilyPond LilyPond — Learning Manual BASIC MULTITHREADING IN JAVA · MARTIN THOMA A lot of computing power is wasted in many programs as most programs use only one core. If your program is computation intensive, you might want to put some extra effort in your program and make use of this wasted computing power. There are two ways to execute your code EXECUTE PYTHON ON APACHE2 · MARTIN THOMA I have to run a very simple Python script on an Apache2 web server. These were the steps with which I made it work: Find the Apache2config
FRACTIONS IN C++ · MARTIN THOMA Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules CONFIGURATION FILES IN PYTHON · MARTIN THOMA Most interesting programs need some kind of configuration: Content Management Systems like WordPress blogs, WikiMedia and Joomla need to store the information where the database server is (the hostname) and how to login (username and password) Proprietary software might need to store if the software was registered already (the serial HOW TO WRITE MUSIC WITH LATEX · MARTIN THOMA For simplification, you can save this as compile.sh, execute chmod +x compile.sh and now you only have to enter ./compile.sh to generate the PDF.. Output: Lilypond example - output was a PDF Further Reading. ABC ABC-environment Documentation; LilyPond LilyPond — Learning Manual KOLLISIONSRESISTENTE HASHFUNKTIONEN UND Was heißt „kleine Wahrscheinlichkeit“? Nach dem Auswerten der Funktion \(H\) für \(x_1, x_2, \dots x_n\) sollte die Wahrscheinlichkeit nicht signifikant höher sein als \(\displaystyle 1-\frac{n!\cdot{{2^k} \choose n}}{{2^k}^n}\) Diese Wahrscheinlichkeit kommt von dem Geburtstagsparadoxon bzw. dem Schubfachprinzip.Wir haben \(2^k\) Schubfächer (Funktionswerte) in MAKE PYTHON OBJECTS JSON SERIALIZABLE · MARTIN THOMA When you're developing a service which has to communicate with a REST endpoint, it is very likely that it will come in handy if you can convert some of your objects to JSON (and back). Until recently, I always created a dictionary and used json.dumps in that case. Also WIE WENDE ICH DIE SHANNON-ZERLEGUNG AN? · MARTIN …TRANSLATE THISPAGE
Die Shannon-Zerlegung ist hilfreich, um die disjunktive bzw. konjunktive Form einer Funktion zu erhalten. Im Folgenden gibt es ein paar Beispiele, wie man das macht: HOW TO VISUALIZE GRAPH ALGORITHMS WITH LATEX · MARTIN THOMA Tkiz is a very powerful TeX package. You can easily create visualizations of graphs and graph algorithms (if you have a template 😉). This post should give you a template to visualize graph algorithms with LaTeX. I recently found a great animation of Prim's algorithm done by Kjell Magne Fauske. I've HOW TO CREATE A DIGITAL SIGNATURE · MARTIN THOMA \documentclass {article} \usepackage {pdfpages} % needed for includepdf \begin {document} \section* {Some Text} Lorem ipsum dolor sit amet, pro discere accusam detraxit ei. Ei maluisset definitiones ius. Ut quo persius reprimique, sed ea postulant consulatu, essent tibique et cum. Usu ne etiam facilis, eam everti eruditi ea, his ad eros sententiae. BEST PRACTICE FOR MACHINE LEARNING PROJECTS · MARTIN THOMA I did a couple of machine learning projects so far and there are some patterns in the projects which turned out to be good ideas. In this post, I would like to share those patterns with you. Know your problem For me, a machine learning project really starts when you JAVASCRIPT: WTF?!? · MARTIN THOMA JavaScript is THE web programming language. It gets interpreted by your browser and web applications like Google Mail, Google Maps and Facebook make heavy use of them. Almost always, when you see something working smoothly / interactive, you see JavaScript in action. But JavaScript has a lot of "features" which are CONFIGURATION FILES IN PYTHON · MARTIN THOMA Most interesting programs need some kind of configuration: Content Management Systems like WordPress blogs, WikiMedia and Joomla need to store the information where the database server is (the hostname) and how to login (username and password) Proprietary software might need to store if the software was registered already (the serial GOTO IN PYTHON, JAVA AND C++ · MARTIN THOMAIMPORT GOTO PYTHONPYTHON DOWNLOADTURTLE GOTO PYTHONW3SCHOOLS PYTHONPYTHON PROGRAMMING LANGUAGEGOTO FUNCTION IN PYTHON GOTO in Python, Java and C++. GOTO is a statement of the early beginnings of programming. It is rarely used in high-level code today. Code that makes use of it is called Spaghetti code by some people. I have almost never seen goto statements in code, so I've been curious about them. GOTO from xkcd.com. FRACTIONS IN C++ · MARTIN THOMA Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules FLASK CHAT - PART I · MARTIN THOMASEE MORE ON MARTIN-THOMA.COMTHOMAS MARTIN ESQTHOMAS MARTIN FACEBOOKTHOMAS MARTIN LAWYERTHOMAS MARTIN MONK PART II: THE STRASSEN ALGORITHM IN PYTHON, JAVA AND C++ The Strassen algorithm has a time complexity of O(nlog2(7)+o(1)) ≈ O(n2.807) O ( n l o g 2 ( 7) + o ( 1)) ≈ O ( n 2.807). The idea is similar to the Karatsuba algorithm for simple multiplication. Basically, you make a tradeof: Instead of one multiplication, you use many additions. As additions are - at least for humans - easier, youmight
SIAMESE NETWORKS · MARTIN THOMA Siamese Networks. Siamese Networks are feature extractors trained to learn an embedding in Rn R n where not the absolute output is important, but the relative one. Schema of a Siamese Network m1 m 1. The original paper 1 was about signature verification. You have one original signature and one that might be the same or might be adifferent one.
MOVIELENS DATA SET · MARTIN THOMA The Data ¶. The Movielens 20M contains 20 million movie ratings. They were created by 138,000 users for 27,000 movies. The data looks like this: userId movieId rating timestamp 0 1 2 3.5 1112486027 1 1 29 3.5 1112484676 2 1 32 3.5 1112484819 3 1 47 3.5 1112484727 4 1 50 3.5 1112484580 5 1 112 3.5 1094785740 6 1 151 4.0 1094785734 7 1 223 4.0 CREATING PDF-FORMS WITH LATEX · MARTIN THOMA I've just stumbled across a full, working example how to create a html form within an LaTeX document. You can fill this form within your PDF-Reader. Here is the example PDF-file. It looks like this in Chromes PDF reader: PDF LaTeX form in Chrome \documentclass{article} \usepackage{amssymb BASIC MULTITHREADING IN JAVA · MARTIN THOMA Basic Multithreading in Java. A lot of computing power is wasted in many programs as most programs use only one core. If your program is computation intensive, you might want to put some extra effort in your program and make use of this wasted computing power. There are two ways to execute your code on multiple cores: Multiprocessing and EXECUTE PYTHON ON APACHE2 · MARTIN THOMA I have to run a very simple Python script on an Apache2 web server. These were the steps with which I made it work: Find the Apache2config
CONFIGURATION FILES IN PYTHON · MARTIN THOMA Most interesting programs need some kind of configuration: Content Management Systems like WordPress blogs, WikiMedia and Joomla need to store the information where the database server is (the hostname) and how to login (username and password) Proprietary software might need to store if the software was registered already (the serial GOTO IN PYTHON, JAVA AND C++ · MARTIN THOMAIMPORT GOTO PYTHONPYTHON DOWNLOADTURTLE GOTO PYTHONW3SCHOOLS PYTHONPYTHON PROGRAMMING LANGUAGEGOTO FUNCTION IN PYTHON GOTO in Python, Java and C++. GOTO is a statement of the early beginnings of programming. It is rarely used in high-level code today. Code that makes use of it is called Spaghetti code by some people. I have almost never seen goto statements in code, so I've been curious about them. GOTO from xkcd.com. FRACTIONS IN C++ · MARTIN THOMA Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules FLASK CHAT - PART I · MARTIN THOMASEE MORE ON MARTIN-THOMA.COMTHOMAS MARTIN ESQTHOMAS MARTIN FACEBOOKTHOMAS MARTIN LAWYERTHOMAS MARTIN MONK PART II: THE STRASSEN ALGORITHM IN PYTHON, JAVA AND C++ The Strassen algorithm has a time complexity of O(nlog2(7)+o(1)) ≈ O(n2.807) O ( n l o g 2 ( 7) + o ( 1)) ≈ O ( n 2.807). The idea is similar to the Karatsuba algorithm for simple multiplication. Basically, you make a tradeof: Instead of one multiplication, you use many additions. As additions are - at least for humans - easier, youmight
SIAMESE NETWORKS · MARTIN THOMA Siamese Networks. Siamese Networks are feature extractors trained to learn an embedding in Rn R n where not the absolute output is important, but the relative one. Schema of a Siamese Network m1 m 1. The original paper 1 was about signature verification. You have one original signature and one that might be the same or might be adifferent one.
MOVIELENS DATA SET · MARTIN THOMA The Data ¶. The Movielens 20M contains 20 million movie ratings. They were created by 138,000 users for 27,000 movies. The data looks like this: userId movieId rating timestamp 0 1 2 3.5 1112486027 1 1 29 3.5 1112484676 2 1 32 3.5 1112484819 3 1 47 3.5 1112484727 4 1 50 3.5 1112484580 5 1 112 3.5 1094785740 6 1 151 4.0 1094785734 7 1 223 4.0 CREATING PDF-FORMS WITH LATEX · MARTIN THOMA I've just stumbled across a full, working example how to create a html form within an LaTeX document. You can fill this form within your PDF-Reader. Here is the example PDF-file. It looks like this in Chromes PDF reader: PDF LaTeX form in Chrome \documentclass{article} \usepackage{amssymb BASIC MULTITHREADING IN JAVA · MARTIN THOMA Basic Multithreading in Java. A lot of computing power is wasted in many programs as most programs use only one core. If your program is computation intensive, you might want to put some extra effort in your program and make use of this wasted computing power. There are two ways to execute your code on multiple cores: Multiprocessing and EXECUTE PYTHON ON APACHE2 · MARTIN THOMA I have to run a very simple Python script on an Apache2 web server. These were the steps with which I made it work: Find the Apache2config
FRACTIONS IN C++ · MARTIN THOMA Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules GOTO IN PYTHON, JAVA AND C++ · MARTIN THOMA GOTO in Python, Java and C++. GOTO is a statement of the early beginnings of programming. It is rarely used in high-level code today. Code that makes use of it is called Spaghetti code by some people. I have almost never seen goto statements in code, so I've been curious about them. GOTO from xkcd.com. SIAMESE NETWORKS · MARTIN THOMA Siamese Networks. Siamese Networks are feature extractors trained to learn an embedding in Rn R n where not the absolute output is important, but the relative one. Schema of a Siamese Network m1 m 1. The original paper 1 was about signature verification. You have one original signature and one that might be the same or might be adifferent one.
COLORS IN LATEX · MARTIN THOMA LaTeX knows the following colors without any packages: black blue brown cyan darkgray gray green lime magenta olive orange pink purple red teal violet white yellow If you want other colors, you can define them with \usepackage{xcolor} and \definecolor{name}{model}{color-spec} where: name is the name of the HOW TO CREATE A DIGITAL SIGNATURE · MARTIN THOMA At first, you have to write your signature on a white sheet of paper. You might have to make several tries: Some tries for a nice signature. Then you should scan it in a high quality. Now crop the image to the size you like. I have used GIMP for this task: Crop the image to the correct section with GIMP. Now you should have an image like this SOLVING LINEAR EQUATIONS WITH GAUSSIAN Solving linear equations with Gaussian elimination. Please note that you should use LU-decomposition to solve linear equations. The following code produces valid solutions, but when your vector b b changes you have to do all the work again. LU-decomposition is faster in those cases and not slower in case you don't have to solveequations with
WORKING WITH TERMINAL · MARTIN THOMA I've just switched from Bash to ZSH because of oh-my-ZSH. I think this is just the right time to explain the words Shell, command line, Terminal, Bash and ZSH. Terminal is an terminal emulator, sometimes also called a "terminal window". I work in a window environment (MATE)and I want
PART III: MATRIX MULTIPLICATION ON MULTIPLE CORES IN The ikj single core algorithm implemented in Python needs: time python ikjMultiplication.py -i 2000.in > 2000-nonparallel.out real 36m0.699s user 35m53.463s sys 0m2.356s. The most simple way to parallelize the ikj algorith is to use the multiprocessing module and compute everyline of
MY LATEX TIKZ TEMPLATE · MARTIN THOMA How to use it ¶. You have to place the Makefile in the same folder as latex-document.tex. If you have done this and if you meet the requirements, you can execute: make: Generates a PDF file from latex-document.tex. make svg: Generates a SVG file from the generated PDF file. make transparentGif: Generates a transparent Gif from thePDF file.
COMPARING DATES IN PHP AND MYSQL · MARTIN THOMA And it compares the "integered" DATETIME 20111004210710 for 2011-10-04 21:07:10 with 1317750167. This is obviously crap. Don't do it. Never. Instead you should convert your dates with UNIX_TIMESTAMP(your_datetime) or FROM_UNIXTIME(unix_timestamp). CONFIGURATION FILES IN PYTHON · MARTIN THOMA Most interesting programs need some kind of configuration: Content Management Systems like WordPress blogs, WikiMedia and Joomla need to store the information where the database server is (the hostname) and how to login (username and password) Proprietary software might need to store if the software was registered already (the serial GOTO IN PYTHON, JAVA AND C++ · MARTIN THOMAIMPORT GOTO PYTHONPYTHON DOWNLOADTURTLE GOTO PYTHONW3SCHOOLS PYTHONPYTHON PROGRAMMING LANGUAGEGOTO FUNCTION IN PYTHON GOTO in Python, Java and C++. GOTO is a statement of the early beginnings of programming. It is rarely used in high-level code today. Code that makes use of it is called Spaghetti code by some people. I have almost never seen goto statements in code, so I've been curious about them. GOTO from xkcd.com. FRACTIONS IN C++ · MARTIN THOMA Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules FLASK CHAT - PART I · MARTIN THOMASEE MORE ON MARTIN-THOMA.COMTHOMAS MARTIN ESQTHOMAS MARTIN FACEBOOKTHOMAS MARTIN LAWYERTHOMAS MARTIN MONK PART II: THE STRASSEN ALGORITHM IN PYTHON, JAVA AND C++ The Strassen algorithm has a time complexity of O(nlog2(7)+o(1)) ≈ O(n2.807) O ( n l o g 2 ( 7) + o ( 1)) ≈ O ( n 2.807). The idea is similar to the Karatsuba algorithm for simple multiplication. Basically, you make a tradeof: Instead of one multiplication, you use many additions. As additions are - at least for humans - easier, youmight
SIAMESE NETWORKS · MARTIN THOMA Siamese Networks. Siamese Networks are feature extractors trained to learn an embedding in Rn R n where not the absolute output is important, but the relative one. Schema of a Siamese Network m1 m 1. The original paper 1 was about signature verification. You have one original signature and one that might be the same or might be adifferent one.
MOVIELENS DATA SET · MARTIN THOMA The Data ¶. The Movielens 20M contains 20 million movie ratings. They were created by 138,000 users for 27,000 movies. The data looks like this: userId movieId rating timestamp 0 1 2 3.5 1112486027 1 1 29 3.5 1112484676 2 1 32 3.5 1112484819 3 1 47 3.5 1112484727 4 1 50 3.5 1112484580 5 1 112 3.5 1094785740 6 1 151 4.0 1094785734 7 1 223 4.0 CREATING PDF-FORMS WITH LATEX · MARTIN THOMA I've just stumbled across a full, working example how to create a html form within an LaTeX document. You can fill this form within your PDF-Reader. Here is the example PDF-file. It looks like this in Chromes PDF reader: PDF LaTeX form in Chrome \documentclass{article} \usepackage{amssymb BASIC MULTITHREADING IN JAVA · MARTIN THOMA Basic Multithreading in Java. A lot of computing power is wasted in many programs as most programs use only one core. If your program is computation intensive, you might want to put some extra effort in your program and make use of this wasted computing power. There are two ways to execute your code on multiple cores: Multiprocessing and EXECUTE PYTHON ON APACHE2 · MARTIN THOMA I have to run a very simple Python script on an Apache2 web server. These were the steps with which I made it work: Find the Apache2config
CONFIGURATION FILES IN PYTHON · MARTIN THOMA Most interesting programs need some kind of configuration: Content Management Systems like WordPress blogs, WikiMedia and Joomla need to store the information where the database server is (the hostname) and how to login (username and password) Proprietary software might need to store if the software was registered already (the serial GOTO IN PYTHON, JAVA AND C++ · MARTIN THOMAIMPORT GOTO PYTHONPYTHON DOWNLOADTURTLE GOTO PYTHONW3SCHOOLS PYTHONPYTHON PROGRAMMING LANGUAGEGOTO FUNCTION IN PYTHON GOTO in Python, Java and C++. GOTO is a statement of the early beginnings of programming. It is rarely used in high-level code today. Code that makes use of it is called Spaghetti code by some people. I have almost never seen goto statements in code, so I've been curious about them. GOTO from xkcd.com. FRACTIONS IN C++ · MARTIN THOMA Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules FLASK CHAT - PART I · MARTIN THOMASEE MORE ON MARTIN-THOMA.COMTHOMAS MARTIN ESQTHOMAS MARTIN FACEBOOKTHOMAS MARTIN LAWYERTHOMAS MARTIN MONK PART II: THE STRASSEN ALGORITHM IN PYTHON, JAVA AND C++ The Strassen algorithm has a time complexity of O(nlog2(7)+o(1)) ≈ O(n2.807) O ( n l o g 2 ( 7) + o ( 1)) ≈ O ( n 2.807). The idea is similar to the Karatsuba algorithm for simple multiplication. Basically, you make a tradeof: Instead of one multiplication, you use many additions. As additions are - at least for humans - easier, youmight
SIAMESE NETWORKS · MARTIN THOMA Siamese Networks. Siamese Networks are feature extractors trained to learn an embedding in Rn R n where not the absolute output is important, but the relative one. Schema of a Siamese Network m1 m 1. The original paper 1 was about signature verification. You have one original signature and one that might be the same or might be adifferent one.
MOVIELENS DATA SET · MARTIN THOMA The Data ¶. The Movielens 20M contains 20 million movie ratings. They were created by 138,000 users for 27,000 movies. The data looks like this: userId movieId rating timestamp 0 1 2 3.5 1112486027 1 1 29 3.5 1112484676 2 1 32 3.5 1112484819 3 1 47 3.5 1112484727 4 1 50 3.5 1112484580 5 1 112 3.5 1094785740 6 1 151 4.0 1094785734 7 1 223 4.0 CREATING PDF-FORMS WITH LATEX · MARTIN THOMA I've just stumbled across a full, working example how to create a html form within an LaTeX document. You can fill this form within your PDF-Reader. Here is the example PDF-file. It looks like this in Chromes PDF reader: PDF LaTeX form in Chrome \documentclass{article} \usepackage{amssymb BASIC MULTITHREADING IN JAVA · MARTIN THOMA Basic Multithreading in Java. A lot of computing power is wasted in many programs as most programs use only one core. If your program is computation intensive, you might want to put some extra effort in your program and make use of this wasted computing power. There are two ways to execute your code on multiple cores: Multiprocessing and EXECUTE PYTHON ON APACHE2 · MARTIN THOMA I have to run a very simple Python script on an Apache2 web server. These were the steps with which I made it work: Find the Apache2config
FRACTIONS IN C++ · MARTIN THOMA Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules GOTO IN PYTHON, JAVA AND C++ · MARTIN THOMA GOTO in Python, Java and C++. GOTO is a statement of the early beginnings of programming. It is rarely used in high-level code today. Code that makes use of it is called Spaghetti code by some people. I have almost never seen goto statements in code, so I've been curious about them. GOTO from xkcd.com. SIAMESE NETWORKS · MARTIN THOMA Siamese Networks. Siamese Networks are feature extractors trained to learn an embedding in Rn R n where not the absolute output is important, but the relative one. Schema of a Siamese Network m1 m 1. The original paper 1 was about signature verification. You have one original signature and one that might be the same or might be adifferent one.
COLORS IN LATEX · MARTIN THOMA LaTeX knows the following colors without any packages: black blue brown cyan darkgray gray green lime magenta olive orange pink purple red teal violet white yellow If you want other colors, you can define them with \usepackage{xcolor} and \definecolor{name}{model}{color-spec} where: name is the name of the HOW TO CREATE A DIGITAL SIGNATURE · MARTIN THOMA At first, you have to write your signature on a white sheet of paper. You might have to make several tries: Some tries for a nice signature. Then you should scan it in a high quality. Now crop the image to the size you like. I have used GIMP for this task: Crop the image to the correct section with GIMP. Now you should have an image like this SOLVING LINEAR EQUATIONS WITH GAUSSIAN Solving linear equations with Gaussian elimination. Please note that you should use LU-decomposition to solve linear equations. The following code produces valid solutions, but when your vector b b changes you have to do all the work again. LU-decomposition is faster in those cases and not slower in case you don't have to solveequations with
WORKING WITH TERMINAL · MARTIN THOMA I've just switched from Bash to ZSH because of oh-my-ZSH. I think this is just the right time to explain the words Shell, command line, Terminal, Bash and ZSH. Terminal is an terminal emulator, sometimes also called a "terminal window". I work in a window environment (MATE)and I want
PART III: MATRIX MULTIPLICATION ON MULTIPLE CORES IN The ikj single core algorithm implemented in Python needs: time python ikjMultiplication.py -i 2000.in > 2000-nonparallel.out real 36m0.699s user 35m53.463s sys 0m2.356s. The most simple way to parallelize the ikj algorith is to use the multiprocessing module and compute everyline of
MY LATEX TIKZ TEMPLATE · MARTIN THOMA How to use it ¶. You have to place the Makefile in the same folder as latex-document.tex. If you have done this and if you meet the requirements, you can execute: make: Generates a PDF file from latex-document.tex. make svg: Generates a SVG file from the generated PDF file. make transparentGif: Generates a transparent Gif from thePDF file.
COMPARING DATES IN PHP AND MYSQL · MARTIN THOMA And it compares the "integered" DATETIME 20111004210710 for 2011-10-04 21:07:10 with 1317750167. This is obviously crap. Don't do it. Never. Instead you should convert your dates with UNIX_TIMESTAMP(your_datetime) or FROM_UNIXTIME(unix_timestamp). CONFIGURATION FILES IN PYTHON · MARTIN THOMA Most interesting programs need some kind of configuration: Content Management Systems like WordPress blogs, WikiMedia and Joomla need to store the information where the database server is (the hostname) and how to login (username and password) Proprietary software might need to store if the software was registered already (the serial GOTO IN PYTHON, JAVA AND C++ · MARTIN THOMAIMPORT GOTO PYTHONPYTHON DOWNLOADTURTLE GOTO PYTHONW3SCHOOLS PYTHONPYTHON PROGRAMMING LANGUAGEGOTO FUNCTION IN PYTHON GOTO in Python, Java and C++. GOTO is a statement of the early beginnings of programming. It is rarely used in high-level code today. Code that makes use of it is called Spaghetti code by some people. I have almost never seen goto statements in code, so I've been curious about them. GOTO from xkcd.com. FRACTIONS IN C++ · MARTIN THOMA Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules FLASK CHAT - PART I · MARTIN THOMASEE MORE ON MARTIN-THOMA.COMTHOMAS MARTIN ESQTHOMAS MARTIN FACEBOOKTHOMAS MARTIN LAWYERTHOMAS MARTIN MONK PART II: THE STRASSEN ALGORITHM IN PYTHON, JAVA AND C++ The Strassen algorithm has a time complexity of O(nlog2(7)+o(1)) ≈ O(n2.807) O ( n l o g 2 ( 7) + o ( 1)) ≈ O ( n 2.807). The idea is similar to the Karatsuba algorithm for simple multiplication. Basically, you make a tradeof: Instead of one multiplication, you use many additions. As additions are - at least for humans - easier, youmight
SIAMESE NETWORKS · MARTIN THOMA Siamese Networks. Siamese Networks are feature extractors trained to learn an embedding in Rn R n where not the absolute output is important, but the relative one. Schema of a Siamese Network m1 m 1. The original paper 1 was about signature verification. You have one original signature and one that might be the same or might be adifferent one.
MOVIELENS DATA SET · MARTIN THOMA The Data ¶. The Movielens 20M contains 20 million movie ratings. They were created by 138,000 users for 27,000 movies. The data looks like this: userId movieId rating timestamp 0 1 2 3.5 1112486027 1 1 29 3.5 1112484676 2 1 32 3.5 1112484819 3 1 47 3.5 1112484727 4 1 50 3.5 1112484580 5 1 112 3.5 1094785740 6 1 151 4.0 1094785734 7 1 223 4.0 CREATING PDF-FORMS WITH LATEX · MARTIN THOMA I've just stumbled across a full, working example how to create a html form within an LaTeX document. You can fill this form within your PDF-Reader. Here is the example PDF-file. It looks like this in Chromes PDF reader: PDF LaTeX form in Chrome \documentclass{article} \usepackage{amssymb BASIC MULTITHREADING IN JAVA · MARTIN THOMA Basic Multithreading in Java. A lot of computing power is wasted in many programs as most programs use only one core. If your program is computation intensive, you might want to put some extra effort in your program and make use of this wasted computing power. There are two ways to execute your code on multiple cores: Multiprocessing and EXECUTE PYTHON ON APACHE2 · MARTIN THOMA I have to run a very simple Python script on an Apache2 web server. These were the steps with which I made it work: Find the Apache2config
CONFIGURATION FILES IN PYTHON · MARTIN THOMA Most interesting programs need some kind of configuration: Content Management Systems like WordPress blogs, WikiMedia and Joomla need to store the information where the database server is (the hostname) and how to login (username and password) Proprietary software might need to store if the software was registered already (the serial GOTO IN PYTHON, JAVA AND C++ · MARTIN THOMAIMPORT GOTO PYTHONPYTHON DOWNLOADTURTLE GOTO PYTHONW3SCHOOLS PYTHONPYTHON PROGRAMMING LANGUAGEGOTO FUNCTION IN PYTHON GOTO in Python, Java and C++. GOTO is a statement of the early beginnings of programming. It is rarely used in high-level code today. Code that makes use of it is called Spaghetti code by some people. I have almost never seen goto statements in code, so I've been curious about them. GOTO from xkcd.com. FRACTIONS IN C++ · MARTIN THOMA Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules FLASK CHAT - PART I · MARTIN THOMASEE MORE ON MARTIN-THOMA.COMTHOMAS MARTIN ESQTHOMAS MARTIN FACEBOOKTHOMAS MARTIN LAWYERTHOMAS MARTIN MONK PART II: THE STRASSEN ALGORITHM IN PYTHON, JAVA AND C++ The Strassen algorithm has a time complexity of O(nlog2(7)+o(1)) ≈ O(n2.807) O ( n l o g 2 ( 7) + o ( 1)) ≈ O ( n 2.807). The idea is similar to the Karatsuba algorithm for simple multiplication. Basically, you make a tradeof: Instead of one multiplication, you use many additions. As additions are - at least for humans - easier, youmight
SIAMESE NETWORKS · MARTIN THOMA Siamese Networks. Siamese Networks are feature extractors trained to learn an embedding in Rn R n where not the absolute output is important, but the relative one. Schema of a Siamese Network m1 m 1. The original paper 1 was about signature verification. You have one original signature and one that might be the same or might be adifferent one.
MOVIELENS DATA SET · MARTIN THOMA The Data ¶. The Movielens 20M contains 20 million movie ratings. They were created by 138,000 users for 27,000 movies. The data looks like this: userId movieId rating timestamp 0 1 2 3.5 1112486027 1 1 29 3.5 1112484676 2 1 32 3.5 1112484819 3 1 47 3.5 1112484727 4 1 50 3.5 1112484580 5 1 112 3.5 1094785740 6 1 151 4.0 1094785734 7 1 223 4.0 CREATING PDF-FORMS WITH LATEX · MARTIN THOMA I've just stumbled across a full, working example how to create a html form within an LaTeX document. You can fill this form within your PDF-Reader. Here is the example PDF-file. It looks like this in Chromes PDF reader: PDF LaTeX form in Chrome \documentclass{article} \usepackage{amssymb BASIC MULTITHREADING IN JAVA · MARTIN THOMA Basic Multithreading in Java. A lot of computing power is wasted in many programs as most programs use only one core. If your program is computation intensive, you might want to put some extra effort in your program and make use of this wasted computing power. There are two ways to execute your code on multiple cores: Multiprocessing and EXECUTE PYTHON ON APACHE2 · MARTIN THOMA I have to run a very simple Python script on an Apache2 web server. These were the steps with which I made it work: Find the Apache2config
FRACTIONS IN C++ · MARTIN THOMA Today, I thought I should try to implement a class in C++ that deals with fractions. This is actually quite easy as I'll show you. First some math Names When you have a fraction \(\frac{a}{b}\) then \(a\) is called numerator and \(b\) is called denominator. Operations The rules GOTO IN PYTHON, JAVA AND C++ · MARTIN THOMA GOTO in Python, Java and C++. GOTO is a statement of the early beginnings of programming. It is rarely used in high-level code today. Code that makes use of it is called Spaghetti code by some people. I have almost never seen goto statements in code, so I've been curious about them. GOTO from xkcd.com. SIAMESE NETWORKS · MARTIN THOMA Siamese Networks. Siamese Networks are feature extractors trained to learn an embedding in Rn R n where not the absolute output is important, but the relative one. Schema of a Siamese Network m1 m 1. The original paper 1 was about signature verification. You have one original signature and one that might be the same or might be adifferent one.
COLORS IN LATEX · MARTIN THOMA LaTeX knows the following colors without any packages: black blue brown cyan darkgray gray green lime magenta olive orange pink purple red teal violet white yellow If you want other colors, you can define them with \usepackage{xcolor} and \definecolor{name}{model}{color-spec} where: name is the name of the HOW TO CREATE A DIGITAL SIGNATURE · MARTIN THOMA At first, you have to write your signature on a white sheet of paper. You might have to make several tries: Some tries for a nice signature. Then you should scan it in a high quality. Now crop the image to the size you like. I have used GIMP for this task: Crop the image to the correct section with GIMP. Now you should have an image like this SOLVING LINEAR EQUATIONS WITH GAUSSIAN Solving linear equations with Gaussian elimination. Please note that you should use LU-decomposition to solve linear equations. The following code produces valid solutions, but when your vector b b changes you have to do all the work again. LU-decomposition is faster in those cases and not slower in case you don't have to solveequations with
WORKING WITH TERMINAL · MARTIN THOMA I've just switched from Bash to ZSH because of oh-my-ZSH. I think this is just the right time to explain the words Shell, command line, Terminal, Bash and ZSH. Terminal is an terminal emulator, sometimes also called a "terminal window". I work in a window environment (MATE)and I want
PART III: MATRIX MULTIPLICATION ON MULTIPLE CORES IN The ikj single core algorithm implemented in Python needs: time python ikjMultiplication.py -i 2000.in > 2000-nonparallel.out real 36m0.699s user 35m53.463s sys 0m2.356s. The most simple way to parallelize the ikj algorith is to use the multiprocessing module and compute everyline of
MY LATEX TIKZ TEMPLATE · MARTIN THOMA How to use it ¶. You have to place the Makefile in the same folder as latex-document.tex. If you have done this and if you meet the requirements, you can execute: make: Generates a PDF file from latex-document.tex. make svg: Generates a SVG file from the generated PDF file. make transparentGif: Generates a transparent Gif from thePDF file.
COMPARING DATES IN PHP AND MYSQL · MARTIN THOMA And it compares the "integered" DATETIME 20111004210710 for 2011-10-04 21:07:10 with 1317750167. This is obviously crap. Don't do it. Never. Instead you should convert your dates with UNIX_TIMESTAMP(your_datetime) or FROM_UNIXTIME(unix_timestamp).* Martin Thoma
* Home
* Categories
* Tags
* Archives
* Support me
*
RECENT POSTS ALL POSTS CODE GOLF: BRACKETS CHECK Write a function check_bracket_validity which takes a sequence of brackets as input and determines if it is valid. A sequence is valid, iff: All opened brackets close Brackets come in pairs - only what was opened can be closed again The 3 styles which should be supported are: Round brackets: ( and … Read More » SOFTWARE ARCHITECTURE My mentee recently asked me what software architecture is. How do you draw an architecture diagram? What is a bad one and how do I learn to draw good ones? The software architecture gives a very high-level overview of a software system. Typical Components A software architecture tries to solve … Read More »MIGRATE TO PYTHON 3
When I gave a Python Packaging Course, I advised my students to always use Python 3. After all, Python 2 is dead. But one student said she had to use Python 2 as there is a package she definitely needs to use. And it's Python 2 only. What can one … Read More » LARGET CONTINUOUS SUB-ARRAY I recently taught a course about improving code for performance. An obvious performance improvement is to not execute unnecessary operations. I lacked a good example when I gave the course, but here is one: Find value of the largest continuous sub-array of fixed length in a huge array. This is … Read More »FILE COMPRESSION
I'm currently creating a backup of my domain martin-thoma.de. It is pretty small, but the MySQL database behind it grew extremely as I stored every drawing from write-math.com in there. For this reason, I want to store that specific table in a compressed way. But which compression format … Read More » MATRIX MULTIPLICATION: 2020 UPDATE In 2012 I wrote a series of articles about matrix multiplication. Now I'm preparing a course about speeding up Python. For this reason I need an example of code that is fairly simple to understand and can be optimized. So let's update the results of my old articles :-) The code… Read More »
CURRENT PYTHON VERSIONS Which Python versions should my library support? For which version should I develop my web service / application? For the second question, I like to never take a x.y.0 version. Let them get the patches out first. Lifecycle of cPython I've asked which CPython versions get support right now … Read More » PYTHON PACKAGING COURSE The Python Environment is old. Python development started before the internet. Naturally, such a grown environment is messy: Python Environment In this course, you will learn the details about Python packaging and how all of the tools related. Application Types Library: Should be included in other code. It will never … Read More » VIRTUAL ENVIRONMENTS A virtual environment is an isolated Python environments. It has it's own installed site-packages which can be different from the systems site-packages. TL;DR: pipenv is your friend; it allows you to forget about the others. virtualenv virtualenv was created by Ian Bicking. The first version on PyPI is from … Read More »PYPI ANALYSIS 2020
I've created an introductory post where I looked at the packages meta data in a very superficial way. In the second post I analyzed the relationships between packages by looking at a dependency graph. Now, in the beginning of 2020, I've updated the code and ran my analysis again. Have … Read More » * Martin Thoma - A blog about Code, the Web and Cyberculture * Datenschutzerklärung* Impressum
* Powered by Pelican . Theme: Elegantby Talha Mansoor
Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0