#@title Copyright 2020 Google LLC. Double-click here for license information.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import numpy as np
one_dimensional_array = np.array([1.2, 2.4, 3.5, 4.7, 6.1, 7.2, 8.3, 9.5])
print(one_dimensional_array)
two_dimensional_array = np.array([[6, 5], [11, 7], [4, 8]])
print(two_dimensional_array)
zero_array = np.zeros((2,3))
print(zero_array)
# Create a 4 by 6 array of all ones and print the array.
one_array = []
print(one_array)
sequence_of_integers = np.arange(5, 12)
print(sequence_of_integers)
random_integers_between_50_and_100 = np.random.randint(low=50, high=101, size=(6))
print(random_integers_between_50_and_100)
random_floats_between_0_and_1 = np.random.random([6])
print(random_floats_between_0_and_1)
#Create a 2 by 3 array of random floating point values. Print the array.
random_Maatrix = []
print(random_Maatrix)
random_floats_between_2_and_3 = random_floats_between_0_and_1 + 2.0
print(random_floats_between_2_and_3)
random_integers_between_150_and_300 = random_integers_between_50_and_100 * 3
print(random_integers_between_150_and_300)
feature = []
print(feature)
label = []
print(label)
noise = []
print(noise)
label = []
print(label)
#Your code here
np.random.seed(21) # This guarantees the code will generate the same set of random numbers whenever executed