0

Please help me

Programming Requirements use Python as the programming language and follow the instructions below: A. To load the languages dataset into Python use Pandas; B. Once the dataset is loaded, you might need to Encode the labels, i.e., each label refers to the name of a natural language (Persian, English or German). C. To convert textual data to matrix and vector representation use the follwoing code snippet: from sklearn.pipeline import Pipeline from sklearn.feature_extraction.text import CountVectorizer from sklearn.feature_extraction.text import TfidfTransformer preprocess_pipeline = Pipeline([ ('wordCount', CountVectorizer()), ('countToTfid', TfidfTransformer()), ]) language_matrix = preprocess_pipeline.fit_transform(your_dat aframe_name)

10th Sep 2020, 5:25 PM
Solo_Learn
Solo_Learn - avatar
1 ответ
+ 2
Without see your attempts no-one will help you here . First show your attempt then community will try to help you .
11th Sep 2020, 6:21 AM
A S Raghuvanshi
A S Raghuvanshi - avatar