A.I, Data and Software Engineering


Movielens automation- Process and export

movie lens automation

Table of contentsMovie Lens datasetsProcess and exportConclusion Movie lens is a popular collection of datasets for recommender systems. This post introduces a python script to process the movie lens datasets, generate a negative sample, and transforms the datasets into SVM light format. The format is also known as libfm format used in many factorization machines. Movie Lens datasets Movie lens...

Game frame rate & Character animations (part 1)


Table of contentsHow many animations in this game sceneAnimation principleThe core frame rateGAME LOOP patternTo Sum upReferences: A simple game does not always come with simple implementation w.r.t character animations. This articles will introduce a practical design pattern in game development to deal with this. How many animations in this game scene Let have a look at the famous game scene of...

Dimension, Dimension, Dimension – Reshape your data

reshape your data

Table of contentsWhy need reshaping dataData Shapes(n, ) shape(1, n) shape(n, 1) shape(m, n) shapeReshape a shape to (almost) any other shape Quickly flatten data Conclusion The most basic yet important thing when working with data array is its dimensions. This article will cover several data shapes and reshaping techniques. Why need reshaping data Imagine that you are starving and suddenly given...

Fun coding challenge: print the American flag


Table of contentsBasic Requirements:Fun facts of students’ solutionsThe advanced requirements:Print flag Using JavaPrint with PythonPrint Flag with Kotlin Printing is an important part when programming. Printing the US flag to the system console was a small part of “the shape game” for kids, in which the players will select the correct name for a given shape. The flag of the...

Advanced Keras – Custom loss functions

Petamind A.I

Table of contentsKeras loss functionsA Simple custom loss functionA custom loss function with parametersMore than one loss function in one modelEnable TF2.0 and load dataClean, split, and normalize data Build a model with custom lossBuild and train the modelVisualise the resultConclusion When working on machine learning problems, sometimes you want to construct your own custom loss function(s)...

A.I, Data and Software Engineering

PetaMinds focuses on developing the coolest topics in data science, A.I, and programming, and make them so digestible for everyone to learn and create amazing applications in a short time.

Pin It on Pinterest