为什么用八层的CNN?

为什么每隔两层用dropout 和pooling,为什么不是每层或者每隔三层?

讲一下dropout?

怎么计算的精确度?(softmax)

讲一下k-means clustering, 用的什么距离算法?(这里用的是欧几里得距离)

[data scientist面试总结]

TensorFlow用过什么功能,举例(验证你用过TensorFlow)

tf.Variable(tf.random_normal(shape, stddev=stddev), name=name)

x = tf.placeholder(tf.float32, [None, 784])
y_ = tf.placeholder(tf.float32, [None, 10])

hidden = tf.matmul(x, weight1) + bias1
hidden = tf.nn.relu(hidden)

cost = tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits_v2(logits=y, labels=y_))

train_op = tf.train.GradientDescentOptimizer(learning_rate).minimize(cost)

accuracy = tf.reduce_mean(tf.cast(tf.equal(tf.argmax(y, 1), tf.argmax(y_, 1)), tf.float32))

怎么把不同类型的数据转换成TensorFlow可以使用的数据?Matrix, Text?

数据分析项目中怎么用的Folium, 在实际画地图的时候,如果遇到GPS重合的情况怎么办?

cols = ["Latitude", "Longitude"]
task4_frame = task1_frame[task1_frame["TRIP_ID"] == "190676"][cols]
task4_frame = task4_frame.dropna()  # drop all rows contain NaN
latitude = task4_frame["Latitude"].values
longitude = task4_frame["Longitude"].values

center = (latitude.mean(), longitude.mean())
points = [(lat, lon) for lat, lon in zip(latitude, longitude)]
start_point, end_point = points[0], points[-1]

# cf. http://python-visualization.github.io/folium/docs-v0.5.0/modules.html#id1
folium_map = folium.Map(location=center, zoom_start=13, tiles="OpenStreetMap")
# start point
folium.CircleMarker(location=start_point, radius=10, weight=3, color='red', opacity=0.8).add_to(folium_map)
# end point
folium.CircleMarker(location=end_point, radius=10, weight=3, color='blue', opacity=0.8).add_to(folium_map)
# route 
folium.PolyLine(points, color="green", weight=2.5, opacity=1).add_to(folium_map)
folium_map.save('results/route_plot.html')
folium_map

印象最深刻的项目?

相关文章:

  • 2022-01-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-28
  • 2021-05-24
  • 2021-03-31
  • 2021-12-25
  • 2021-10-15
相关资源
相似解决方案