This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================== | |
On Github’s Copilot copyright concerns | |
====================================== | |
(Submission for https://www.fsf.org/blogs/licensing/fsf-funded-call-for-white-papers-on-philosophical-and-legal-questions-around-copilot) | |
In Software, a machine-learning model is the application of a mathematical model - usually from Probability and Statistics - to the decision process. | |
The same mathematical model can be implemented to perform an analysis on other realms - i.e. in gene sequencing it may be called a Bioinformatics model. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adapted from https://gist.github.com/math-a3k/4f660fcc7976a63049b92feed77ca759 | |
from itertools import combinations | |
import numpy as np | |
import matplotlib | |
import matplotlib.pyplot as plt | |
from matplotlib.colors import ListedColormap | |
from scipy.special import comb | |
from sklearn.ensemble import HistGradientBoostingClassifier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from itertools import combinations | |
import numpy as np | |
import matplotlib | |
import matplotlib.pyplot as plt | |
from matplotlib.colors import ListedColormap | |
from scipy.special import comb | |
from sklearn.ensemble import HistGradientBoostingClassifier | |
matplotlib.use("GTK3Cairo") | |
np.random.seed(123456) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
import argparse | |
from sys import stdout | |
parser = argparse.ArgumentParser( | |
description='Updates the plural forms of a .po from initial to final') | |
parser.add_argument('pofile', type=str, help='Po file to be updated') | |
parser.add_argument("--from", type=int, dest='from_plural', |