Hi..Can anyone help me resolve the error with following piece of code below? [closed] The Next CEO of Stack Overflow2019 Community Moderator ElectionTrain/Test/Validation Set Splitting in SklearnValue Error: Operands could not be broadcast together with shapes - LSTMHelp with the following error: Variable already exists, disallowed. Did you mean to set reuse=True in VarScope?Getting the following error with my LSTM in RBest model for Machine LearningValueError: operands could not be broadcast together with shapes (60002,39) (38,) during pca.transformNon-linear Support Vector Regression issue - Sklearn Python 3.6What algorithm could be used to fuzzy merge multiple datasets?Can I do the below problem with ML?

Is fine stranded wire ok for main supply line?

How do I fit a non linear curve?

What would be the main consequences for a country leaving the WTO?

How to find image of a complex function with given constraints?

Is it correct to say moon starry nights?

Is it okay to majorly distort historical facts while writing a fiction story?

Do I need to write [sic] when including a quotation with a number less than 10 that isn't written out?

Lucky Feat: How can "more than one creature spend a luck point to influence the outcome of a roll"?

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

Redefining symbol midway through a document

How to get the last not-null value in an ordered column of a huge table?

Purpose of level-shifter with same in and out voltages

Is there a difference between "Fahrstuhl" and "Aufzug"?

"Eavesdropping" vs "Listen in on"

Getting Stale Gas Out of a Gas Tank w/out Dropping the Tank

Towers in the ocean; How deep can they be built?

Inexact numbers as keys in Association?

Is there an equivalent of cd - for cp or mv

Which one is the true statement?

Is dried pee considered dirt?

What steps are necessary to read a Modern SSD in Medieval Europe?

Man transported from Alternate World into ours by a Neutrino Detector

Strange use of "whether ... than ..." in official text

Aggressive Under-Indexing and no data for missing index



Hi..Can anyone help me resolve the error with following piece of code below? [closed]



The Next CEO of Stack Overflow
2019 Community Moderator ElectionTrain/Test/Validation Set Splitting in SklearnValue Error: Operands could not be broadcast together with shapes - LSTMHelp with the following error: Variable already exists, disallowed. Did you mean to set reuse=True in VarScope?Getting the following error with my LSTM in RBest model for Machine LearningValueError: operands could not be broadcast together with shapes (60002,39) (38,) during pca.transformNon-linear Support Vector Regression issue - Sklearn Python 3.6What algorithm could be used to fuzzy merge multiple datasets?Can I do the below problem with ML?










1












$begingroup$


from sklearn.svm import SVR

svr = SVR(kernel = "rbf")

svr.fit(X_train,Y_train)

Y_pred = sc_X.inverse_transform(svr.predict(X_test))


pd.DataFrame(Y_pred, columns = ['Price']).to_excel("Final_Pred.xlsx", index = False)

ValueError: operands could not be broadcast together with shapes (2671,) (12,) (2671,)









share|improve this question











$endgroup$



closed as off-topic by Ethan, Mark.F, Toros91, Simon Larsson, Siong Thye Goh Mar 25 at 12:09


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question does not appear to be about data science, within the scope defined in the help center." – Ethan, Mark.F, Toros91, Simon Larsson, Siong Thye Goh
If this question can be reworded to fit the rules in the help center, please edit the question.




















    1












    $begingroup$


    from sklearn.svm import SVR

    svr = SVR(kernel = "rbf")

    svr.fit(X_train,Y_train)

    Y_pred = sc_X.inverse_transform(svr.predict(X_test))


    pd.DataFrame(Y_pred, columns = ['Price']).to_excel("Final_Pred.xlsx", index = False)

    ValueError: operands could not be broadcast together with shapes (2671,) (12,) (2671,)









    share|improve this question











    $endgroup$



    closed as off-topic by Ethan, Mark.F, Toros91, Simon Larsson, Siong Thye Goh Mar 25 at 12:09


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "This question does not appear to be about data science, within the scope defined in the help center." – Ethan, Mark.F, Toros91, Simon Larsson, Siong Thye Goh
    If this question can be reworded to fit the rules in the help center, please edit the question.


















      1












      1








      1





      $begingroup$


      from sklearn.svm import SVR

      svr = SVR(kernel = "rbf")

      svr.fit(X_train,Y_train)

      Y_pred = sc_X.inverse_transform(svr.predict(X_test))


      pd.DataFrame(Y_pred, columns = ['Price']).to_excel("Final_Pred.xlsx", index = False)

      ValueError: operands could not be broadcast together with shapes (2671,) (12,) (2671,)









      share|improve this question











      $endgroup$




      from sklearn.svm import SVR

      svr = SVR(kernel = "rbf")

      svr.fit(X_train,Y_train)

      Y_pred = sc_X.inverse_transform(svr.predict(X_test))


      pd.DataFrame(Y_pred, columns = ['Price']).to_excel("Final_Pred.xlsx", index = False)

      ValueError: operands could not be broadcast together with shapes (2671,) (12,) (2671,)






      machine-learning machine-learning-model






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 24 at 13:54









      Simon Larsson

      53612




      53612










      asked Mar 24 at 12:06









      Vibhor SrivastavaVibhor Srivastava

      91




      91




      closed as off-topic by Ethan, Mark.F, Toros91, Simon Larsson, Siong Thye Goh Mar 25 at 12:09


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This question does not appear to be about data science, within the scope defined in the help center." – Ethan, Mark.F, Toros91, Simon Larsson, Siong Thye Goh
      If this question can be reworded to fit the rules in the help center, please edit the question.







      closed as off-topic by Ethan, Mark.F, Toros91, Simon Larsson, Siong Thye Goh Mar 25 at 12:09


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This question does not appear to be about data science, within the scope defined in the help center." – Ethan, Mark.F, Toros91, Simon Larsson, Siong Thye Goh
      If this question can be reworded to fit the rules in the help center, please edit the question.




















          0






          active

          oldest

          votes

















          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

          Luettelo Yhdysvaltain laivaston lentotukialuksista Lähteet | Navigointivalikko

          Gary (muusikko) Sisällysluettelo Historia | Rockin' High | Lähteet | Aiheesta muualla | NavigointivalikkoInfobox OKTuomas "Gary" Keskinen Ancaran kitaristiksiProjekti Rockin' High