Community Profile # Karl Ezra Pilario

### University of the Philippines - Diliman

Last seen: 2 dagar ago Active since 2017

Associate Professor, University of the Philippines - Diliman, Department of Chemical Engineering. Research Interests: process data analytics, process systems engineering, machine learning.

Programming Languages:
MATLAB
Spoken Languages:
English

#### Statistics

All
• • • • • • • • • • • • #### Content Feed

View by

Submitted

Tutorial: Bayesian Optimization
1D and 2D black-box Bayesian optimization demonstration with visualizations. Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

Submitted

Tutorial: Genetic Algorithm and Particle Swarm Optimization
GA and PSO: Code with comments for understanding the algorithms. Solved

Number Puzzles - 006

Solved

Number Puzzles - 008

Solved

Number Puzzles - 009

Solved

Number Puzzles - 011

Solved

Number Puzzles - 005

Solved

Number Puzzles - 010

Solved

Number Puzzles - 003
Find six non-zero integers a, b, c, d, e, and f which satisfy the following equations: All six integers must be different. Th...

Solved

Number Puzzles - 007

Solved

Number Puzzles - 004
Give an example of three distinct numbers greater than 10 whose both product and sum are palindromes. The answer is not unique a...

Solved

Area of a triangle given its sides

Solved

Mean number of letters per word (Easy)
Given a character array, s, representing a sentence, return a, the arithmetic mean of the number of letters per word in the give...

Solved

Draw the symbol '+'
Draw '+' in an x-by-x matrix (where x is odd and x >3) Example: x = 5 y = [0 0 1 0 0 0 0 1 0 0 1 1 1 1 1 0 ...

Solved

Add the number of horizontal and vertical movements to each matrix element
Given n, create a square matrix and with element (1,1) = 1, add 1 to each element for each horitizonal and vertical movement. E...

Solved

Area of a regular hexagon
Given the length of a side of a regular hexagon, return its area rounded to two decimal places.

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

Solved

Given a and b, return the sum a+b in c.

Solved

what's my tax amount this year ?
given an annual salary x and a tax rate i calculate the amount that you have to pay.Example x = 70000; i=.10 y_correc...

Solved

Height of a 3D Pyramid
If a pyramid is made with one(1). What will be the height of the pyramid of square shaped base(n*n)? where input is n.

Solved

Pairwise column flip
Given matrix *M_in*, flip every pair of columns. So if *M_in* is 1 2 3 4 1 2 3 4 then *M_out* is 2 1 4 3 2 1 4 3 ...

Solved

Tribonacci Sequence
Generate the tribonacci sequence upto n

Solved

Total resistance of a network of resistors in series and parallel
What is the total resistance of a network of resistors in series and in parallel? A matrix R contains the resistances (in Ohm) ...

Solved

Find the summation, mean, median, mode and standard deviation of a given array.
An array is given. Find out the summation, mean, median, mode and standard deviation of a given array. If x=[1,2,2,3,3,3,4,4,4,...

Solved

Total resistance of resistors in parallel
What is the total resistance of a number of resistors in parallel? A vector R contains the resistances (in Ohm) of n resistors,...

Solved

Total resistance of resistors in series
What is the total resistance of a number of resistors in series? A vector R contains the resistances (in Ohm) of n resistors, w...

Solved

Guess the Coefficients!
Given a polynomial _p_ known to have positive integer coefficients, deduce the values of the coefficients. For example: ...

Solved

Summing Rows and Columns
Create a matrix y of size (n+1) whose last column's elements are the summation of the elements of all the other columns and last...