Git Product home page Git Product logo

ai-playground's People

Contributors

mklarqvist 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ai-playground's Issues

found error in your introduction-to-automatic-differentiation.html

def f(x, a, c):
return np.power((np.power(x,3.)a + xca) / (xVariable(4,0)), 4) *
np.sin(xa)/np.power(xa,5) - np.cos(x*c) <==== your code has 5

Differentiate with respect to x

by setting gradient of x to 1 and others to 0

x, a, c = Variable(10, 1), Variable(2, 0), Variable(1.5, 0)
ret = f(x,a,c)
print("Differentiate with respect to x ",ret)
Variable(f=2.652201219184028, d=28710.98684562215) <==== your code with 5 what??????

def f(x, a, c):
return np.power((np.power(x,3.)a + xca) / (xVariable(4,0)), 4) *
np.sin(xa)/np.power(xa,5.) - np.cos(x*c) <==== corrected code with 5.

Differentiate with respect to x

by setting gradient of x to 1 and others to 0

x, a, c = Variable(10, 1), Variable(2, 0), Variable(1.5, 0)
ret = f(x,a,c)
print("Differentiate with respect to x ",ret)
Variable(f=2.652201219184028, d=3.2126995936768443) <==== results of corrected code with 5.

Python version 3.9.13
Windows 10
numpy version 1.26.0

THank you again for uploading your essays and codes.

End-to-end introduction to machine learning using linear regression

Hi,
This is the only place I found I could ask that you update the above referenced page at mdrk.io Can you update and add values for fit2[1] and fit2[0].

predictions_manual = x2[:,1] * fit2[1] + fit2[0]

I realize its to be a manual entry?

Still I am not geting your results for the table of epoch, beta, b, loss

Perhaps you could upload your code along with code from articles on intro to automatic differentiation to your github page?

As a side note. You have all these additional graphs that do not have any code to plot them.....

Anyway thanks for your articles.

Chromadb error

When I run :
docsearch = Chroma.from_documents(texts, embeddings)

I get this error:
AttributeError Traceback (most recent call last)

in <cell line: 1>()
----> 1 docsearch = Chroma.from_documents(texts, embeddings)

1 frames

/usr/local/lib/python3.10/dist-packages/langchain/vectorstores/chroma.py in (.0)
442 Chroma: Chroma vectorstore.
443 """
--> 444 texts = [doc.page_content for doc in documents]
445 metadatas = [doc.metadata for doc in documents]
446 return cls.from_texts(

AttributeError: 'str' object has no attribute 'page_content'

And I did run every cell before it not sure what is the issue?

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.