1.How could multi-label classification improve the usability of the bear classifier?
可以对不存在的熊进行分类
2.How do we encode the dependent variable in a multi-label classification problem?
One-hot encoding: Using a vector of zeros, with a one in each location that is represented in the data, to encode a list of integers.
3.How do you access the rows and columns of a DataFrame as if it was a matrix?
df.iloc
4.How do you get a column by name from a DataFrame?
df[‘name’]
5.What is the difference between a Dataset and DataLoader?
Dataset:: A collection that returns a tuple of your independent and dependent variable for a single item
DataLoader:: An iterator that provides a stream of mini-batches, where each mini-batch is a tuple of a batch of independent variables and a batch of dependent variables
6.What does a Datasets object normally contain?
training set and valid set
7. What does a DataLoaders object normally contain?
training dataloader and valid dataloader
8. What does lambda do in Python?
一种简写函数的方式
9.What are the methods to customize how the independent and dependent variables are created with the data block API?
get_x:自变量
get_y:因变量
10.Why is softmax not an appropriate output activation function when using a one hot encoded target?
softmax只能预测一个结果,无法满足多标签需求
11.Why is nll_loss not an appropriate loss function when using a one-hot-encoded target?
nll_loss只能返回一个激活值
12.What is the difference between nn.BCELoss and nn.BCEWithLogitsLoss?
F.binary_cross_entropy and its module equivalent nn.BCELoss calculate cross-entropy on a one-hot-encoded target, but do not include the initial sigmoid. Normally for one-hot-encoded targets you’ll want F.binary_cross_entropy_with_logits (or nn.BCEWithLogitsLoss), which do both sigmoid and binary cross-entropy in a single function.
13.Why can’t we use regular accuracy in a multi-label problem?
常规准确性函数假设最终预测结果为可能性做的多类别,但是在多标签问题中,需要设置激活阈值,以选择最终预测结果,以便于分类目标比较。
14.When is it okay to tune a hyperparameter on the validation set?
In this case, we’re using the validation set to pick a hyperparameter (the threshold), which is the purpose of the validation set. Sometimes students have expressed their concern that we might be overfitting to the validation set, since we’re trying lots of values to see which is the best. However, as you see in the plot, changing the threshold in this case results in a smooth curve, so we’re clearly not picking some inappropriate outlier. This is a good example of where you have to be careful of the difference between theory (don’t try lots of hyperparameter values or you might overfit the validation set) versus practice (if the relationship is smooth, then it’s fine to do this).
当组成的曲线是平滑的时,可以
15.How is y_range implemented in fastai? (See if you can implement it yourself and test it without peeking!)
def sigmod(x, hi, lo):
return x.sigmod()*(hi-lo)+lo
16.What is a regression problem? What loss function should you use for such a problem?
预测连续型结果,mse
17.What do you need to do to make sure the fastai library applies the same data augmentation to your input images and your target point coordinates?
PointBlock.
The only other difference from the previous data block examples is that the second block is a PointBlock. This is necessary so that fastai knows that the labels represent coordinates; that way, it knows that when doing data augmentation, it should do the same augmentation to these coordinates as it does to the images:

fastai学习:06_multicat Questionnarie相关推荐

  1. fastai学习:01_intro Questionnaire

    fastAI Questionnaire 感觉还挺多的,怪不得说每一课要额外8小时进行学习. 1.Do you need these for deep learning? Lots of math T ...

  2. fastai学习——第一个bug

    跟着视频学习,在运行第一段测试代码的时候出现问题 from fastai.vision.all import * path = untar_data(URLs.PETS)/'images'def is ...

  3. fastai学习:05_pet_breeds Questionnaire

    1.Why do we first resize to a large size on the CPU, and then to a smaller size on the GPU? 首先,在训练模型 ...

  4. fastai学习:02_production Questionnaire

    1.Where do text models currently have a major deficiency? Deep learning is currently not good at gen ...

  5. fastai学习——第二个问题

    第二节课需要使用bing image search api获取bing图片搜索中的熊图片,此时发现获取api需要注册azure,卡在绑定卡上很久,想了想还要去弄一张带visa的卡,还是算了,就用猫狗大 ...

  6. fastai学习笔记——安装

    虽然说是推荐linux,windows可能有bug,但是我还是没办法只用linux win10+anaconda python=3.7 安装很简单 conda install -c fastchan ...

  7. 使用Fastai开发和部署图像分类器应用

    作者|KRRAI77@GMAIL.COM 编译|Flin 来源|analyticsvidhya 介绍 Fastai是一个流行的开源库,用于学习和练习机器学习以及深度学习.杰里米·霍华德(Jeremy ...

  8. 免费GPU哪家强?谷歌Kaggle vs. Colab

    作者 | Jeff Hale 译者 | Monanfei 责编 | 夕颜 出品 | AI科技大本营(id:rgznai100) 谷歌有两个平台提供免费的云端GPU:Colab和Kaggle, 如果你想 ...

  9. 为什么安装的是gpu版本训练时还是用的cpu?_免费GPU哪家强?谷歌Kaggle vs. Colab | 硬核评测...

    作者 | Jeff Hale译者 | Monanfei责编 | 夕颜出品 | AI科技大本营(id:rgznai100) 谷歌有两个平台提供免费的云端GPU:Colab和Kaggle, 如果你想深入学 ...

最新文章

  1. 学神!手握7篇Nature的他,今天再发Science!
  2. 《实时控制软件开发》学生四次作业成绩总排名
  3. C#中串口组件的使用方法总结及上位机制作方法
  4. 解决Intellij IDEA部署JavaWeb项目 404问题
  5. my understanding for love
  6. SAP Spartacus页面css类的赋值逻辑
  7. const char * array[]和char * const array[]
  8. 机器学习之线性代数总结
  9. squid的简单介绍
  10. 计算机技能测试题6,2016年10月自考计算机网络技术练习题及答案(6)
  11. java entry的用法_Java ZipEntry setComment()用法及代码示例
  12. (附源码)springboot卫生院儿童预防接种管理系统 毕业设计 011404
  13. Linux的开源操作系统
  14. python_误差分析
  15. android go 小米1,小米首款Android Go入门机红米Redmi Go发布,1GB+8GB运存
  16. 有没有英语语音测试软件,推荐我用过的几款真正可以找外国人练口语的软件app...
  17. 【DCT】基于simulink的dual clutch Transmission双离合器变速器系统仿真系统详细解析
  18. 青铜变王者,桌面云是如何逆袭的?
  19. 基于gis三维可视化技术的智慧城市建设
  20. 中关村颠覆性技术创新项目资助政策及申报条件重点介绍,补贴500万

热门文章

  1. 决心书之学习linux高级运维
  2. 查看某个文件是否正在被修改
  3. Virtualbox中win7虚拟机中U盘不可用问题的解决
  4. 多域名解析到同一网站C的php重定向代码
  5. Python正则表达式指南上半部
  6. 制作openstack-centos镜像
  7. FATAL ERROR: Could not find ./bin/my_print_defaults 解决方法
  8. arima模型 p q d 确定_自回归移动平均模型(ARMA)
  9. 伪代码书写规范_C++代码书写规范(推荐新手程序员)
  10. python语音识别的第三方库_python标准库+内置函数+第三方库: 7.音频处理