[博客链接] [1]
在上面的博客页面中,如何增加每个帖子的标题字体?
答案 0 :(得分:1)
在style.css中添加以下内容。 Appearance->编辑器 - > style.css中
def build_estimator(model_dir):
"""Build an estimator."""
params = tensor_forest.ForestHParams(
num_classes=2, num_features=5,
num_trees=FLAGS.num_trees, max_nodes=FLAGS.max_nodes)
graph_builder_class = tensor_forest.RandomForestGraphs
if FLAGS.use_training_loss:
graph_builder_class = tensor_forest.TrainingLossForest
# Use the SKCompat wrapper, which gives us a convenient way to split
# in-memory data like MNIST into batches.
return estimator.SKCompat(random_forest.TensorForestEstimator(
params, graph_builder_class=graph_builder_class,
model_dir=model_dir))
model_dir = tempfile.mkdtemp() if not FLAGS.model_dir else FLAGS.model_dir
est = build_estimator(model_dir)
COLUMNS = [ "a", "b", "c",
"d", "e", "f"]
postData = pd.read_csv("PostData2Cut.csv", names=COLUMNS, skipinitialspace=True, dtype=np.float32)
est.fit(x=postData[["a", "b", "c",
"d", "e"]], y=postData[["f"]],
batch_size=FLAGS.batch_size)
答案 1 :(得分:0)
使用firefox / chrome的Element Inspector等工具查找要更改的元素的类/ ID,然后为元素添加适当的样式。