Giter Site home page Giter Site logo

coordinator-task-1's Introduction

Coordinator-Task-1

Git Tasks:

  • Fork and clone this Github repository.
  • Create a new branch and set its name to your “Name”.
  • Create a folder named "Name" (or Handle) in which you have all the contents of whatever submission you wanna make (solutions to question 1 and 2).
  • Merge your branch with the master branch.
  • Pull origin & add files, commit and push to fork.
  • Create pull request on main repo
  • Create Issue

Resources for Getting Started with Git:

There’s 2 questions in the task to help you get comfortable with python, do try both of them out.

Python Tasks:

  • Create two vectors 𝑦 and 𝑦̂ having the same dimensions, where 𝑦̂ should consist of random numbers between [0,1) and 𝑦 should contain 0𝑠 and 1𝑠, for example, 𝑦=[0,1,1,0,1,0,0,1,...,1]. Compute the given expression:

    loss

    Where n = 100, is the total number of elements in y and 𝑦̂

    Note: The expression O, which you have computed is actually a Cross-Entropy loss function used in machine learning for classification tasks which tells us how bad or good the model is performing, if O is large then the model is performing worst and vice versa.

  • Write a Python class to find a pair of elements (indices of the two numbers) from a given array whose sum equals a specific target number. Note: There will be multiple solutions, so create a dictionary where the keys represent just [S.No] (1,2,3,4.....) and the value corresponding to the key represents the indices of the two numbers

    For example:

    Input: numbers= [10,20,10,40,50,60,70], target=50

    Output: {1: [0, 3], 2: [2, 3], 3: [3, 0], 4: [3, 2]}

coordinator-task-1's People

Contributors

aquantumreality avatar shiva-suryaiitm avatar xerefic avatar

Stargazers

Alex Joseph Pius avatar

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.