资源算法allennlp-sklearn

allennlp-sklearn

2020-04-08 | |  43 |   0 |   0

allennlp-sklearn

Use scikit-learn models with AllenNLP.

Components

  • SklearnEstimator: a base class for scikit-learn estimators to be used with AllenNLP. There are a few subclasses for now: DummyClassifierEstimatorSvcEstimatorPipelineEstimator, and StandardScalerTransformerEstimator; corresponding to DummyClassifierSVCPipeline, and StandardScaler from scikit-learn. Feel free to add more as it's likely just little code.

  • SklearnTrainer: train a model that uses a SklearnEstimator.

Optional:

  • SklearnModel: a simple class that contains a SklearnEstimator. You can choose to implement your own if it doesn't satisfy your needs.

  • SklearnBatchSampler: a convenient batch sampler that grabs all items from the dataset together, so there's only one big batch.


上一篇:allennlp-runmodel

下一篇:claimrank-allennlp

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...