Giter Site home page Giter Site logo

youtube's Introduction

youtube

Contains Notebooks for my Youtube channel Videos.

youtube's People

Contributors

wiqaaas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

youtube's Issues

only why you calculating differently intercept for Ridge_Regression_using_Gradient_Descent

I'm getting an error using example_ANFIS.py

484 RMSE is: 0.20023371637733992
485 RMSE is: 0.20023371637733992
486 RMSE is: 0.20023371637733992
487 RMSE is: 0.20023371637733992

...499 RMSE is: 0.20023371637733992

After running the file, I'm getting the following:

ValueError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_9540\3618313043.py in ?()
8 bestParam, bestModel = E_Anfis.fit(X_train,y_train,X_test,y_test,optimize_test_data=True)
9
10 from scipy.stats import pearsonr
11 pred_train = E_Anfis.predict(X_train,bestParam,bestModel)
---> 12 pearsonr(y_train,pred_train.reshape(-1,1))
13
14 pred_test = E_Anfis.predict(X_test,bestParam,bestModel)
15 pearsonr(y_test,pred_test.reshape(-1,1))

c:\Users\dabis\AppData\Local\Programs\Python\Python312\Lib\site-packages\scipy\stats_stats_py.py in ?(x, y, alternative, method)
4804 msg = ("An input array is nearly constant; the computed "
4805 "correlation coefficient may be inaccurate.")
4806 warnings.warn(stats.NearConstantInputWarning(msg), stacklevel=2)
4807
-> 4808 r = np.dot(xm/normxm, ym/normym)
4809
4810 # Presumably, if abs(r) > 1, then it is only some small artifact of
4811 # floating point arithmetic.

ValueError: shapes (376,1) and (376,1) not aligned: 1 (dim 1) != 376 (dim 0)

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.