Coder Social home page Coder Social logo

Comments (3)

marcolongfils avatar marcolongfils commented on May 12, 2024

Hi Wanyi,

We currently support only local installation of the library in Linux (not on MacOs). In the meantime, you can use the Trimmed Match library in a Jupyter notebook, e.g. through Colaboratory, where you can install the library in the runtime (either locally or in the cloud) using

BAZEL_VERSION = '3.0.0'
!wget https://github.com/bazelbuild/bazel/releases/download/{BAZEL_VERSION}/bazel-{BAZEL_VERSION}-installer-linux-x86_64.sh
!chmod +x bazel-{BAZEL_VERSION}-installer-linux-x86_64.sh
!./bazel-{BAZEL_VERSION}-installer-linux-x86_64.sh
!sudo apt-get install python3-dev python3-setuptools git
!git clone https://github.com/google/trimmed_match
!python3 -m pip install ./trimmed_match

and then you can import as always, e.g.

from trimmed_match.post_analysis import trimmed_match_post_analysis

You can have a look at the example notebooks in the subfolder "notebook" for an way to use the library to design and analyse a geo experiment.

I'm closing the issue for now, but let me know if you have further problems.

Regards,
Marco

from trimmed_match.

adiellm avatar adiellm commented on May 12, 2024

I'm interested in using this on mac OS as well. Could we very useful, Thanks!

from trimmed_match.

marcolongfils avatar marcolongfils commented on May 12, 2024

Hi,

Thanks for the interest in the Trimmed Match library. Currently, we don't have any plans to support installation on either Windows or MacOS in the near future. I think you could try using a virtual machine with Linux on your Mac or follow the instructions in my above comment.

from trimmed_match.

Related Issues (3)

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.