- Let us say, you are writing a nice and clean Machine Learning code (e.g. Linear Regression).
- As the name of the suggests, cross-validation is the next fun thing after learning Linear Regression because it helps to improve your prediction using the K-Fold strategy.
- But we divide the dataset into equal K parts (K-Folds or cv).
- Then train the model on the bigger dataset and test on the smaller dataset.
- This graph represents the k- folds Cross Validation for the Boston dataset with Linear Regression model.
Cross-validation helps to improve your prediction using the K-Fold strategy. What is K-Fold you asked? Check out this post for a visualized explanation.
Continue reading “Visualizing Cross-validation Code”
Researchers have successfully given AI a curiosity implant, which motivated it to explore a virtual environment.
Continue reading “Researchers Have Created an AI That Is Naturally Curious”
- KDnuggets Home > News > 2017 > Feb > Tutorials, Overviews > Learning to Learn by Gradient Descent by Gradient Descent ( 17:n05 )
- Suppose we are training g to optimise an optimisation function f .
- And thereâ s something especially potent about learning learning algorithms, because better learning algorithms accelerate learningâ ¦
- Casting algorithm design as a learning problem allows us to specify the class of problems we are interested in through example problem instances.
- Each function in the system model could be learned or just implemented directly with some algorithm.
What if instead of hand designing an optimising algorithm (function) we learn it instead? That way, by training on the class of problems we’re interested in solving, we can learn an optimum optimiser for the class!
Continue reading “Learning to Learn by Gradient Descent by Gradient Descent”
- Tensorflow: How to freeze a model and serve it with a python API
- But when we want to serve a model in production, we don’t need any special metadata to clutter our files, we just want our model and its weights nicely packaged in one file.
- How to export a model and have a simple self-sufficient file for it
- Retrieve our saved graph: we need to load the previously saved meta graph in the default graph and retrieve its graph_def (the ProtoBuf definition of our graph)
- How to use Queue for efficient caching inside your models, Wavenet usecase.
If you wonder how to save a model with TensorFlow, please have a look at my previous article before going on. The important files here are the “.chkp” ones. If you remember well, for each pair at…
Continue reading “Tensorflow: How to freeze a model and serve it with a python API”