

"""simple docstring"""




from dataclasses import dataclass, field
from typing import ClassVar, Dict

from ..features import Features, Value
from .base import TaskTemplate
@dataclass(frozen=_lowerCAmelCase       )
class      _UpperCAmelCase   (							_lowerCAmelCase       ):
	# `task` is not a ClassVar since we want it to be part of the `asdict` output for JSON serialization
	a__		: str					=					field(default="summarization"		,    metadata={"include_in_asdict_even_if_is_default": True}       )
	a__		: ClassVar[Features]					=					Features({"text": Value("string"       )}       )
	a__		: ClassVar[Features]					=					Features({"summary": Value("string"       )}       )
	a__		: str					=					"text"
	a__		: str					=					"summary"



	@property
	def        a  (  self     :       Dict						):
		return {self.text_column: "text", self.summary_column: "summary"}

"""simple docstring"""



from collections.abc import Sequence

def  _A(		lowerCAmelCase			,  lowerCAmelCase							):
							return sum(c * (x**i) for i, c in enumerate(lowerCAmelCase							)							)

def  _A(		lowerCAmelCase			,  lowerCAmelCase							):
							A__       :     str								=			0.0
							for coeff in reversed(lowerCAmelCase							):
														A__       :     Optional[int]								=			result * x + coeff
							return result


if __name__ == "__main__":
				_UpperCamelCase								=		(0.0, 0.0, 5.0, 9.3, 7.0)
				_UpperCamelCase								=		10.0
				print(evaluate_poly(poly, x))
				print(horner(poly, x))





