上一页 1 2 3 4 5 6 ··· 72 下一页
摘要: divided by each column's max df.apply(lambda x: x / x.max()) 阅读全文
posted @ 2020-12-02 20:46 2021年的顺遂平安君 阅读(239) 评论(0) 推荐(0) 编辑
摘要: apt purge opera-stable rm -vrf ~/{.cache,.config}/opera 阅读全文
posted @ 2020-11-27 23:31 2021年的顺遂平安君 阅读(235) 评论(0) 推荐(0) 编辑
摘要: echo foo_{0..54}.jpg echo foo_{0..54..2}.jpg 以下为转载 1.1、通配符 “*”:匹配任意字符串,包括空字符串,不包含对“/”字符的匹配。 “?”:匹配任意单个字符,不能匹配“/”字符。 1.2、字符类 “[abc]”:匹配“a”或者“b”或者“c”字符。 阅读全文
posted @ 2020-11-27 20:52 2021年的顺遂平安君 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 使用 f-string print(f"y1/y2: {y1:.6e}/{y2:.6e}") # y1/y2: 4.282000e-11/1.562123e-10 使用% print('%d %s cost $%.2f' % (6, 'bananas', 1.74)) # 6 bananas cos 阅读全文
posted @ 2020-11-27 18:55 2021年的顺遂平安君 阅读(128) 评论(0) 推荐(0) 编辑
摘要: TensorFlow 每次运行的时候都会弹出类似下面的调度信息 I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally I tensorflow/str 阅读全文
posted @ 2020-11-22 20:44 2021年的顺遂平安君 阅读(294) 评论(0) 推荐(0) 编辑
摘要: In [22]: y_true = [[0], [1]] In [23]: y_pred = [[0.9], [0.9]] In [24]: tf.keras.losses.binary_crossentropy(y_true, y_pred) Out[24]: <tf.Tensor: shape= 阅读全文
posted @ 2020-11-21 17:26 2021年的顺遂平安君 阅读(1857) 评论(0) 推荐(0) 编辑
摘要: relig_income #> # A tibble: 18 x 11 #> religion `<$10k` `$10-20k` `$20-30k` `$30-40k` `$40-50k` `$50-75k` `$75-100k` #> <chr> <dbl> <dbl> <dbl> <dbl> 阅读全文
posted @ 2020-11-21 17:23 2021年的顺遂平安君 阅读(884) 评论(0) 推荐(0) 编辑
摘要: find . -type f -iname \*.jpg -delete -type 文件类型 -iname 区分大小写 -delete 对符合条件的文件执行删除命令 最好先运行不带-delete的版本查看符合条件的文件。 阅读全文
posted @ 2020-11-21 17:20 2021年的顺遂平安君 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 明明没有在跑大程序,苹果的风扇还是狂转不停。看来传感器不是特别灵敏。找到一个可以手动调节的软件,可以保持中等转速。 https://crystalidea.com/macs-fan-control/download 世界瞬间清净。 阅读全文
posted @ 2020-11-21 17:19 2021年的顺遂平安君 阅读(607) 评论(0) 推荐(0) 编辑
摘要: Tidyverse selections implement a dialect of R where operators make it easy to select variables: : for selecting a range of consecutive variables. ! fo 阅读全文
posted @ 2020-11-21 17:17 2021年的顺遂平安君 阅读(162) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 72 下一页