[Flutter] Use staggered_grid_view package to create a pretty grid widget
I ever recorded how to use the built-in ListView
component in [Flutter] Use “ListView” to create a list component, and its display result is as follows:
I ever recorded how to use the built-in ListView
component in [Flutter] Use “ListView” to create a list component, and its display result is as follows:
No matter which applications we are developing, it is difficult for us to put all of programs in one main file (we skip to talk about shortcomings).
Read More »[Flutter] How to import in FlutterLast Updated on 2021-05-30 by Clay
When we designing a mobile application, we are difficult to implement all of functions in just only one page, so we need to divide different functions to different pages.
Read More »[Flutter] How to pass and receive parameters when the page navigationWhen we developing a large-scale Python project, we will start to try various acceleration methods.
Read More »[Linux] Speed Up Pure Python Programs with CythonIf we have both the model classification results and correct answers, we can calculate the Binary Cross Entropy, it is a famous loss function.
Read More »[Machine Learning] Introduction to Binary Cross EntropyWhen using sigmoid function in PyTorch as our activation function, for example it is connected to the last layer of the model as the output of binary classification. After all, sigmoid can compress the value between 0-1, we only need to set a threshold, for example 0.5 and you can divide the value into two categories.
Read More »[PyTorch] Set the threshold of Sigmoid output and convert it to binary valueWhen we using PyCharm IDE to develop a project, sometimes we may delete some files by mistake. Maybe we will feel nervous, but in fact we can restore the deleted files.
Read More »[PyCharm] How to Restore the deleted filesToday if you are preprocessing some machine learning data, maybe you need to convert PyTorch tensor to one-hot encoding type. There is a intuitive method that is convert TENSOR to NUMPY-ARRAY, and then convert NUMPY-ARRAY to one-hot encoding type, just like this article: [Python] Convert the value to one-hot type in Numpy
Read More »[PyTorch] Convert Tensor to One-Hot Encoding TypeNumpy is an important package for processing data in Python. It is often used for various data analysis tasks.
Read More »[Python] Convert the value to one-hot type in NumpyNLLLoss is a loss function commonly used in multi-classes classification tasks. Its meaning is to take log the probability value after softmax and add the probability value of the correct answer to the average.
Read More »[Machine Learning] NLLLoss function introduction and program implementation