Laravel 5 Failed opening required bootstrap/../vendor/autoload.php

Published on

bootstrap/../vendor/autoload.php. Failed to open stream: No such file or directory. The “vendor” folder does not exist. Which OS you are using ? For Windows : Go to Command Prompt set path to www/{ur project} For me : www/laravel5 Then type this command : composer install It will automatically install all dependency in vendor/ ————————/OR/—————————- Run … Continue reading Laravel 5 Failed opening required bootstrap/../vendor/autoload.php

How to install a newer version of Python using apt-get?

Published on

How to install a newer version of Python using apt-get? Felix Krull runs a PPA offering basically any version of Python (seriously, there is 2.3.7 build for vivid…) for many Ubuntu releases at https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes. Do the usual: sudo add-apt-repository ppa:fkrull/deadsnakes sudo apt-get update sudo apt-get install python3.5 It will not overwrite your existing python3.4 which … Continue reading How to install a newer version of Python using apt-get?

Basic on Software Testing ppt presentation By Ram Karthick

Published on

Software development is completed (a precise definition of “completed” is required. The test plan has been reviewed, approved and is under document control. A requirements inspection has been performed on the SRS. Design inspections have been performed on the SDDs (Software Design Descriptions) Please find the Below Link for Basic on software Testing: Click Here … Continue reading Basic on Software Testing ppt presentation By Ram Karthick

How to convert categorical data to numerical data in Pyspark

Published on

How to convert categorical data to numerical data in Pyspark This can be done using StringIndexer in PySpark and the reverse using IndexToString for reference please check this: from pyspark.ml.feature import StringIndexer df = sqlContext.createDataFrame( [(0, “a”), (1, “b”), (2, “c”), (3, “a”), (4, “a”), (5, “c”)], [“id”, “category”]) indexer = StringIndexer(inputCol=”category”, outputCol=”categoryIndex”) indexed = … Continue reading How to convert categorical data to numerical data in Pyspark