This gist has been moved to https://github.com/offchan42/machine-learning-curriculum
Please see that repository instead because you can make pull requests there and later updates will be pushed there too.
===
#include <bits/stdc++.h> | |
using namespace std; | |
typedef long long ll; | |
typedef pair<int, int> ii; | |
typedef vector<ii> vii; | |
typedef vector<int> vi; | |
#define INF 1001001001 // 1 billion, safer than 2B for Floyd Warshall’s | |
#define EPS 1e-9 |
#include <iostream> | |
using namespace std; | |
int main() { | |
int n; | |
cin >> n; | |
int fields[50][50] = {}; // set to zero | |
for (int i = 0; i < n; i++) { | |
int v = i+1; |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Collections; | |
import java.util.List; | |
import java.util.stream.IntStream; | |
/** | |
* Created by off999555 on 20/11/2558 at 14:27. | |
*/ | |
public class TestStreamPrimeGenerator { |
===
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
git config --global alias.co checkout | |
git config --global alias.br branch | |
git config --global alias.ci commit | |
git config --global alias.st status |
I don't know lots about trees. Just looking at their leaves, I know that experts could pinpoint exactly what is the tree's name. But I couldn't do that so I want to have an application that recognizes trees from just looking at its leaf photo.
You could use this for fun, just learning about trees or use it for research. Sometimes, even if you are in a forest full of trees you don't recognize, use LeafNet. It would tell you whether or not the leaves you find are edible or poisonous.
#include <iostream> | |
#include <gl/glut.h> | |
using namespace std; | |
int W = 500; // window width | |
int H = 500; // window height | |
float time = 0; // เวลาปลอมๆสำหรับทำอนิเมชัน | |
float timeRate = 0.001; // timeRate นี่เป็นเรทเวลาจำลอง ปรับได้ถ้าอยากให้อนิเมชันมันช้าหรือเร็วขึ้น | |
// your global variables here ... | |
// e.g. float x = 10; |