For your problem, you can write your code with the same structure that is in notebook as below,
# Transposing a matrix of shape (n, k) to shape (k, n)
# for example
import numpy as np
x = np.array([
[0,0,1,2,3,4],
[1,2,3,4,5,6],
[2,3,4,5,6,7],
[3,4,5,6,7,8],
[4,5,6,7,8,9],
[5,6,7,8,9,10]])
# x is of shape (4,5)
X = np.reshape(x, (5, 4))
k = 3
# matrix X of shape (3,5)
Y = np.reshape(x, (3, 5))
# Y is of shape (3,5)
These two arrays are the data you will be using for your problem.
Once you have written your code in the Kaggle Notebook,
you can upload the file using the Upload button in the top right corner of the editor.
You can check the status of the file and the output by clicking the status link from the editor, and from the link you can download the output file as well.
Click here to start the challenge.
How and why did this plant evolve such a unique and spectacular flower?
The peepal tree (Bombax ceiba) is a flowering tree in the soap-nut family (Bombacaceae) with many different varieties. The name "peepal tree" comes from the Hindi word for flower. Its flowers bloom in the rainy season from November through February in Central India, where it is very common.
Of the 150 species in the genus Bombax, B. ceiba is the largest and most widely distributed, growing from North Africa and the Middle East through China, Indonesia, and the Philippines to the Himalayas. It is a very distinctive tree, often reaching 30 m tall, with large, showy, fragrant, purple-blue, trumpet
Related links:
Comments