Library

All tutorials

Every Liberian Geek guide, newest first. Browse by topic from the menu, or search for the task you need.

1,384 guides · page 17

How to Install Pop!_OS on VMware

In the world of operating systems, Linux has made a significant mark, providing users with a diverse range of distributions that are tailored to their specific needs. Pop!_OS, a Linux distribution developed by System76, is one such offering.  Known for its...

Sort a Map by Value in Java

Map is the efficient data structure that stores user-provided data according to the natural order in key-value pairs. It assigns a unique key to each map element. This key is utilized to retrieve the corresponding values from the map. Due to this “key-value” pair...

Work With a List of Lists in Java

The List is a collection of data that stores information in a specific order. The unique number is assigned to each List item known as the index number. The single index in the list can store a single object or list of objects. A list that has a nested structure (list...

How to Calculate Contrastive Loss of PyTorch

PyTorch framework is useful in building AI algorithms using Machine or Deep Learning models. In supervised learning, these models use the output data called labeled features to calculate the loss value of the model’s predictions. Contrastive is a learning technique...

How to Use Adam Optimizer in PyTorch?

Deep Learning models use neural networks containing neurons within multiple layers. These neurons are connected across layers with their weights, and optimizers are responsible for updating those weights to reduce the loss value and improve accuracy. Two of the most...