Useful tips for everyday
Why do we freeze layers? Freezing reduces training time as the backward passes go down in number. Freezing all the layers but the last 5…
How do you find the distance between two distributions? Distances as metrics A metric on a set X is a function (called the distance function…
Can you use cross-validation on time series? Cross Validation on Time Series: The method that can be used for cross-validating the time-series model is cross-validation…
When to get invalidargumenterror when using incompatible shapes? Even when you set the batch size as 1, you would get the error “InvalidArgumentError: Incompatible shapes”…
How do you change from base to another environment in Anaconda prompt? Use the terminal or an Anaconda Prompt for the following steps: Create the…
How do I print every line in a file? Use file. readlines() to print every line of a text file Call open(file) to open the…
What to do in pset 1 problem by step? Hello pset is just a copy-paste of what Prof David J.Malan taught us in the video.…
How do I count a list of unique values in Excel? You can use the combination of the SUM and COUNTIF functions to count unique…
Why is cache invalidation hard? At the root, cache invalidation is unsolvable in many scenarios, which is what makes it so hard. It can be…
How can I override default configuration in Cypress? Overriding default Cypress configurations by using a config file. Overriding the default Cypress configurations in the test…