jaty54/autotrain-data-yetipy
收藏AutoTrain Dataset for project: yetipy
数据集描述
该数据集由AutoTrain自动处理,用于项目yetipy。
语言
数据集的语言BCP-47代码为en。
数据集结构
数据实例
数据集的一个样本如下所示:
json
[
{
"feat_code": "
return self.correctwords(originalwords, [newword], **kwargs)",
"target": "def mergewords(self, newword, *originalwords, **kwargs)",
"text": "TODO: Write documentation",
"feat_loss_without_docstring": 9.7212610245,
"feat_loss_with_docstring": 9.146777153,
"feat_factor": 1.0628072448
},
{
"feat_code": "
if size == 0: return [] #for efficiency
context = []
e = self
while len(context) < size:
e = e.previous(True,scope)
if not e: break
context.append(e)
if placeholder:
while len(context) < size:
context.append(placeholder)
context.reverse()
return context",
"target": "def leftcontext(self, size, placeholder=None, scope=None)",
"text": "Returns the left context for an element, as a list. This method crosses sentence/paragraph boundaries by default, which can be restricted by setting scope",
"feat_loss_without_docstring": 3.7681286335,
"feat_loss_with_docstring": 3.9110825062,
"feat_factor": 0.9634490266
} ]
数据集字段
数据集包含以下字段(也称为“特征”):
json { "feat_code": "Value(dtype=string, id=None)", "target": "Value(dtype=string, id=None)", "text": "Value(dtype=string, id=None)", "feat_loss_without_docstring": "Value(dtype=float64, id=None)", "feat_loss_with_docstring": "Value(dtype=float64, id=None)", "feat_factor": "Value(dtype=float64, id=None)" }
数据集分割
数据集分为训练集和验证集。分割大小如下:
| 分割名称 | 样本数量 |
|---|---|
| train | 80 |
| valid | 20 |



