In the middle of the desert you can say anything you want
Gitlab makes stuff really easy to use by providing copy-pasteable commands!
The container registry, when empty, shows that you basically need to build and push a Docker image to the registry to make it not-empty. I guess you just enable it and you’re set.
algorithm2e - How to add input and output before algorithm procedure - TeX - LaTeX Stack Exchange:
...
\hspace*{\algorithmicindent} \textbf{Input} \\
\hspace*{\algorithmicindent} \textbf{Output}
\begin{algorithmic}[1]
also:
% rename `for all` into `for each`
\renewcommand{\algorithmicforall}{\textbf{for each}}
% remove leading triangle-thing-symbol from comments
\algrenewcommand{\algorithmiccomment}[1]{\hfill#1}
Finally, since the computation of the optimal operating point cannot be performed during the surgical procedures due to the absence of a golden standard of the undergoing patient, a surgical aid visualization system was developed to this end (Figure 6). In this system, the operating surgeon is able to determine the optimal result on the density map by manually adjusting the threshold values of the tumor, normal and hypervascularized classes. These threshold values establish the minimum probability where the pixel must correspond to a certain class in the classification map generated by the 1D-DNN
In this paper, we explore the effects of degraded inputs in hyperspectral image classification including the five typical degradation problems of low spatial resolution, Gaussian noise, stripe noise, fog, and shadow. Seven representative classification methods are chosen from different categories of classification methods and applied to analyze the specific influences of image degradation problems.
In postprocessing methods, the raw classification map is often calculated from a pixelwise HSI classification approach and then optimized according to the spatial dependency [26]. References [27,28] used the Markov random fields (MRF) regularizer to adjust the classification results obtained by the MLR method in dynamic and random subspaces, respectively. In order to optimize the edges of classification results, Kang et al. [29] utilized guidance images on the preliminary class-belonging probability map for edge-preserving. This group of strategies can better describe the boundary of classification objects, remove outliers, and refine classification results
Several approaches to improve artificial networks were considered, such as testing different pre-processing steps (e.g. normalization) [26] and architectures (e.g. CNN) [28]. Recent studies showed that post-processing is an important step in ML pipelines [29].
Several approaches to improve artificial networks were considered, from testing different architectures (e.g. CNN [28], also in combination with squeeze-and-excitation networks[XXX]), to testing different pre-processing (e.g. normalization)[26] or post-processing steps.[29].
In particular, postprocessing is often used to optimize a raw pixelwise classification map, using various methods, e.g. using guidance images for edge-preserving, as part of a group of strategies used to better define the boundaries of classification objects, remove outliers, refine classification results. In particular, Edge Preserving Filtering (EPF)3 has been shown to improve the classification accuracy significantly in a very short time. Another approach is the use of a Markov Random Field (MRF)4, where the class of each pixel is determined based on the probability of the pixel itself, the adjacent pixels, and the solution of a minimization problem.
Applied Sciences | Free Full-Text | Comparison of Convolutional Neural Network Architectures for Classification of Tomato Plant Diseases ↩︎
29 / Kang, X.; Li, S.; Benediktsson, J.A. Spectral–Spatial Hyperspectral Image Classification with Edge-Preserving Filtering. IEEE Trans. Geosci. Remote Sens. 2014, 52, 2666–2677. [Google Scholar] [CrossRef] ↩︎
86 / Tarabalka, Y.; Fauvel, M.; Chanussot, J.; Benediktsson, J.A. SVM- and MRF-Based Method for Accurate Classification of Hyperspectral Images. IEEE Geosci. Remote Sens. Lett. 2010, 7, 736–740. [Google Scholar] [CrossRef][Green Version] ↩︎
TIL from my wife in the context of checkbox detection! letters detection fourier transform – Google Suche
TL;DR you can use fourier transforms on letters, that then lead to differentiable results! Bright lines perpendicular to lines in the original letter etc.
Good-bye old personal wiki, AKA Fiamma. Here are some screenshots which will soon become old and nostalgic:
I’ve also archived it, hopefully won’t turn out to be a bad idea down the line (but that ship has sailed long ago…):
Will be using the Links blog from now on: https://serhii.net/links
python - How to have actual values in matplotlib Pie Chart displayed - Stack Overflow:
def absolute_value(val):
a = numpy.round(val/100.*sizes.sum(), 0)
return a
plt.pie(sizes, labels=labels, colors=colors,
autopct=absolute_value, shadow=True)
Can be also used to add more complex stuff inside the wedges (apparently the term for parts of the ‘pie’).
I did this:
def absolute_value(val):
a = int(np.round(val/100.*np.array(sizes).sum(), 0))
res = f"{a} ({val:.2f}%)"
return res
for this:
Based on feedback on a paper I wrote:
Stumbled upon zyedidia/micro: A modern and intuitive terminal-based text editor. Simple text editor that wants to be the successor of nano, CLI-based. The static .tar.gz contains an executable that can be directly run. Played with it for 30 seconds and it’s really neat**.
(Need something like vim for someone who doesn’t like vim, but wants to edit files on servers in an easy way in case nano isn’t installed and no sudo rights.)
There are online resources:
SO thread1 version:
diff <(jq --sort-keys . A.json) <(jq --sort-keys . B.json)
Wrapped it into a function in my .zshrc
:
jdiff() {
diff <(jq --sort-keys . "$1") <(jq --sort-keys . "$2")
}
vimdiff
is a thing and does this by default!
Otherwise2 diff has the parameters -y
, and --suppress-common-lines
is useful.
This led to jdiff
’s brother jdiffy
:
jdiffy() {
diff -y --suppress-common-lines <(jq --sort-keys . "$1") <(jq --sort-keys . "$2")
}
git diff --no-index
allows to use git diff without the thing needing to be inside a repo. Used it heavily previously for some of its fancier functions. Say hi to gdiff
:
gdiff() {
git diff --no-index "$1" "$2"
}
This is neat: xlsxgrep · PyPI
Supports many grep options.